From 63dfccac8a2b2b1efc9e490c764ac53aec4f9b1a Mon Sep 17 00:00:00 2001 From: hzz Date: Fri, 21 Jun 2024 18:05:01 +0800 Subject: [PATCH] update --- src/views/realtimeSecurity/content/chart/Card.vue | 2 +- src/views/realtimeSecurity/index.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/realtimeSecurity/content/chart/Card.vue b/src/views/realtimeSecurity/content/chart/Card.vue index 59c622c..2bf0451 100644 --- a/src/views/realtimeSecurity/content/chart/Card.vue +++ b/src/views/realtimeSecurity/content/chart/Card.vue @@ -14,7 +14,7 @@
-
+
diff --git a/src/views/realtimeSecurity/index.vue b/src/views/realtimeSecurity/index.vue index 5b30d9a..e6f03d8 100644 --- a/src/views/realtimeSecurity/index.vue +++ b/src/views/realtimeSecurity/index.vue @@ -136,14 +136,14 @@ function getWebsocket(val) { } if (data.type == "EmptyState") { - let dqbfData = data.msg.name == "东气泵房空开状态信息"?data.msg:null; - let xqbfData = data.msg.name == "西气泵房空开状态信息"?data.msg:null; + let dqbfData = data.msg.name == "东气泵房智能空开状态"?data.msg:null; + let xqbfData = data.msg.name == "西气泵房智能空开状态"?data.msg:null; let paifeng = 0 if (data.msg.open == true) { - paifeng = 1 - } else { paifeng = 0 + } else { + paifeng = 1 } if (dqbfData) { store.dqbf.paifeng = paifeng