diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 136f477b..5e464d0a 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -274,4 +274,5 @@ export enum DICT_TYPE { IOT_DEVICE_USE_TYPE = "iot_device_use_type", IOT_ATTRIBUTE_IO_TYPE = "iot_attribute_io_type", IOT_ALERT_TYPE = "iot_alert_type", + IOT_ALERT_LEVEL = "iot_alert_level", } diff --git a/src/views/iot/alert/AlertForm.vue b/src/views/iot/alert/AlertForm.vue index e04f3560..d8d8b984 100644 --- a/src/views/iot/alert/AlertForm.vue +++ b/src/views/iot/alert/AlertForm.vue @@ -24,7 +24,14 @@ - + + + @@ -168,4 +175,4 @@ const resetForm = () => { } formRef.value?.resetFields() } - \ No newline at end of file + diff --git a/src/views/iot/alert/components/AlertRecordForm.vue b/src/views/iot/alert/components/AlertRecordForm.vue index 4ebcb72a..bce9bfb8 100644 --- a/src/views/iot/alert/components/AlertRecordForm.vue +++ b/src/views/iot/alert/components/AlertRecordForm.vue @@ -24,7 +24,14 @@ - + + + @@ -193,4 +200,4 @@ const resetForm = () => { } formRef.value?.resetFields() } - \ No newline at end of file + diff --git a/src/views/iot/alert/index.vue b/src/views/iot/alert/index.vue index 2ec44baa..4f06ce10 100644 --- a/src/views/iot/alert/index.vue +++ b/src/views/iot/alert/index.vue @@ -71,8 +71,8 @@ highlight-current-row @current-change="handleCurrentChange" > - - + +