修改北京现场问题

This commit is contained in:
guanj
2026-07-02 09:55:03 +08:00
parent 37eef06a3b
commit 295cfc6ec1
3 changed files with 20 additions and 12 deletions

View File

@@ -39,7 +39,7 @@
</el-checkbox-group>
</el-form-item>
<el-form-item label="残余电压告警阈值">
<el-input-number v-model="form.eventValue" :min="0" :max="0.9" :precision="1" :step="0.1"
<el-input-number v-model="form.eventValue" :min="0" :max="1" :step="0.01"
@change="(e) => (e == null ? (form.eventValue = 0.1) : null)" style="width: 200px" />
</el-form-item>
<el-form-item label="持续时间告警阈值">

View File

@@ -397,10 +397,23 @@ const initDept = () => {
});
};
const resetQueryForm = () => {
searchValue.value = "";
deptsIndex.value = null;
eventForm.eventValueMin = null;
eventForm.eventValueMax = null;
eventForm.eventDurationMin = null;
eventForm.eventDurationMax = null;
eventForm.eventtype = null;
eventForm.fiterSensitiveUser = "1";
pageNum.value = 1;
pageSize.value = 100;
clearSelection();
datePickerRef.value?.setTheDate(5);
};
const handleDialogOpened = () => {
if (datePickerRef.value?.interval !== 5) {
datePickerRef.value?.setTheDate(5);
}
resetQueryForm();
initDept();
inquire(true);
};
@@ -430,14 +443,7 @@ const inquire = (resetPage = false) => {
};
const clearInit = async () => {
searchValue.value = "";
eventForm.eventValueMin = null;
eventForm.eventValueMax = null;
eventForm.eventDurationMin = null;
eventForm.eventDurationMax = null;
eventForm.eventtype = null;
eventForm.fiterSensitiveUser = 1;
deptsIndex.value = null;
resetQueryForm();
await inquire(true);
};

View File

@@ -33,7 +33,9 @@ const config: any = ref({
],
unit: "次",
color: "#0a73ff",
waitTime: 5000,
rowNum: 7,
carousel: "page",
});
const sendPopUpBoxRef = ref();
const init = () => {