From b0fbb9d3bf7225e7018cab7adfcf832b222d29e7 Mon Sep 17 00:00:00 2001 From: liutao <790864623@qq.com> Date: Wed, 1 Jul 2026 17:34:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=81=94=E8=AE=BE=E5=A4=87update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iot/device/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index 9e16f431..9e866db7 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -962,7 +962,7 @@ const deviceStatisticsItems = computed(() => [ { key: 'total', label: '总数', value: deviceStatistics.total }, { key: 'running', label: '运行数', value: deviceStatistics.running }, { key: 'standby', label: '待机数', value: deviceStatistics.standby }, - { key: 'fault', label: '故障数', value: deviceStatistics.fault }, + /* { key: 'fault', label: '故障数', value: deviceStatistics.fault },*/ { key: 'alarm', label: '报警数', value: deviceStatistics.alarm }, { key: 'offline', label: '离线数', value: deviceStatistics.offline } ]) @@ -971,7 +971,7 @@ const normalizeDeviceOperatingStatus = (value: string | number | undefined): Dev const text = String(value ?? '').trim().toLowerCase() if (['运行', '运行中', 'running', 'run', '1'].includes(text)) return 'running' if (['待机', '待机中', 'standby', 'idle', '2'].includes(text)) return 'standby' - if (['故障', '故障中', 'fault', 'error', '3'].includes(text)) return 'fault' + /*if (['故障', '故障中', 'fault', 'error', '3'].includes(text)) return 'fault'*/ if (['报警', '报警中', 'alarm', 'warning', '4', '5'].includes(text)) return 'alarm' return 'offline' } @@ -2047,7 +2047,7 @@ const handleShowDeviceAlarmHistory = async () => {