![]()
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