Просмотр исходного кода

优化实时监测页面布局

dylan 2 лет назад
Родитель
Сommit
6e9bfc58af
1 измененных файлов с 8 добавлено и 7 удалено
  1. 8 7
      src/views/business/monitor/waterflowrate/index.vue

+ 8 - 7
src/views/business/monitor/waterflowrate/index.vue

@@ -1,6 +1,6 @@
 <!--
  * @Title: 
- * @Description:  管理工作台模块
+ * @Description:  实时数据监测
  * @Author: swp
  * @Date: 2022-08-24 10:49:21
  * @LastEditors: 
@@ -39,7 +39,7 @@
                             <div v-else-if="row.row.runStatusId == 1"
                                 style="color: red;cursor:pointer;text-decoration-line: underline;"
                                 @click="openWarningInfo(row.row)">
-                                设备异常
+                                异常
                             </div>
                             <div v-else>
 
@@ -147,7 +147,7 @@ export default {
                         label: "监测点状态",
                         prop: "runStatusId",
                         span: 24,
-                        width: 120,
+                        width: 110,
                         viewDisplay: false,
                     },
                     {
@@ -155,6 +155,7 @@ export default {
                         prop: "mpcd",
                         span: 24,
                         search: true,
+                        width: 130,
                     },
                     {
                         label: "监测点名称",
@@ -166,7 +167,7 @@ export default {
                         label: "上次报文时间",
                         prop: "tm",
                         span: 24,
-                        width: 160,
+                        width: 150,
                         sortable: 'custom',
                     },
                     {
@@ -259,16 +260,19 @@ export default {
                         label: "瞬时流量",
                         prop: "mpq",
                         span: 24,
+                        width: 120,
                     },
                     {
                         label: "累计流量",
                         prop: "accw",
                         span: 24,
+                        width: 120,
                     },
                     {
                         label: "上小时累计流量",
                         prop: "hourw",
                         span: 24,
+                        width: 140,
                     },
                 ],
             },
@@ -322,9 +326,6 @@ export default {
             this.page.currentPage = 1;
             var params = {};
             this.onLoad(this.page, params);
-        },
-        openWarningInfo(row){
-
         },
         sortChange(val) {
             console.log(JSON.stringify(val))