From cc9449226aec911a9142b07eac549410b60ee40f Mon Sep 17 00:00:00 2001 From: hwj Date: Wed, 1 Apr 2026 11:53:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=82=B9=E4=BD=8D=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 3 +- .../device/components/DeviceAttributeForm.vue | 107 +- src/views/iot/device/management/index.vue | 124 +- src/views/iot/device/point/index.vue | 1182 ++++++++++++----- 4 files changed, 1016 insertions(+), 400 deletions(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index eb1eebf..29f61e5 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -253,5 +253,6 @@ export enum DICT_TYPE { IOT_MODBUS_FRAME_FORMAT = 'iot_modbus_frame_format', // IoT Modbus 帧格式 IOT_PROTOCOL = 'iot_protocol', IOT_DEVICE_DATA_TYPE = 'iot_device_data_type', - PRIMARY_FLAG = 'primary_flag' + PRIMARY_FLAG = 'primary_flag', + IOT_ALARM_REGISTRATION = 'alarm_registration' } diff --git a/src/views/iot/device/components/DeviceAttributeForm.vue b/src/views/iot/device/components/DeviceAttributeForm.vue index 31b3a27..e263cb6 100644 --- a/src/views/iot/device/components/DeviceAttributeForm.vue +++ b/src/views/iot/device/components/DeviceAttributeForm.vue @@ -1,49 +1,83 @@