From 3918237ef8a17637c49b098221cbabc42edb598c Mon Sep 17 00:00:00 2001
From: "PC-20220105PWAZ\\Administrator" <724333567@qq.com>
Date: Wed, 10 May 2023 18:09:44 +0800
Subject: [PATCH] =?UTF-8?q?1.=E6=96=B0=E5=A2=9E[=E5=91=8A=E8=AD=A6?=
=?UTF-8?q?=E6=81=A2=E5=A4=8D]=E6=8C=89=E9=92=AE=202.=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86=E3=80=81=E5=8E=86=E5=8F=B2?=
=?UTF-8?q?=E6=8A=A5=E8=AD=A6=E8=AE=B0=E5=BD=95=E3=80=81=E8=BF=90=E7=BB=B4?=
=?UTF-8?q?=E8=AE=B0=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/monitoring/conditioner.vue | 6 ++---
src/components/monitoring/door.vue | 22 +++++++++++----
src/components/monitoring/electricity.vue | 12 ++++++---
src/components/monitoring/firefighting.vue | 24 ++++++++++++-----
src/components/monitoring/lift.vue | 6 ++---
src/components/monitoring/light.vue | 14 +++++++---
src/components/monitoring/monitoring.vue | 10 +++++--
src/components/monitoring/wall.vue | 22 +++++++++++----
src/components/monitoring/warm.vue | 20 +++++++++++---
src/components/monitoring/water.vue | 20 +++++++++++---
src/views/equipment/index.vue | 4 +--
src/views/equipment/operationRecord.vue | 4 +--
src/views/equipment/warnHistory.vue | 31 +++++++++++++++++++---
src/views/garden/generalizePattern.vue | 2 +-
14 files changed, 150 insertions(+), 47 deletions(-)
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 @@
-
+
@@ -9,7 +9,7 @@
-
+
-
+
@@ -9,7 +9,7 @@
-
+
-
+
@@ -9,7 +9,7 @@
-
+