pull/57/head
孙萌 2023-11-24 14:23:50 +08:00
parent 60dc3db7aa
commit bf60c2e1e7
1 changed files with 20 additions and 13 deletions

View File

@ -249,7 +249,7 @@ export default {
deviceName: 1,
controlList: [],
statusInterval: null,//statusInterval
statusTime: 3,//status
statusTime: 2,//status
}
},
watch: {
@ -551,6 +551,7 @@ export default {
});
this.api.getControlRtDatastation(formData).then(res => {
this.controlList = []
if (res.data.code == 200) {
res.data.data.forEach((el, index) => {
list.forEach((el1, index1) => {
if (el.formula == el1.value) {
@ -564,6 +565,7 @@ export default {
}
})
})
}
// console.log(this.controlList);
})
@ -638,6 +640,11 @@ export default {
}, 10);
} else {
this.statusList = []
this.fanStatus = {
name: '风机', open: 0, status: []
}
this.$forceUpdate();
// this.$message.error(res.data.msg);
}
})