diff --git a/admin/src/views/monitor_alarm/index.vue b/admin/src/views/monitor_alarm/index.vue
index 9e014750..d02a4c54 100644
--- a/admin/src/views/monitor_alarm/index.vue
+++ b/admin/src/views/monitor_alarm/index.vue
@@ -44,17 +44,17 @@
-
-
-
-
+
+
+
+
-
- {{ row.create_time ? timeFormat(row.create_time, 'yyyy-mm-dd hh:MM:ss') : '' }}
-
-
+
+ {{ row.create_time ? timeFormat(row.create_time, 'yyyy-mm-dd hh:MM:ss') : '' }}
+
+
{
}
// 获取字典数据
-const { dictData } = useDictData('alarm_type')
+const { dictData } = useDictData('monitor_item')
// 分页相关
const { pager, getLists, resetParams, resetPage } = usePaging({
@@ -140,9 +140,9 @@ const detailData = reactive({
const handleDetail = (data: any) => {
detailData.gridData = [{}]
let deviceType = ''
- for (const key in dictData['alarm_type']) {
- if (dictData['alarm_type'][key]['value'] == data.type) {
- deviceType = dictData['alarm_type'][key]['name']
+ for (const key in dictData['monitor_item']) {
+ if (dictData['monitor_item'][key]['value'] == data.type) {
+ deviceType = dictData['monitor_item'][key]['name']
}
}
detailData.gridData.unshift({