diff --git a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editeEquipmentAlarm.vue b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editeEquipmentAlarm.vue
index 68c421b..ade1d0c 100644
--- a/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editeEquipmentAlarm.vue
+++ b/hx-ai-intelligent/src/view/alarmManagement/alarmSettings/equipmentAlarm/editeEquipmentAlarm.vue
@@ -15,20 +15,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
+
+
{
- if (Number.isInteger(monitorTime) && monitorTime > 0) {
+ if (
+ Number.isInteger(monitorTime) &&
+ monitorTime > 0 &&
+ infoObject.value.monitorTimeUnit
+ ) {
cbfn();
} else {
cbfn('请输入正确的监测时长');
@@ -220,7 +234,7 @@
],
createWorkOrder: [{ required: true, message: '请选择是否创建工单', trigger: 'change' }],
priority: [{ required: true, message: '请选择优先级', trigger: 'change' }],
- monitorTimeUnit: [{ required: true, message: '请选择监测时长单位', trigger: 'change' }],
+ // monitorTimeUnit: [{ required: true, message: '请选择监测时长单位', trigger: 'change' }],
};
//开关
const changeSwitch = () => {