From 502f29d5888ee8b4d58cc0a4ef01f4d909b003dd Mon Sep 17 00:00:00 2001
From: xh <11675084@qq.com>
Date: Wed, 22 Oct 2025 11:29:22 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B0=94=E4=BD=93=E6=8A=A5=E8=AD=A6=E8=A1=A5?=
=?UTF-8?q?=E5=85=85=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
web/src/views/gas/handalarm/index.vue | 44 +++++++++++++++++------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/web/src/views/gas/handalarm/index.vue b/web/src/views/gas/handalarm/index.vue
index 9d0d9eb..a45db96 100644
--- a/web/src/views/gas/handalarm/index.vue
+++ b/web/src/views/gas/handalarm/index.vue
@@ -180,7 +180,7 @@
-->
-
+
{{
handDetectorStore.getAlarmTypes.find((item) => item.level === scope.row.alarmLevel)
@@ -188,41 +188,42 @@
}}
-
-
-
-
+ width="160px"
+ />
+
- {{
- getIntDictOptions(DICT_TYPE.HAND_DETECTOR_HANDLE_STATUS).find(
- (item) => item.value === scope.row.status
- )?.label
- }}
+ {{ getDictLabel(DICT_TYPE.HAND_DETECTOR_HANDLE_STATUS, scope.row.status) }}
-
- -->
+
+
查看位置
@@ -273,7 +274,7 @@ import download from '@/utils/download'
import { HandAlarmApi, HandAlarm } from '@/api/gas/handalarm'
import HandAlarmForm from './HandAlarmForm.vue'
import { useHandDetectorStore } from '@/store/modules/handDetector'
-import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
+import { DICT_TYPE, getIntDictOptions, getDictLabel } from '@/utils/dict'
/** 手持探测器警报 列表 */
defineOptions({ name: 'HandAlarm' })
@@ -337,7 +338,6 @@ const openForm = (type: string, id?: number) => {
formRef.value.open(type, id)
}
-
/** 批量删除GAS手持探测器警报 */
const handleDeleteBatch = async () => {
try {