From 5a74ff63f47921f97b6c3c35751b24b085a1a78c Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期五, 26 一月 2024 10:51:14 +0800
Subject: [PATCH] Merge branch 'master' of http://117.34.109.166:18448/r/vue_mdc_430 into develop

---
 src/views/mdc/base/EquipmentOperationParamsAlarm.vue |  107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 107 insertions(+), 0 deletions(-)

diff --git a/src/views/mdc/base/EquipmentOperationParamsAlarm.vue b/src/views/mdc/base/EquipmentOperationParamsAlarm.vue
new file mode 100644
index 0000000..2c37b68
--- /dev/null
+++ b/src/views/mdc/base/EquipmentOperationParamsAlarm.vue
@@ -0,0 +1,107 @@
+<template>
+  <a-card :bordered="false">
+    <!-- 鏌ヨ鍖哄煙 -->
+    <div class="table-page-search-wrapper">
+      <a-form layout="inline" @keyup.enter.native="searchQuery">
+        <a-row :gutter="24">
+          <a-col :md="6" :sm="12">
+            <a-form-item label="璁惧缂栧彿">
+              <a-input placeholder="璇疯緭鍏ヨ澶囩紪鍙�" v-model="queryParam.equipmentid"></a-input>
+            </a-form-item>
+          </a-col>
+
+          <a-col :md="6" :sm="8">
+            <a-button type="primary" @click="searchQuery" icon="search">鏌ヨ</a-button>
+            <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">閲嶇疆</a-button>
+          </a-col>
+        </a-row>
+      </a-form>
+    </div>
+
+    <a-table
+      ref="table"
+      bordered
+      size="middle"
+      rowKey="equipmentid"
+      :scroll="{x:'max-content',y:600}"
+      :columns="columns"
+      :dataSource="dataSource"
+      :pagination="ipagination"
+      :loading="loading"></a-table>
+  </a-card>
+</template>
+
+<script>
+  import { JeecgListMixin } from '@/mixins/JeecgListMixin'
+
+  export default {
+    name: 'EquipmentOperationParamsAlarm',
+    mixins: [JeecgListMixin],
+    data() {
+      return {
+        name: 'EquipmentOperationParamsAlarm',
+        description: '杩欐槸璁惧杩愯鍙傛暟鎶ヨ椤甸潰',
+        queryParam: {},
+        columns: [
+          {
+            title: '#',
+            dataIndex: '',
+            key: 'rowIndex',
+            width: 60,
+            align: 'center',
+            customRender: function(t, r, index) {
+              return parseInt(index) + 1
+            }
+          },
+          {
+            title: '璁惧缂栧彿',
+            align: 'center',
+            dataIndex: 'equipmentid',
+            width: 250
+          },
+          {
+            title: '鎶ヨ鏃堕棿',
+            align: 'center',
+            dataIndex: 'collecttime',
+            width: 250
+          },
+          {
+            title: '璁惧畾鍊�',
+            align: 'center',
+            width: 250,
+            dataIndex: 'setvalue'
+          },
+          {
+            title: '瀹為檯鍊�',
+            align: 'center',
+            width: 250,
+            dataIndex: 'realvalue'
+          },
+          {
+            title: '鎶ヨ鍙�',
+            align: 'center',
+            width: 250,
+            dataIndex: 'alarmno'
+          },
+          {
+            title: '鎶ヨ鍐呭',
+            align: 'center',
+            width: 250,
+            dataIndex: 'alarmcontent'
+          }
+        ],
+        url: {
+          list: '/mdc/equipmentBeilvAlarm/list'
+        },
+        /* 鎺掑簭鍙傛暟 */
+        isorter: {
+          column: 'collecttime',
+          order: 'desc'
+        }
+      }
+    }
+  }
+</script>
+<style scoped>
+  @import '~@assets/less/common.less'
+</style>
\ No newline at end of file

--
Gitblit v1.9.3