Преглед изворни кода

预警管控一氧化碳更新-提交

lxh пре 10 месеци
родитељ
комит
aa10110883

+ 1 - 1
src/views/vent/monitorManager/alarmMonitor/common/mainWell.vue

@@ -385,7 +385,7 @@ watch(
         });
       }
 
-      if (val.fire.length != 0) {
+      if (val.co.length != 0) {
         val.co.forEach((el) => {
           monitorlistHy.push(el);
         });

+ 3 - 0
src/views/vent/monitorManager/alarmMonitor/warn/fireWarn.vue

@@ -51,6 +51,7 @@ let listData = reactive({
     bundletube: [],
     fiber: [],
     fire: [],
+    co:[],
     smoke: [],
     spray: [],
     temperature: [],
@@ -105,6 +106,7 @@ function getSysWarnList(id, type) {
         listData.bundletube = res.bundletube;
         listData.fiber = res.fiber;
         listData.fire = res.fire;
+        listData.co=res.co;
         listData.smoke = res.smoke;
         listData.spray = res.spray;
         listData.temperature = res.temperature;
@@ -194,6 +196,7 @@ function getClearList() {
     listData.bundletube.length = 0;
     listData.fiber.length = 0;
     listData.fire.length = 0;
+    listData.co.length=0;
     listData.smoke.length = 0;
     listData.spray.length = 0;
     listData.temperature.length = 0;