diff --git a/orion-visor-ui/src/views/asset-audit/connect-log/components/connect-log-clear-modal.vue b/orion-visor-ui/src/views/asset-audit/connect-log/components/connect-log-clear-modal.vue
index e7d21c08..65b13ab8 100644
--- a/orion-visor-ui/src/views/asset-audit/connect-log/components/connect-log-clear-modal.vue
+++ b/orion-visor-ui/src/views/asset-audit/connect-log/components/connect-log-clear-modal.vue
@@ -59,8 +59,8 @@
@@ -101,16 +101,14 @@
type: undefined,
status: undefined,
startTimeRange: undefined,
- limit: maxLimit.value,
+ limit: maxClearLimit,
};
};
- const maxLimit = ref(0);
const formModel = ref({});
// 打开
const open = (record: any) => {
- maxLimit.value = maxClearLimit;
renderForm({ ...defaultForm(), ...record });
setVisible(true);
};
diff --git a/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue b/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue
index 48e25965..47579815 100644
--- a/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue
+++ b/orion-visor-ui/src/views/exec/exec-command-log/components/exec-command-log-clear-modal.vue
@@ -51,8 +51,8 @@
@@ -85,7 +85,6 @@
const { loading, setLoading } = useLoading();
const { toOptions } = useDictStore();
- const maxLimit = ref(0);
const formModel = ref({});
const defaultForm = (): ExecLogQueryRequest => {
@@ -96,13 +95,12 @@
command: undefined,
status: undefined,
startTimeRange: undefined,
- limit: maxLimit.value,
+ limit: maxClearLimit,
};
};
// 打开
const open = (record: any) => {
- maxLimit.value = maxClearLimit;
renderForm({ ...defaultForm(), ...record });
setVisible(true);
};
diff --git a/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue b/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue
index 06aa4ff6..ffbbea1e 100644
--- a/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue
+++ b/orion-visor-ui/src/views/exec/upload-task/components/upload-task-clear-modal.vue
@@ -52,8 +52,8 @@
@@ -85,7 +85,6 @@
const { loading, setLoading } = useLoading();
const { toOptions } = useDictStore();
- const maxLimit = ref(0);
const formModel = ref({});
const defaultForm = (): UploadTaskQueryRequest => {
@@ -95,13 +94,12 @@
description: undefined,
status: undefined,
createTimeRange: undefined,
- limit: maxLimit.value,
+ limit: maxClearLimit,
};
};
// 打开
const open = (record: any) => {
- maxLimit.value = maxClearLimit;
renderForm({ ...defaultForm(), ...record });
setVisible(true);
};
diff --git a/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue b/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue
index 911c77be..223d9ccf 100644
--- a/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue
+++ b/orion-visor-ui/src/views/job/exec-job-log/components/exec-job-log-clear-modal.vue
@@ -46,8 +46,8 @@
@@ -80,7 +80,6 @@
const { loading, setLoading } = useLoading();
const { toOptions } = useDictStore();
- const maxLimit = ref(0);
const formModel = ref({});
const defaultForm = (): ExecLogQueryRequest => {
@@ -91,13 +90,12 @@
command: undefined,
status: undefined,
startTimeRange: undefined,
- limit: maxLimit.value,
+ limit: maxClearLimit,
};
};
// 打开
const open = (record: any) => {
- maxLimit.value = maxClearLimit;
renderForm({ ...defaultForm(), ...record });
setVisible(true);
};
diff --git a/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue b/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue
index f531df94..42275e62 100644
--- a/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue
+++ b/orion-visor-ui/src/views/user/operator-log/components/operator-log-clear-modal.vue
@@ -65,8 +65,8 @@
@@ -105,11 +105,10 @@
riskLevel: undefined,
result: undefined,
startTimeRange: undefined,
- limit: maxLimit.value,
+ limit: maxClearLimit,
};
};
- const maxLimit = ref(0);
const typeOptions = ref(toOptions(operatorLogTypeKey));
const formModel = ref({});
@@ -117,7 +116,6 @@
// 打开
const open = (record: OperatorLogQueryRequest) => {
- maxLimit.value = maxClearLimit;
renderForm({ ...defaultForm(), ...record });
setVisible(true);
};