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 {