update
This commit is contained in:
parent
60b6b580df
commit
63dfccac8a
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="prop.config.type == 2" class="type2">
|
||||
<div class="img2" :class="[prop.config.value>=prop.config.limit?prop.config.classArr:'']" v-for="item in prop.config.num">
|
||||
<div class="img2" :class="[prop.config.value<prop.config.limit?prop.config.classArr:'']" v-for="item in prop.config.num">
|
||||
<img :src="prop.config.image" v-if="prop.config.value<prop.config.limit">
|
||||
<img :src="prop.config.image1" v-else>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user