diff --git a/test-track/frontend/src/business/case/components/case/relate/CaseRelateApiList.vue b/test-track/frontend/src/business/case/components/case/relate/CaseRelateApiList.vue index 8416de183c..c0c7272d89 100644 --- a/test-track/frontend/src/business/case/components/case/relate/CaseRelateApiList.vue +++ b/test-track/frontend/src/business/case/components/case/relate/CaseRelateApiList.vue @@ -37,6 +37,7 @@ :total="total" :showSelectAll="false" :screenHeight="screenHeight" + :refresh-by-search.sync="refreshBySearch" @selectCountChange="selectCountChange" @refresh="initTable" ref="table" @@ -148,6 +149,7 @@ export default { pageSize: 10, total: 0, versionFilters: [], + refreshBySearch: false }; }, props: { @@ -194,6 +196,7 @@ export default { this.$emit("selectCountChange", data); }, initTable(projectId) { + this.refreshBySearch = true; this.condition.status = ""; this.condition.moduleIds = this.selectNodeIds; if (projectId != null && typeof projectId === "string") { diff --git a/test-track/frontend/src/business/case/components/case/relate/CaseRelateLoadList.vue b/test-track/frontend/src/business/case/components/case/relate/CaseRelateLoadList.vue index 8ecdc4eb52..05dbffb75b 100644 --- a/test-track/frontend/src/business/case/components/case/relate/CaseRelateLoadList.vue +++ b/test-track/frontend/src/business/case/components/case/relate/CaseRelateLoadList.vue @@ -31,6 +31,7 @@ :total="total" :showSelectAll="false" :screenHeight="screenHeight" + :refresh-by-search.sync="refreshBySearch" @selectCountChange="selectCountChange" @refresh="initTable" ref="table" @@ -133,6 +134,7 @@ export default { pageSize: 10, total: 0, versionFilters: [], + refreshBySearch: false }; }, props: { @@ -169,6 +171,7 @@ export default { this.$emit("selectCountChange", data); }, initTable(projectId) { + this.refreshBySearch = true; this.condition.status = ""; if (projectId != null && typeof projectId === "string") { this.condition.projectId = projectId; diff --git a/test-track/frontend/src/business/case/components/case/relate/CaseRelateScenarioList.vue b/test-track/frontend/src/business/case/components/case/relate/CaseRelateScenarioList.vue index 98e873fafa..d44921541e 100644 --- a/test-track/frontend/src/business/case/components/case/relate/CaseRelateScenarioList.vue +++ b/test-track/frontend/src/business/case/components/case/relate/CaseRelateScenarioList.vue @@ -33,6 +33,7 @@ :total="total" :showSelectAll="false" :screenHeight="screenHeight" + :refresh-by-search.sync="refreshBySearch" @selectCountChange="selectCountChange" @refresh="initTable" ref="table" @@ -158,6 +159,7 @@ export default { pageSize: 10, total: 0, versionFilters: [], + refreshBySearch: false }; }, props: { @@ -198,6 +200,7 @@ export default { this.$emit("selectCountChange", data); }, initTable(projectId) { + this.refreshBySearch = true; this.condition.status = ""; this.condition.moduleIds = this.selectNodeIds; if (projectId != null && typeof projectId === "string") { diff --git a/test-track/frontend/src/business/case/components/case/relate/CaseRelateUiScenarioList.vue b/test-track/frontend/src/business/case/components/case/relate/CaseRelateUiScenarioList.vue index 2917df5486..9d39bf5440 100644 --- a/test-track/frontend/src/business/case/components/case/relate/CaseRelateUiScenarioList.vue +++ b/test-track/frontend/src/business/case/components/case/relate/CaseRelateUiScenarioList.vue @@ -40,6 +40,7 @@ :total="total" :showSelectAll="false" :screenHeight="screenHeight" + :refresh-by-search.sync="refreshBySearch" @selectCountChange="selectCountChange" @refresh="initTable" ref="table" @@ -156,6 +157,7 @@ export default { pageSize: 10, total: 0, versionFilters: [], + refreshBySearch: false }; }, props: { @@ -195,6 +197,7 @@ export default { this.$emit("selectCountChange", data); }, initTable(projectId) { + this.refreshBySearch = true; this.condition.status = ""; this.condition.moduleIds = this.selectNodeIds; if (projectId != null && typeof projectId === "string") {