From 6319eb9fd0df70d237abcf2f270e7d8703f59cad Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 09 Apr 2021 14:01:57 +0800
Subject: [PATCH] 地图模式得相关修改
---
src/views/supervisoryConsole/card.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/supervisoryConsole/card.vue b/src/views/supervisoryConsole/card.vue
index 9d0bbe1..c7a4b1a 100644
--- a/src/views/supervisoryConsole/card.vue
+++ b/src/views/supervisoryConsole/card.vue
@@ -146,11 +146,11 @@
});
} else if (this.radio == "仅显示预警设备") {
res.data.data.forEach((item) => {
- if (item.state == "" && item.onlineStatus == 1) c.push(item);
+ if (item.jtype == 1) c.push(item);
});
} else if (this.radio == "仅显示设备掉线") {
res.data.data.forEach((item) => {
- if (item.state == "" && item.onlineStatus != 1) b.push(item);
+ if (item.onlineStatus != 1) b.push(item);
});
} else if (this.radio == "仅显示设备故障") {
res.data.data.forEach((item) => {
--
Gitblit v1.9.3