diff --git a/src/views/VoltageSag_BJ/components/config.vue b/src/views/VoltageSag_BJ/components/config.vue
index 910ed82..a2e9e8a 100644
--- a/src/views/VoltageSag_BJ/components/config.vue
+++ b/src/views/VoltageSag_BJ/components/config.vue
@@ -39,7 +39,7 @@
- (e == null ? (form.eventValue = 0.1) : null)" style="width: 200px" />
diff --git a/src/views/VoltageSag_BJ/components/send.vue b/src/views/VoltageSag_BJ/components/send.vue
index dec16c5..3531b18 100644
--- a/src/views/VoltageSag_BJ/components/send.vue
+++ b/src/views/VoltageSag_BJ/components/send.vue
@@ -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);
};
diff --git a/src/views/VoltageSag_BJ/components/sendTrends.vue b/src/views/VoltageSag_BJ/components/sendTrends.vue
index 680b9dd..161b637 100644
--- a/src/views/VoltageSag_BJ/components/sendTrends.vue
+++ b/src/views/VoltageSag_BJ/components/sendTrends.vue
@@ -33,7 +33,9 @@ const config: any = ref({
],
unit: "次",
color: "#0a73ff",
+ waitTime: 5000,
rowNum: 7,
+ carousel: "page",
});
const sendPopUpBoxRef = ref();
const init = () => {