修改北京现场问题
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
</el-checkbox-group>
|
</el-checkbox-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="残余电压告警阈值">
|
<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" />
|
@change="(e) => (e == null ? (form.eventValue = 0.1) : null)" style="width: 200px" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="持续时间告警阈值">
|
<el-form-item label="持续时间告警阈值">
|
||||||
|
|||||||
@@ -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 = () => {
|
const handleDialogOpened = () => {
|
||||||
if (datePickerRef.value?.interval !== 5) {
|
resetQueryForm();
|
||||||
datePickerRef.value?.setTheDate(5);
|
|
||||||
}
|
|
||||||
initDept();
|
initDept();
|
||||||
inquire(true);
|
inquire(true);
|
||||||
};
|
};
|
||||||
@@ -430,14 +443,7 @@ const inquire = (resetPage = false) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const clearInit = async () => {
|
const clearInit = async () => {
|
||||||
searchValue.value = "";
|
resetQueryForm();
|
||||||
eventForm.eventValueMin = null;
|
|
||||||
eventForm.eventValueMax = null;
|
|
||||||
eventForm.eventDurationMin = null;
|
|
||||||
eventForm.eventDurationMax = null;
|
|
||||||
eventForm.eventtype = null;
|
|
||||||
eventForm.fiterSensitiveUser = 1;
|
|
||||||
deptsIndex.value = null;
|
|
||||||
await inquire(true);
|
await inquire(true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,9 @@ const config: any = ref({
|
|||||||
],
|
],
|
||||||
unit: "次",
|
unit: "次",
|
||||||
color: "#0a73ff",
|
color: "#0a73ff",
|
||||||
|
waitTime: 5000,
|
||||||
rowNum: 7,
|
rowNum: 7,
|
||||||
|
carousel: "page",
|
||||||
});
|
});
|
||||||
const sendPopUpBoxRef = ref();
|
const sendPopUpBoxRef = ref();
|
||||||
const init = () => {
|
const init = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user