diff --git a/src/components/monitoring/conditioner.vue b/src/components/monitoring/conditioner.vue index d13899c..0c2681b 100644 --- a/src/components/monitoring/conditioner.vue +++ b/src/components/monitoring/conditioner.vue @@ -56,7 +56,7 @@ :style="{ display: item.showAlert ? 'flex' : 'none' }" class="alark-alert">

- 关闭告警 + 确认告警

@@ -306,7 +306,7 @@ import { getFloorTemp, getLifList, getAirWarnList,//报警列表 - getCancelWarn,//关闭告警 + getCancelWarn,//确认告警 setLoraTemp,//设置lora面板温度 setLoraStatus,//设置lora面板开关0:关机 1:开机 setLoraModel,//设置lora面板模式0:内机制热 1:内机地暖同时制热(默认) 2::地暖制热 3:制冷模式 9:通风模式| @@ -544,7 +544,7 @@ export default { }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getAirWarnList(); diff --git a/src/components/monitoring/door.vue b/src/components/monitoring/door.vue index 5d40bbe..8909e2c 100644 --- a/src/components/monitoring/door.vue +++ b/src/components/monitoring/door.vue @@ -116,7 +116,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -151,7 +157,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -361,7 +373,7 @@ import { getDoorWarn, getDoorSbList, getDoorWarnList, //报警列表 - getCancelWarn, //关闭告警 + getCancelWarn, //确认告警 } from "@/api/garden/monitoring"; import backHome from "./backHome"; export default { @@ -643,7 +655,7 @@ export default { this.getNavigationMap(); }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getDoorWarnList2(); @@ -674,7 +686,7 @@ export default { }); }, showAlarkAlert(item, index, key) { - //鼠标悬停在设备概况列表里出现查看详情和关闭告警 + //鼠标悬停在设备概况列表里出现查看详情和确认告警 item.showAlert = true; if (key == 0) { this.listData.warnEquipList.splice(index, 1, item); diff --git a/src/components/monitoring/electricity.vue b/src/components/monitoring/electricity.vue index 5ab0e86..c22388f 100644 --- a/src/components/monitoring/electricity.vue +++ b/src/components/monitoring/electricity.vue @@ -60,7 +60,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -437,7 +443,7 @@ export default { // 塔台总用电量 tataiTotal: "", isMapViewer: 0, - alarmAlert: true, //鼠标悬停在报警列表里查看详情和关闭告警是否出现 + alarmAlert: true, //鼠标悬停在报警列表里查看详情和确认告警是否出现 }; }, created() { @@ -635,7 +641,7 @@ export default { }, }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getElectricWarnList(); diff --git a/src/components/monitoring/firefighting.vue b/src/components/monitoring/firefighting.vue index aeb28c2..58e5176 100644 --- a/src/components/monitoring/firefighting.vue +++ b/src/components/monitoring/firefighting.vue @@ -83,7 +83,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -113,7 +119,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -239,7 +251,7 @@ import { getfireData, getFightWarn, getFiredWarnList, //告警列表 - getCancelWarn, //关闭告警 + getCancelWarn, //确认告警 } from "@/api/garden/monitoring"; import backHome from "./backHome"; export default { @@ -498,7 +510,7 @@ export default { }, }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getFiredWarnList(); @@ -530,7 +542,7 @@ export default { }); }, showAlarkAlert(item, index, key) { - //鼠标悬停在设备概况列表里出现查看详情和关闭告警 + //鼠标悬停在设备概况列表里出现查看详情和确认告警 item.showAlert = true; if (key == 0) { this.listData.warnEquipList.splice(index, 1, item); @@ -879,7 +891,7 @@ export default { // 点击构件的筛选条件 getfireData(this.bimModel, data.elementId).then((res) => { - if (res.data.code == 200) { + if (res.data.code == 200 && Object.keys(res.data.data).length>0) { // console.log(res) let { name, status, location } = res.data.data; // 如果当前点击的是电箱 先清除所以标签 diff --git a/src/components/monitoring/lift.vue b/src/components/monitoring/lift.vue index 9a033a9..61292c6 100644 --- a/src/components/monitoring/lift.vue +++ b/src/components/monitoring/lift.vue @@ -50,7 +50,7 @@

- 关闭告警 + 确认告警

{ this.getFiredWarnList(); diff --git a/src/components/monitoring/light.vue b/src/components/monitoring/light.vue index 009e540..94848cb 100644 --- a/src/components/monitoring/light.vue +++ b/src/components/monitoring/light.vue @@ -77,7 +77,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -109,7 +115,7 @@ |

- 关闭告警 + 确认告警

@@ -486,7 +492,7 @@ export default { }) } }, - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getLightWarnList(); @@ -519,7 +525,7 @@ export default { }, // 设备告警、告警事件 showAlarkAlert(item, index, key) { - //鼠标悬停在设备概况列表里出现查看详情和关闭告警 + //鼠标悬停在设备概况列表里出现查看详情和确认告警 item.showAlert = true; if (key == 0) { this.listData.warnEquipList.splice(index, 1, item); diff --git a/src/components/monitoring/monitoring.vue b/src/components/monitoring/monitoring.vue index efc9009..512b529 100644 --- a/src/components/monitoring/monitoring.vue +++ b/src/components/monitoring/monitoring.vue @@ -70,8 +70,14 @@ |

- 关闭告警 + 确认告警

+ | +

+ + + 告警恢复 +

@@ -569,7 +575,7 @@ export default { } }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getCameraWarnList(); diff --git a/src/components/monitoring/wall.vue b/src/components/monitoring/wall.vue index 1a61810..75d29ca 100644 --- a/src/components/monitoring/wall.vue +++ b/src/components/monitoring/wall.vue @@ -85,7 +85,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -120,7 +126,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -253,7 +265,7 @@ import { getWallRecords, getWallGK, getFenceWarnList, //报警列表 - getCancelWarn, //关闭告警 + getCancelWarn, //确认告警 } from "@/api/garden/monitoring"; export default { props: { @@ -787,7 +799,7 @@ export default { } }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getFenceWarnList(); @@ -818,7 +830,7 @@ export default { }); }, showAlarkAlert(item, index, key) { - //鼠标悬停在设备概况列表里出现查看详情和关闭告警 + //鼠标悬停在设备概况列表里出现查看详情和确认告警 item.showAlert = true; if (key == 0) { this.listData.warnEquipList.splice(index, 1, item); diff --git a/src/components/monitoring/warm.vue b/src/components/monitoring/warm.vue index fd51b1e..b6ca66c 100644 --- a/src/components/monitoring/warm.vue +++ b/src/components/monitoring/warm.vue @@ -192,7 +192,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -222,7 +228,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -575,7 +587,7 @@ export default { this.getNavigationMap(); }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getHeatWarnList(); @@ -607,7 +619,7 @@ export default { }); }, showAlarkAlert(item, index, key) { - //鼠标悬停在设备概况列表里出现查看详情和关闭告警 + //鼠标悬停在设备概况列表里出现查看详情和确认告警 item.showAlert = true; if (key == 0) { this.listData.warnEquipList.splice(index, 1, item); diff --git a/src/components/monitoring/water.vue b/src/components/monitoring/water.vue index 4d95df2..c3445dd 100644 --- a/src/components/monitoring/water.vue +++ b/src/components/monitoring/water.vue @@ -189,7 +189,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -217,7 +223,13 @@ |

- 关闭告警 + 确认告警 +

+ | +

+ + + 告警恢复

@@ -553,7 +565,7 @@ export default { }, beforeDestroy() { }, methods: { - //关闭告警 - 重新查询告警列表 + //确认告警 - 重新查询告警列表 doCancelWarn(id) { getCancelWarn(id).then((res) => { this.getWaterWarnList(); @@ -585,7 +597,7 @@ export default { }); }, showAlarkAlert(item, index, key) { - //鼠标悬停在设备概况列表里出现查看详情和关闭告警 + //鼠标悬停在设备概况列表里出现查看详情和确认告警 item.showAlert = true; if (key == 0) { this.listData.warnEventList.splice(index, 1, item); diff --git a/src/views/equipment/index.vue b/src/views/equipment/index.vue index 4e46363..49a2064 100644 --- a/src/views/equipment/index.vue +++ b/src/views/equipment/index.vue @@ -1,6 +1,6 @@