whyczyk
2022-02-28 8a239691ae0eb8cf2e61011658deb5c707c1f6e8
src/pages/monitoring/real-monitoring.vue
@@ -102,8 +102,8 @@
         <div class="card">
            <div class="commonTitle cardTitle">数据表格</div>
            <div class="listCon">
               <el-table stripe size="small" :data="table.datas" height="100%" :row-class-name="setTableRowClass">
                  <el-table-column v-for="header in dataHeaders" :key="header.prop" :prop="header.prop" :label="header.label" :width="header.width" align="center" :fixed="header.fixed"></el-table-column>
               <el-table stripe size="small" :data="table.datas" height="100%" :row-class-name="setTableRowClass" v-if="table.show">
                  <el-table-column v-for="header in dataHeaders" :key="header.prop" :prop="header.prop" :label="header.label" :width="header.width" :fixed="header.fixed" align="center"></el-table-column>
               </el-table>
            </div>
@@ -249,7 +249,7 @@
                  label: "单体编号",
                  width: "",
                  key1: "",
                  fixed: 'left',
                  fixed: true
               },
               {
                  prop: "vol1",
@@ -305,6 +305,7 @@
                  leakVol1: 0,
               },
            ],
            show: false
         },
         pageConfig: pageConfig,
         diagram: {
@@ -466,6 +467,7 @@
         this.batt = data;
         this.realTimeAlarmss();
         this.table.headers = getTblHeader(data.FBSDeviceId);
         this.table.show = false;
         // 开启循环请求
         this.startTimer();
      },
@@ -583,6 +585,7 @@
      /* echars图表 */
      realTimeSearch() {
         var batt = this.batt;
         realTimeSearch({
            BattGroupId: batt.BattGroupId
         }).then(res => {
@@ -612,6 +615,7 @@
            }
            // 更新表格
            this.table.datas = data;
            this.table.show = true;
            // 电压值
            let volTempVol = [];
            if (rs.code == 1) {