Procházet zdrojové kódy

预警管控束管下拉添加,首页火灾瓦斯修改-提交

lxh před 5 měsíci
rodič
revize
245d57ed1d

+ 95 - 47
src/views/vent/monitorManager/alarmMonitor/common/closeWall.vue

@@ -3,20 +3,26 @@
     <div class="title">
       <div class="box-container">
         <div class="contents">
-          <img src="../../../../../assets/images/fire/pie.png" alt="" />
-          <span class="text">{{ topContent.temperature }}</span>
-          <span class="dw">°C</span>
-        </div>
-        <div class="contents">
           <div class="text">
-            <span class="text-label">位置 : </span>
-            <span class="text-value">{{ topContent.position }}</span>
+            <div class="text-label">位置: </div>
+            <!-- <div class="text-value">{{ topContent.position }}</div> -->
+            <div class="text-value">
+              <a-select v-model:value="selectData" style="width: 360px" @change="changeSelect">
+                <a-select-option v-for="file in selectList" :key="file.label" :value="file.value">{{ file.label
+                  }}</a-select-option>
+              </a-select>
+            </div>
           </div>
           <div class="text">
             <span class="text-label">时间 : </span>
             <span class="text-value">{{ topContent.time }}</span>
           </div>
         </div>
+        <div class="contents">
+          <img src="../../../../../assets/images/fire/pie.png" alt="" />
+          <span class="text">{{ topContent.temperature }}</span>
+          <span class="dw">°C</span>
+        </div>
       </div>
       <div class="box-container">
         <div class="text1">
@@ -86,6 +92,10 @@ import warnZb from './warnZb.vue'
 let props = defineProps({
   listData: Object,
 });
+
+let selectSj = ref<any[]>([])
+let selectData = ref('')
+let selectList = reactive<any[]>([])
 let widthV = ref('75%')
 let heightV = ref('80%')
 let coordDw = ref<any[]>([47, 95])
@@ -99,7 +109,7 @@ let topContent = reactive({
   position: '',
   time: '',
   warnLevel: '',
-  smokeJd:'',
+  smokeJd: '',
 });
 //密闭参数列表
 let mbList = reactive([
@@ -227,6 +237,26 @@ function btnClick(item, ind) {
   }
 }
 
+function changeSelect(val) {
+  selectData.value = val
+  let data = selectSj.value.filter(v => v.strinstallpos == selectData.value)[0]
+  topContent.time = data.readTime || '--';
+  topContent.warnLevel = data.syswarnLevel_str
+  topContent.smokeJd = data.syswarnLevel_des
+
+  mbList[0].nd = data.readData.o2val || '--';
+  mbList[1].nd = data.readData.coval || '--';
+  mbList[2].nd = data.readData.co2val || '--';
+  mbList[3].nd = data.readData.chval || '--';
+  mbList[4].nd = data.readData.ch2val || '--';
+  mbList[5].nd = data.readData.gasval || '--';
+  mbList.forEach((el) => {
+    el.time1 = data ? data.readTime.substring(0, data.readTime.lastIndexOf(':')) : '--';
+    el.address = data ? data.strinstallpos : '--';
+  });
+  netStatus.value = data['netStatus']
+}
+
 watch(
   () => props.listData,
   (val) => {
@@ -234,26 +264,33 @@ watch(
     echartDataSg1.xData.length = 0;
     echartDataSg1.yData.length = 0;
     echartDataSgList.length = 0;
+    selectList.length = 0
     if (JSON.stringify(val) != '{}') {
       if (val.bundletube.length != 0) {
+        selectSj.value = val.bundletube
+        selectSj.value.forEach(el => {
+          selectList.push({ label: el.strinstallpos, value: el.strinstallpos })
+        })
+        selectData.value = selectData.value ? selectData.value : selectList[0].value
+        let dataVal = selectData.value ? selectSj.value.filter(v => v.strinstallpos == selectData.value)[0] : selectSj.value[0];
         topContent.temperature = val.temperature[0] ? val.temperature[0].readData.temperature : '--';
-        topContent.position = val.bundletube[0].strinstallpos || '--';
-        topContent.time = val.bundletube[0].readTime || '--';
-        topContent.warnLevel = val.bundletube[0].syswarnLevel_str
-        topContent.smokeJd = val.bundletube[0].syswarnLevel_des
-
-        mbList[0].nd = val.bundletube[0].readData.o2val || '--';
-        mbList[1].nd = val.bundletube[0].readData.coval || '--';
-        mbList[2].nd = val.bundletube[0].readData.co2val || '--';
-        mbList[3].nd = val.bundletube[0].readData.chval || '--';
-        mbList[4].nd = val.bundletube[0].readData.ch2val || '--';
-        mbList[5].nd = val.bundletube[0].readData.gasval || '--';
+        // topContent.position = dataVal.strinstallpos || '--';
+        topContent.time = dataVal.readTime || '--';
+        topContent.warnLevel = dataVal.syswarnLevel_str
+        topContent.smokeJd = dataVal.syswarnLevel_des
+
+        mbList[0].nd = dataVal.readData.o2val || '--';
+        mbList[1].nd = dataVal.readData.coval || '--';
+        mbList[2].nd = dataVal.readData.co2val || '--';
+        mbList[3].nd = dataVal.readData.chval || '--';
+        mbList[4].nd = dataVal.readData.ch2val || '--';
+        mbList[5].nd = dataVal.readData.gasval || '--';
         mbList.forEach((el) => {
-          el.time1 = val.bundletube[0] ? val.bundletube[0].readTime.substring(0, val.bundletube[0].readTime.lastIndexOf(':')) : '--';
-          el.address = val.bundletube[0] ? val.bundletube[0].strinstallpos : '--';
+          el.time1 = dataVal ? dataVal.readTime.substring(0, dataVal.readTime.lastIndexOf(':')) : '--';
+          el.address = dataVal ? dataVal.strinstallpos : '--';
         });
-        netStatus.value = val.bundletube[0]['netStatus']
-        val.bundletube[0].history.forEach((v) => {
+        netStatus.value = dataVal['netStatus']
+        dataVal.history.forEach((v) => {
           echartDataSg1.xData.push(v.time);
           if (echartDataSg1.lengedData == 'O₂') {
             echartDataSg1.yData.push(v.o2val);
@@ -272,10 +309,10 @@ watch(
         });
       } else {
         topContent.temperature = 0;
-        topContent.position = '--';
+        // topContent.position = '--';
         topContent.time = '--';
         topContent.warnLevel = '--';
-        topContent.smokeJd='--'
+        topContent.smokeJd = '--'
         mbList[0].nd = '--';
         mbList[1].nd = '--';
         mbList[2].nd = '--';
@@ -337,6 +374,30 @@ watch(
         &:nth-child(1) {
           width: 40%;
           display: flex;
+          flex-direction: column;
+          justify-content: space-around;
+
+          .text {
+            font-size: 14px;
+            display: flex;
+            align-items: center;
+
+            .text-label {
+              color: #b3b8cc;
+              font-weight: bold;
+            }
+
+            .text-value {
+              font-family: 'douyuFont';
+              color: #3df6ff;
+              margin-left: 10px;
+            }
+          }
+        }
+
+        &:nth-child(2) {
+          width: 40%;
+          display: flex;
           justify-content: center;
           align-items: center;
 
@@ -360,28 +421,6 @@ watch(
             color: #b3b8cc;
           }
         }
-
-        &:nth-child(2) {
-          width: 60%;
-          display: flex;
-          flex-direction: column;
-          justify-content: space-around;
-
-          .text {
-            font-size: 14px;
-
-            .text-label {
-              color: #b3b8cc;
-              font-weight: bold;
-            }
-
-            .text-value {
-              font-family: 'douyuFont';
-              color: #3df6ff;
-              margin-left: 10px;
-            }
-          }
-        }
       }
 
       .text1 {
@@ -620,4 +659,13 @@ watch(
     }
   }
 }
+
+:deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
+  border: 1px solid #3ad8ff77 !important;
+  background-color: #ffffff00 !important;
+}
+
+:deep(.zxm-select-selection-item) {
+  color: #fff !important;
+}
 </style>

+ 388 - 346
src/views/vent/monitorManager/alarmMonitor/common/fireWork.vue

@@ -35,6 +35,12 @@
     <div class="bot-content">
       <div class="title">
         <div class="text">束管系统监测</div>
+        <div class="select-box">
+          <a-select v-model:value="selectData" style="width: 250px" @change="changeSelect">
+            <a-select-option v-for="file in selectList" :key="file.label" :value="file.value">{{ file.label
+              }}</a-select-option>
+          </a-select>
+        </div>
       </div>
       <div class="content">
         <div class="content-box" v-for="(item, index) in contentList" :key="index">
@@ -62,419 +68,455 @@
 </template>
 
 <script lang="ts" setup>
-  import { onMounted, ref, reactive, watch, defineProps } from 'vue';
-  import imgUrl from '../../../../../assets/images/fire/pie.png';
-  import echartLine from './echartLine.vue';
-  import echartLine1 from './echartLine1.vue';
-  import { topList, contentList } from '../common.data';
-
-  let props = defineProps({
-    listData: Object,
-  });
-
-  let maxY = ref(2000);
-  let echartDw = ref('(­°C)');
-  //光钎测温-图表数据
-  let echartDataGq = reactive({
-    maxData: {
-      lengedData: '当前温度',
-      data: [],
-    },
-    xData: [],
-  });
-  //束管监测-图表数据
-  let echartDataSg = reactive({
-    xData: [],
-    yData: [],
-    lengedData: 'O₂',
-    lengedDataName: '(%)',
+import { onMounted, ref, reactive, watch, defineProps } from 'vue';
+import imgUrl from '../../../../../assets/images/fire/pie.png';
+import echartLine from './echartLine.vue';
+import echartLine1 from './echartLine1.vue';
+import { topList, contentList } from '../common.data';
+
+let props = defineProps({
+  listData: Object,
+});
+
+let selectSj = ref<any[]>([])
+let selectData = ref('')
+let selectList = reactive<any[]>([])
+let maxY = ref(2000);
+let echartDw = ref('(­°C)');
+//光钎测温-图表数据
+let echartDataGq = reactive({
+  maxData: {
+    lengedData: '当前温度',
+    data: [],
+  },
+  xData: [],
+});
+//束管监测-图表数据
+let echartDataSg = reactive({
+  xData: [],
+  yData: [],
+  lengedData: 'O₂',
+  lengedDataName: '(%)',
+});
+let echartDataSgList = reactive<any[]>([]);
+//束管实时数据选项点击
+function getSgClick(items) {
+  echartDataSg.xData.length = 0;
+  echartDataSg.yData.length = 0;
+  echartDataSg.lengedData = items.title;
+  echartDataSg.lengedDataName = items.dw;
+
+  switch (items.title) {
+    case 'O₂':
+      echartDataSgList.forEach((el) => {
+        echartDataSg.xData.push(el.time);
+        echartDataSg.yData.push(el.o2val);
+      });
+      break;
+    case 'C₂H₄':
+      echartDataSgList.forEach((el) => {
+        echartDataSg.xData.push(el.time);
+        echartDataSg.yData.push(el.ch2val);
+      });
+      break;
+    case 'CO':
+      echartDataSgList.forEach((el) => {
+        echartDataSg.xData.push(el.time);
+        echartDataSg.yData.push(el.coval);
+      });
+      break;
+    case 'CH₄':
+      echartDataSgList.forEach((el) => {
+        echartDataSg.xData.push(el.time);
+        echartDataSg.yData.push(el.chval);
+      });
+      break;
+    case 'CO₂':
+      echartDataSgList.forEach((el) => {
+        echartDataSg.xData.push(el.time);
+        echartDataSg.yData.push(el.co2val);
+      });
+      break;
+    case 'C₂H₂':
+      echartDataSgList.forEach((el) => {
+        echartDataSg.xData.push(el.time);
+        echartDataSg.yData.push(el.gasval);
+      });
+      break;
+  }
+}
+function changeSelect(val) {
+  selectData.value = val
+  let data = selectSj.value.filter(v => v.strinstallpos == selectData.value)[0]
+  contentList[0].list[0].value = data.readData.o2val;
+  contentList[0].list[1].value = data.readData.ch2val;
+  contentList[1].list[0].value = data.readData.coval;
+  contentList[1].list[1].value = data.readData.chval;
+  contentList[2].list[0].value = data.readData.co2val;
+  contentList[2].list[1].value = data.readData.gasval;
+  contentList.forEach((el) => {
+    el.list.forEach((v) => {
+      v.time = data.readTime.substring(0, data.readTime.lastIndexOf(':'));
+    });
   });
-  let echartDataSgList = reactive<any[]>([]);
-  //束管实时数据选项点击
-  function getSgClick(items) {
+}
+
+watch(
+  () => props.listData,
+  (val, val1) => {
+    echartDataGq.xData.length = 0;
+    echartDataGq.maxData.data.length = 0;
+    echartDataSgList.length = 0;
     echartDataSg.xData.length = 0;
     echartDataSg.yData.length = 0;
-    echartDataSg.lengedData = items.title;
-    echartDataSg.lengedDataName = items.dw;
-
-    switch (items.title) {
-      case 'O₂':
-        echartDataSgList.forEach((el) => {
-          echartDataSg.xData.push(el.time);
-          echartDataSg.yData.push(el.o2val);
+    selectList.length = 0
+    if (JSON.stringify(val) != '{}') {
+      if (val.fiber.length != 0) {
+        topList[0].value = val.fiber[0].readData.fmax;
+        topList[1].value = val.fiber[0].readData.fmin;
+        topList[2].value = val.fiber[0].readData.favg;
+        topList[3].text = val.fiber[0].warnFlag ? '报警' : '正常';
+        JSON.parse(val.fiber[0].readData.fibreTemperature).forEach((el) => {
+          echartDataGq.xData.push(el.pos);
+          echartDataGq.maxData.data.push(el.value);
         });
-        break;
-      case 'C₂H₄':
-        echartDataSgList.forEach((el) => {
-          echartDataSg.xData.push(el.time);
-          echartDataSg.yData.push(el.ch2val);
-        });
-        break;
-      case 'CO':
-        echartDataSgList.forEach((el) => {
-          echartDataSg.xData.push(el.time);
-          echartDataSg.yData.push(el.coval);
-        });
-        break;
-      case 'CH₄':
-        echartDataSgList.forEach((el) => {
-          echartDataSg.xData.push(el.time);
-          echartDataSg.yData.push(el.chval);
-        });
-        break;
-      case 'CO₂':
-        echartDataSgList.forEach((el) => {
-          echartDataSg.xData.push(el.time);
-          echartDataSg.yData.push(el.co2val);
-        });
-        break;
-      case 'C₂H₂':
-        echartDataSgList.forEach((el) => {
-          echartDataSg.xData.push(el.time);
-          echartDataSg.yData.push(el.gasval);
-        });
-        break;
-    }
-  }
-
-  watch(
-    () => props.listData,
-    (val, val1) => {
-      echartDataGq.xData.length = 0;
-      echartDataGq.maxData.data.length = 0;
-      echartDataSgList.length = 0;
-      echartDataSg.xData.length = 0;
-      echartDataSg.yData.length = 0;
-      if (JSON.stringify(val) != '{}') {
-        if (val.fiber.length != 0) {
-          topList[0].value = val.fiber[0].readData.fmax;
-          topList[1].value = val.fiber[0].readData.fmin;
-          topList[2].value = val.fiber[0].readData.favg;
-          topList[3].text = val.fiber[0].warnFlag ? '报警' : '正常';
-          JSON.parse(val.fiber[0].readData.fibreTemperature).forEach((el) => {
-            echartDataGq.xData.push(el.pos);
-            echartDataGq.maxData.data.push(el.value);
-          });
-        } else {
-          topList[0].value = '--';
-          topList[1].value = '--';
-          topList[2].value = '--';
-          topList[3].text = '正常';
-        }
+      } else {
+        topList[0].value = '--';
+        topList[1].value = '--';
+        topList[2].value = '--';
+        topList[3].text = '正常';
+      }
 
-        if (val.bundletube.length != 0) {
-          contentList[0].list[0].value = val.bundletube[0].readData.o2val;
-          contentList[0].list[1].value = val.bundletube[0].readData.ch2val;
-          contentList[1].list[0].value = val.bundletube[0].readData.coval;
-          contentList[1].list[1].value = val.bundletube[0].readData.chval;
-          contentList[2].list[0].value = val.bundletube[0].readData.co2val;
-          contentList[2].list[1].value = val.bundletube[0].readData.gasval;
-          contentList.forEach((el) => {
-            el.list.forEach((v) => {
-              v.time = val.bundletube[0].readTime.substring(0, val.bundletube[0].readTime.lastIndexOf(':'));
-            });
+      if (val.bundletube.length != 0) {
+        selectSj.value = val.bundletube
+        selectSj.value.forEach(el => {
+          selectList.push({ label: el.strinstallpos, value: el.strinstallpos })
+        })
+        selectData.value=  selectData.value ?  selectData.value : selectList[0].value
+        let dataVal = selectData.value ? selectSj.value.filter(v => v.strinstallpos == selectData.value)[0] : selectSj.value[0];
+        contentList[0].list[0].value = dataVal.readData.o2val;
+        contentList[0].list[1].value = dataVal.readData.ch2val;
+        contentList[1].list[0].value = dataVal.readData.coval;
+        contentList[1].list[1].value = dataVal.readData.chval;
+        contentList[2].list[0].value = dataVal.readData.co2val;
+        contentList[2].list[1].value = dataVal.readData.gasval;
+        contentList.forEach((el) => {
+          el.list.forEach((v) => {
+            v.time = dataVal.readTime.substring(0, dataVal.readTime.lastIndexOf(':'));
           });
+        });
 
-          val.bundletube[0].history.forEach((el) => {
-            echartDataSg.xData.push(el.time);
-            if (echartDataSg.lengedData == 'O₂') {
-              echartDataSg.yData.push(el.o2val);
-            } else if (echartDataSg.lengedData == 'C₂H₄') {
-              echartDataSg.yData.push(el.ch2val);
-            } else if (echartDataSg.lengedData == 'C₂H₂') {
-              echartDataSg.yData.push(el.gasval);
-            } else if (echartDataSg.lengedData == 'CH₄') {
-              echartDataSg.yData.push(el.chval);
-            } else if (echartDataSg.lengedData == 'CO') {
-              echartDataSg.yData.push(el.coval);
-            } else if (echartDataSg.lengedData == 'CO₂') {
-              echartDataSg.yData.push(el.co2val);
-            }
-            echartDataSgList.push(el);
-          });
-        } else {
-          contentList[0].list[0].value = '--';
-          contentList[0].list[1].value = '--';
-          contentList[1].list[0].value = '--';
-          contentList[1].list[1].value = '--';
-          contentList[2].list[0].value = '--';
-          contentList[2].list[1].value = '--';
-          contentList.forEach((el) => {
-            el.list.forEach((v) => {
-              v.time = '--';
-            });
+        dataVal.history.forEach((el) => {
+          echartDataSg.xData.push(el.time);
+          if (echartDataSg.lengedData == 'O₂') {
+            echartDataSg.yData.push(el.o2val);
+          } else if (echartDataSg.lengedData == 'C₂H₄') {
+            echartDataSg.yData.push(el.ch2val);
+          } else if (echartDataSg.lengedData == 'C₂H₂') {
+            echartDataSg.yData.push(el.gasval);
+          } else if (echartDataSg.lengedData == 'CH₄') {
+            echartDataSg.yData.push(el.chval);
+          } else if (echartDataSg.lengedData == 'CO') {
+            echartDataSg.yData.push(el.coval);
+          } else if (echartDataSg.lengedData == 'CO₂') {
+            echartDataSg.yData.push(el.co2val);
+          }
+          echartDataSgList.push(el);
+        });
+      } else {
+        contentList[0].list[0].value = '--';
+        contentList[0].list[1].value = '--';
+        contentList[1].list[0].value = '--';
+        contentList[1].list[1].value = '--';
+        contentList[2].list[0].value = '--';
+        contentList[2].list[1].value = '--';
+        contentList.forEach((el) => {
+          el.list.forEach((v) => {
+            v.time = '--';
           });
-        }
+        });
       }
-    },
-    { deep: true }
-  );
+    }
+  },
+  { deep: true }
+);
 </script>
 
 <style lang="less" scoped>
-  .fireWork {
+.fireWork {
+  width: 100%;
+  height: 100%;
+  padding: 20px;
+  box-sizing: border-box;
+
+  .work-nav {
+    height: 15%;
     width: 100%;
-    height: 100%;
-    padding: 20px;
-    box-sizing: border-box;
-
-    .work-nav {
-      height: 15%;
-      width: 100%;
-      margin-bottom: 20px;
-      background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
-      background-size: 100% 100%;
+    margin-bottom: 20px;
+    background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
+    background-size: 100% 100%;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
+
+    .nav {
       display: flex;
-      justify-content: space-between;
+      justify-content: center;
       align-items: center;
 
-      .nav {
-        display: flex;
-        justify-content: center;
-        align-items: center;
-
-        &:nth-child(1) {
-          flex: 1;
-          height: 100%;
-          border-right: 2px solid;
-          border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
-        }
-
-        &:nth-child(2) {
-          flex: 1;
-          height: 100%;
-          border-right: 2px solid;
-          border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
-        }
-
-        &:nth-child(3) {
-          flex: 1;
-          height: 100%;
-          border-right: 2px solid;
-          border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
-        }
-
-        &:nth-child(4) {
-          flex: 0.6;
-          color: #b3b8cc;
-          font-size: 16px;
-          height: 100%;
-          border-right: 2px solid;
-          border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
-        }
-
-        &:nth-child(5) {
-          flex: 1.4;
-          height: 100%;
-
-          .percent {
-            width: 100%;
-            height: 82%;
-            padding: 0px 20px;
-            box-sizing: border-box;
-            display: flex;
-            flex-direction: column;
-            justify-content: space-around;
-
-            .title {
-              font-size: 14px;
-              padding: 5px 0px;
-              color: #b3b8cc;
-              text-align: center;
-            }
+      &:nth-child(1) {
+        flex: 1;
+        height: 100%;
+        border-right: 2px solid;
+        border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
+      }
 
-            .value {
-              display: flex;
-              justify-content: space-between;
+      &:nth-child(2) {
+        flex: 1;
+        height: 100%;
+        border-right: 2px solid;
+        border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
+      }
 
-              span {
-                font-family: 'douyuFont';
-                font-size: 18px;
-              }
-            }
-          }
-        }
+      &:nth-child(3) {
+        flex: 1;
+        height: 100%;
+        border-right: 2px solid;
+        border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
+      }
 
-        .pic {
-          width: 30%;
-          height: 82%;
+      &:nth-child(4) {
+        flex: 0.6;
+        color: #b3b8cc;
+        font-size: 16px;
+        height: 100%;
+        border-right: 2px solid;
+        border-image: linear-gradient(to bottom, transparent, rgba(2, 70, 136, 1), transparent) 1 1 1;
+      }
 
-          img {
-            width: 100%;
-            height: 100%;
-          }
-        }
+      &:nth-child(5) {
+        flex: 1.4;
+        height: 100%;
 
-        .content {
+        .percent {
+          width: 100%;
           height: 82%;
-          margin-left: 15px;
-          color: #fff;
+          padding: 0px 20px;
+          box-sizing: border-box;
           display: flex;
           flex-direction: column;
           justify-content: space-around;
 
-          span {
+          .title {
             font-size: 14px;
+            padding: 5px 0px;
+            color: #b3b8cc;
+            text-align: center;
+          }
 
-            &:nth-child(1) {
-              padding: 5px 0px;
-              color: #b3b8cc;
-            }
+          .value {
+            display: flex;
+            justify-content: space-between;
 
-            &:nth-child(2) {
+            span {
               font-family: 'douyuFont';
-              font-size: 16px;
-              color: #3df6ff;
+              font-size: 18px;
             }
           }
         }
       }
 
-      .nav:nth-child(1) .pic {
-        background: url('../../../../../assets/images/fire/max.svg') no-repeat center;
-        background-size: 50% 50%;
-      }
+      .pic {
+        width: 30%;
+        height: 82%;
 
-      .nav:nth-child(2) .pic {
-        background: url('../../../../../assets/images/fire/min.svg') no-repeat center;
-        background-size: 50% 50%;
-      }
-
-      .nav:nth-child(3) .pic {
-        background: url('../../../../../assets/images/fire/pj.svg') no-repeat center;
-        background-size: 50% 50%;
+        img {
+          width: 100%;
+          height: 100%;
+        }
       }
-    }
 
-    .center-echart {
-      width: 100%;
-      height: 32%;
-      padding: 10px;
-      margin-bottom: 20px;
-      box-sizing: border-box;
-      background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
-      background-size: 100% 100%;
-
-      .nav-title {
-        height: 30px;
+      .content {
+        height: 82%;
+        margin-left: 15px;
+        color: #fff;
         display: flex;
-        justify-content: space-between;
-        align-items: center;
+        flex-direction: column;
+        justify-content: space-around;
 
-        .title {
-          font-family: 'douyuFont';
+        span {
           font-size: 14px;
-          color: #fff;
-          // color: #3df6ff;
+
+          &:nth-child(1) {
+            padding: 5px 0px;
+            color: #b3b8cc;
+          }
+
+          &:nth-child(2) {
+            font-family: 'douyuFont';
+            font-size: 16px;
+            color: #3df6ff;
+          }
         }
       }
+    }
 
-      .echart-box {
-        width: 100%;
-        height: calc(100% - 30px);
+    .nav:nth-child(1) .pic {
+      background: url('../../../../../assets/images/fire/max.svg') no-repeat center;
+      background-size: 50% 50%;
+    }
+
+    .nav:nth-child(2) .pic {
+      background: url('../../../../../assets/images/fire/min.svg') no-repeat center;
+      background-size: 50% 50%;
+    }
+
+    .nav:nth-child(3) .pic {
+      background: url('../../../../../assets/images/fire/pj.svg') no-repeat center;
+      background-size: 50% 50%;
+    }
+  }
+
+  .center-echart {
+    width: 100%;
+    height: 32%;
+    padding: 10px;
+    margin-bottom: 20px;
+    box-sizing: border-box;
+    background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
+    background-size: 100% 100%;
+
+    .nav-title {
+      height: 30px;
+      display: flex;
+      justify-content: space-between;
+      align-items: center;
+
+      .title {
+        font-family: 'douyuFont';
+        font-size: 14px;
+        color: #fff;
+        // color: #3df6ff;
       }
     }
 
-    .bot-content {
-      position: relative;
+    .echart-box {
       width: 100%;
-      height: calc(53% - 40px);
-      padding: 10px 10px 0px 10px;
-      box-sizing: border-box;
-      background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
-      background-size: 100% 100%;
+      height: calc(100% - 30px);
+    }
+  }
 
-      .title {
-        height: 30px;
-        display: flex;
-        justify-content: space-between;
+  .bot-content {
+    position: relative;
+    width: 100%;
+    height: calc(53% - 40px);
+    padding: 10px 10px 0px 10px;
+    box-sizing: border-box;
+    background: url('../../../../../assets/images/fire/bj1.png') no-repeat center;
+    background-size: 100% 100%;
 
-        .text {
-          height: 30px;
-          line-height: 30px;
-          font-family: 'douyuFont';
-          font-size: 14px;
-          color: #fff;
-        }
+    .title {
+      height: 35px;
+      display: flex;
+      justify-content: space-between;
+      align-items: center;
+      margin-bottom: 10px;
+
+      .text {
+        // height: 30px;
+        // line-height: 30px;
+        font-family: 'douyuFont';
+        font-size: 14px;
+        color: #fff;
       }
+    }
 
-      .content {
-        height: calc(100% - 30px);
+    .content {
+      height: calc(100% - 45px);
+      display: flex;
+      flex-direction: column;
+      justify-content: space-between;
+
+      .content-box {
+        width: 100%;
+        height: 29%;
         display: flex;
-        flex-direction: column;
         justify-content: space-between;
+        margin-top: 0px !important;
 
-        .content-box {
-          width: 100%;
-          height: 29%;
-          display: flex;
-          justify-content: space-between;
-          margin-top: 0px !important;
-
-          .box-item {
-            position: relative;
-            width: 16%;
-            height: 100%;
-            background: url('../../../../../assets/images/fire/14174.png') no-repeat center;
+        .box-item {
+          position: relative;
+          width: 16%;
+          height: 100%;
+          background: url('../../../../../assets/images/fire/14174.png') no-repeat center;
+          background-size: 100% 100%;
+          cursor: pointer;
+
+          .content-title {
+            position: absolute;
+            left: 50%;
+            top: 0;
+            transform: translate(-50%);
+            color: #fff;
+            font-size: 14px;
+          }
+
+          .content-item {
+            position: absolute;
+            width: 93%;
+            height: 27%;
+            display: flex;
+            align-items: center;
+            padding: 0px 10px;
+            box-sizing: border-box;
+            background: url('../../../../../assets/images/fire/contetn.png') no-repeat center;
             background-size: 100% 100%;
-            cursor: pointer;
+            color: #fff;
+            font-size: 14px;
 
-            .content-title {
-              position: absolute;
+            &:nth-child(2) {
               left: 50%;
-              top: 0;
+              top: 28%;
               transform: translate(-50%);
-              color: #fff;
-              font-size: 14px;
+              display: flex;
+              justify-content: space-between;
             }
 
-            .content-item {
-              position: absolute;
-              width: 93%;
-              height: 27%;
+            &:nth-child(3) {
+              left: 50%;
+              top: 62%;
+              transform: translate(-50%);
               display: flex;
-              align-items: center;
-              padding: 0px 10px;
-              box-sizing: border-box;
-              background: url('../../../../../assets/images/fire/contetn.png') no-repeat center;
-              background-size: 100% 100%;
-              color: #fff;
-              font-size: 14px;
-
-              &:nth-child(2) {
-                left: 50%;
-                top: 28%;
-                transform: translate(-50%);
-                display: flex;
-                justify-content: space-between;
-              }
-
-              &:nth-child(3) {
-                left: 50%;
-                top: 62%;
-                transform: translate(-50%);
-                display: flex;
-                justify-content: space-between;
-              }
-
-              .bolds {
-                font-family: 'douyuFont';
-                color: #3df6ff;
-                font-size: 12px;
-              }
+              justify-content: space-between;
+            }
+
+            .bolds {
+              font-family: 'douyuFont';
+              color: #3df6ff;
+              font-size: 12px;
             }
           }
         }
       }
+    }
 
-      .echart-box {
-        position: absolute;
-        left: 50%;
-        top: 50px;
-        transform: translate(-50%, 0);
-        width: 66%;
-        height: calc(100% - 50px);
-      }
+    .echart-box {
+      position: absolute;
+      left: 50%;
+      top: 50px;
+      transform: translate(-50%, 0);
+      width: 66%;
+      height: calc(100% - 50px);
     }
   }
+}
+
+:deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
+  border: 1px solid #3ad8ff77 !important;
+  background-color: #ffffff00 !important;
+}
+
+:deep(.zxm-select-selection-item) {
+  color: #fff !important;
+}
 </style>

+ 12 - 13
src/views/vent/monitorManager/alarmMonitor/index.vue

@@ -449,26 +449,24 @@ async function getList() {
       iconsMonitor[el].closeCount = res.info.devicekindInfo[el].netstatus
     }
   });
-  fireMonitor[0].value =
-    res.info.sysInfo.fireS.summaryInfo.external.temperature && res.info.sysInfo.fireS.summaryInfo.external.temperature.maxlevel == '0'
-      ? '正常'
-      : '';
-  fireMonitor[1].value =
-    res.info.sysInfo.fireS.summaryInfo.external.smokeval &&
+  fireMonitor[0].value = res.info.sysInfo.fireS.summaryInfo ? res.info.sysInfo.fireS.summaryInfo.external.temperature && res.info.sysInfo.fireS.summaryInfo.external.temperature.maxlevel == '0'
+    ? '正常' : '' : '';
+  fireMonitor[1].value =res.info.sysInfo.fireS.summaryInfo ?  res.info.sysInfo.fireS.summaryInfo.external.smokeval &&
       res.info.sysInfo.fireS.summaryInfo.external.smokeval.maxlevel &&
       res.info.sysInfo.fireS.summaryInfo.external.smokeval.maxlevel == '0'
       ? '正常'
-      : '';
-  fireMonitor[2].value =
-    res.info.sysInfo.fireS.summaryInfo.external.fireval &&
+      : '' : '';
+   
+  fireMonitor[2].value =res.info.sysInfo.fireS.summaryInfo ?  res.info.sysInfo.fireS.summaryInfo.external.fireval &&
       res.info.sysInfo.fireS.summaryInfo.external.fireval.maxlevel &&
       res.info.sysInfo.fireS.summaryInfo.external.fireval.maxlevel == '0'
       ? '正常'
-      : '';
-  fireMonitor[3].value =
-    res.info.sysInfo.fireS.summaryInfo.external.coval && res.info.sysInfo.fireS.summaryInfo.external.coval.value
+      : '' : '';
+   
+  fireMonitor[3].value = res.info.sysInfo.fireS.summaryInfo ?  res.info.sysInfo.fireS.summaryInfo.external.coval && res.info.sysInfo.fireS.summaryInfo.external.coval.value
       ? res.info.sysInfo.fireS.summaryInfo.external.coval.value
-      : '';
+      : '' : '';
+   
 
   if (res.bundletubeInfo && res.bundletubeInfo.msgTxt.length != 0 && res.bundletubeInfo.msgTxt[0].datalist.length != 0) {
     res.bundletubeInfo.msgTxt[0].datalist.forEach((el, ind) => {
@@ -706,6 +704,7 @@ onUnmounted(() => {
           .all-count,
           .warn-count,
           .close-count {
+
             // margin: 0px 5px;
             .num-count {
               font-family: 'douyuFont';