|
|
|
@ -437,11 +437,11 @@ export default { |
|
|
|
this.getMonitorList(); |
|
|
|
this.getMonitorList(); |
|
|
|
// 设置定时器,每 10 秒执行一次 |
|
|
|
// 设置定时器,每 10 秒执行一次 |
|
|
|
this.timer = setInterval(() => { |
|
|
|
this.timer = setInterval(() => { |
|
|
|
// this.getAlarnStatus(); |
|
|
|
this.getAlarnStatus(); |
|
|
|
// this.getDayData(); |
|
|
|
this.getDayData(); |
|
|
|
// // 获取当蒸汽采暖数据 |
|
|
|
// 获取当蒸汽采暖数据 |
|
|
|
// this.getSteamHeatingData(); |
|
|
|
this.getSteamHeatingData(); |
|
|
|
// this.getMonitorList(); |
|
|
|
this.getMonitorList(); |
|
|
|
}, 10000); |
|
|
|
}, 10000); |
|
|
|
}, |
|
|
|
}, |
|
|
|
beforeDestroy() { |
|
|
|
beforeDestroy() { |
|
|
|
@ -835,7 +835,7 @@ export default { |
|
|
|
if ( |
|
|
|
if ( |
|
|
|
prop.paramType === "5" && |
|
|
|
prop.paramType === "5" && |
|
|
|
prop.collectName.includes("故障报警") && |
|
|
|
prop.collectName.includes("故障报警") && |
|
|
|
prop.collectValue !== 0 |
|
|
|
Number(prop.collectValue) !== 0 |
|
|
|
) { |
|
|
|
) { |
|
|
|
const newAlarmItem = { |
|
|
|
const newAlarmItem = { |
|
|
|
otherName: prop.collectName, |
|
|
|
otherName: prop.collectName, |
|
|
|
|