diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index 92f518b5..3f02b108 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -681,7 +681,7 @@ const runningRuleOptions = [ { value: '4', label: '报警中(故障且运行)' }, ] -const alarmRuleOptions = [{ value: 'ALARM', label: '报警' }] +const alarmRuleOptions = [{ value: '5', label: '报警' }] const currentRuleOptions = computed(() => { const id = (ruleForm.identifier || '').toString().toUpperCase() diff --git a/src/views/iot/devicemodel/index.vue b/src/views/iot/devicemodel/index.vue index 8f9475f2..67fd636e 100644 --- a/src/views/iot/devicemodel/index.vue +++ b/src/views/iot/devicemodel/index.vue @@ -610,7 +610,7 @@ const runningRuleOptions = [ ] const alarmRuleOptions = [ - { value: 'ALARM', label: '报警' }, + { value: '5', label: '报警' }, ] const currentRuleOptions = computed(() => {