diff --git a/src/components/Table/TagSearch/index.vue b/src/components/Table/TagSearch/index.vue index 7171048f2..570ec9648 100644 --- a/src/components/Table/TagSearch/index.vue +++ b/src/components/Table/TagSearch/index.vue @@ -57,7 +57,7 @@ export default { }, getUrlQuery: { type: Boolean, - default: () => true + default: () => false }, default: { type: Object, @@ -213,12 +213,10 @@ export default { delete routeFilter.search } const asFilterTags = _.cloneDeep(this.filterTags) - setTimeout(() => { - this.filterTags = { - ...asFilterTags, - ...routeFilter - } - }, 100) + this.filterTags = { + ...asFilterTags, + ...routeFilter + } }, getValueLabel(key, value) { for (const field of this.options) { diff --git a/src/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionList.vue index 59cb4c3e4..b091768d2 100644 --- a/src/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionList.vue +++ b/src/views/accounts/AccountBackup/AccountBackupDetail/AccountBackupExecution/AccountBackupExecutionList.vue @@ -99,6 +99,12 @@ export default { hasBulkUpdate: false } } + }, + mounted() { + const plan_id = this.$route.query.plan_id + if (plan_id !== undefined) { + this.tableConfig.url = `${this.tableConfig.url}?plan_id=${plan_id}` + } } } diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue b/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue index 751ff554f..fe175c04f 100644 --- a/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue +++ b/src/views/accounts/AccountChangeSecret/AccountChangeSecretDetail/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue @@ -119,6 +119,12 @@ export default { hasBulkUpdate: false } } + }, + mounted() { + const automation_id = this.$route.query.automation_id + if (automation_id !== undefined) { + this.tableConfig.url = `${this.tableConfig.url}?automation_id=${automation_id}` + } } } diff --git a/src/views/accounts/AccountGather/TaskDetail/TaskExecutionList.vue b/src/views/accounts/AccountGather/TaskDetail/TaskExecutionList.vue index 9ed4015af..f5451c8f5 100644 --- a/src/views/accounts/AccountGather/TaskDetail/TaskExecutionList.vue +++ b/src/views/accounts/AccountGather/TaskDetail/TaskExecutionList.vue @@ -101,6 +101,12 @@ export default { hasBulkUpdate: false } } + }, + mounted() { + const automation_id = this.$route.query.automation_id + if (automation_id !== undefined) { + this.tableConfig.url = `${this.tableConfig.url}?automation_id=${automation_id}` + } } } diff --git a/src/views/accounts/AccountPush/AccountPushExecutionList.vue b/src/views/accounts/AccountPush/AccountPushExecutionList.vue index 77e193190..7e5f3a18a 100644 --- a/src/views/accounts/AccountPush/AccountPushExecutionList.vue +++ b/src/views/accounts/AccountPush/AccountPushExecutionList.vue @@ -119,6 +119,12 @@ export default { hasBulkUpdate: false } } + }, + mounted() { + const automation_id = this.$route.query.automation_id + if (automation_id !== undefined) { + this.tableConfig.url = `${this.tableConfig.url}?automation_id=${automation_id}` + } } }