diff --git a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableHmi.vue b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableHmi.vue
index fdf5a4c01..435816907 100644
--- a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableHmi.vue
+++ b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableHmi.vue
@@ -25,19 +25,8 @@
查询
-
-
-
-
- 设备编号:
-
-
-
- 元素编号:
-
-
-
撤销查询
+
@@ -66,7 +55,11 @@
-
+
+
+ {{ handleDeviceName(scope.row.deviceCode) }}
+
+
@@ -76,7 +69,7 @@
-
+
{{ scope.row.recovered? 'Y':'N' }}
@@ -145,6 +138,10 @@ export default {
}).catch(() => {
this.$message.error('确认消息失败!');
});
+ },
+ handleDeviceName(code) {
+ const device = this.$store.getters['map/getDeviceByCode'](code);
+ return device.name;
}
}
};
diff --git a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableLow.vue b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableLow.vue
index 74c12aff9..9168fc971 100644
--- a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableLow.vue
+++ b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTableLow.vue
@@ -32,7 +32,11 @@
{{ handleDeviceType(scope.row.deviceCode) }}
-
+
+
+ {{ handleDeviceName(scope.row.deviceCode) }}
+
+
@@ -101,6 +105,10 @@ export default {
handleDeviceType(code) {
const device = this.$store.getters['map/getDeviceByCode'](code);
return deviceType[device.type];
+ },
+ handleDeviceName(code) {
+ const device = this.$store.getters['map/getDeviceByCode'](code);
+ return device.name;
}
}
};