diff --git a/hx-ai-intelligent/src/api/alarmSettings/deviceAlarms.ts b/hx-ai-intelligent/src/api/alarmSettings/deviceAlarms.ts
new file mode 100644
index 0000000..b659c51
--- /dev/null
+++ b/hx-ai-intelligent/src/api/alarmSettings/deviceAlarms.ts
@@ -0,0 +1,5 @@
+export enum deviceAlarms {
+ getTableList = '/carbon-smart/api/AlarmEquipment/selectAlarmEquipment', //设备告警分页
+ addOrUpNewData = '/carbon-smart/api/AlarmEquipment/creatOrUpdate', //设备告警添加 修海
+ del = '/carbon-smart/api/AlarmEquipment/delete', //设备告警删除
+}
diff --git a/hx-ai-intelligent/src/api/deviceManage.ts b/hx-ai-intelligent/src/api/deviceManage.ts
index 413afeb..53ab590 100644
--- a/hx-ai-intelligent/src/api/deviceManage.ts
+++ b/hx-ai-intelligent/src/api/deviceManage.ts
@@ -3,6 +3,7 @@ export enum device {
queryDeviceTree = `${BASE_URL}/deviceInfo/queryDeviceTree`, // 左侧树
queryDevicePage = `${BASE_URL}/deviceInfo/queryDevicePage`, // 列表
dropArea = `${BASE_URL}/deviceInfo/dropArea`, // 查询下拉区域
+ queryDevicePoint = `${BASE_URL}/deviceInfo/queryDevicePoint`, // 获取设备点位
}
export enum group {
diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/components/energyAlarm.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/components/energyAlarm.vue
deleted file mode 100644
index 837dc0a..0000000
--- a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/components/energyAlarm.vue
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
- {{
- index
- }}
-
-
-
-
-
-
-
-
-
-
- 启用
- 关闭
-
-
-
-
-
- 重置
- 搜索
-
-
-
-
-
-
-
-
diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue
new file mode 100644
index 0000000..a7521da
--- /dev/null
+++ b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/configureEnergyAlarms.vue
@@ -0,0 +1,287 @@
+
+
+
+
+
+
+
+
+ {{
+ record?.enableRules
+ ? record.enableRules + '>' + record.deviceType + '>' + record.deviceName
+ : '-'
+ }}
+
+
+
+
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/editConfigureEnergyAlarm.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/editConfigureEnergyAlarm.vue
new file mode 100644
index 0000000..f9732ff
--- /dev/null
+++ b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/editConfigureEnergyAlarm.vue
@@ -0,0 +1,421 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 且 (and)
+ 或 (or)
+
+
+
+
+
+
+
+
{{ `逻辑${index}:` }}
+
+
{{ `数值${index}:` }}
+
+
+
+
+
+
+ 请选择正确的逻辑{{ index }} 或 输入正确的数值{{ index }}
+
+
+
+ 逻辑至少2条
+
+
+
+
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/editeEnergyAlarm.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/editeEnergyAlarm.vue
new file mode 100644
index 0000000..d016c65
--- /dev/null
+++ b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/energyAlarm/editeEnergyAlarm.vue
@@ -0,0 +1,235 @@
+
+
+
+
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue
index 0d4f849..dad6abe 100644
--- a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue
+++ b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/configureDeviceAlarms.vue
@@ -1,13 +1,36 @@
-
+
+
+
+
+
+
+ {{
+ record?.enableRules
+ ? record.enableRules + '>' + record.deviceType + '>' + record.deviceName
+ : '-'
+ }}
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editConfigureDeviceAlarm.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editConfigureDeviceAlarm.vue
index 34db26e..c069eef 100644
--- a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editConfigureDeviceAlarm.vue
+++ b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editConfigureDeviceAlarm.vue
@@ -3,14 +3,15 @@
v-model:visible="visible"
width="520"
:title="infoObject?.id ? '编辑告警规则' : '新增告警规则'"
+ :footer-style="{ textAlign: 'right' }"
:ok="btnClick"
:cancel="handleClose"
placement="right">
-
+
-
-
-
+ tree-node-filter-prop="label" />
-
+
-
+
- AC001电表
- AC002电表
+
+
+ {{ item.deviceName }}
+
+
-
+
-
+
+ 'blue-background': infoObject.enableRules === 1 ? true : false,
+ 'grey-background': infoObject.enableRules === 1 ? false : true,
+ }"
+ @click="clickSwitch" />
-
+
-
+
-
-
+
+
且 (and)
或 (or)
@@ -97,7 +105,7 @@
">
{{ `逻辑${index}:` }}
@@ -105,7 +113,7 @@
+ v-model:value="infoObject.alarmList[index - 1].num" />
@@ -114,7 +122,20 @@
src="https://files.axshare.com/gsc/4T0UQR/5a/e6/81/5ae6813d499c422383c7a15dd956523f/images/设备规则/u72.svg?pageId=cbce6e61-bc6a-4283-802d-993fce6151c0" />
+
+ 请选择正确的逻辑{{ index }} 或 输入正确的数值{{ index }}
+
+
+ 逻辑至少2条
+
@@ -124,26 +145,36 @@
-
-
diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue
new file mode 100644
index 0000000..d406f8c
--- /dev/null
+++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue
@@ -0,0 +1,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/table/index.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/table/index.vue
index c775cc9..c205a2d 100644
--- a/hx-ai-intelligent/src/view/monitor/deviceMonitor/table/index.vue
+++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/table/index.vue
@@ -3,184 +3,177 @@
diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/tree/index.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/tree/index.vue
index d4badb6..105f7f5 100644
--- a/hx-ai-intelligent/src/view/monitor/deviceMonitor/tree/index.vue
+++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/tree/index.vue
@@ -8,7 +8,8 @@
v-model:value="value"
style="width: 100%"
:tree-line="treeLine && { showLeafIcon }"
- :tree-data="treeData1">
+ :tree-data="treeData1"
+ @change="">