From 6ff5584be03b9bda70ae405362d798bd6d0f7420 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Mon, 20 Feb 2023 19:16:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E5=85=B3=E8=81=94=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E7=BB=93=E6=9E=9C=E6=97=A0=E8=AE=B0=E5=BD=95=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1023418 --user=宋昌昌 【测试跟踪】功能用例-编辑-关联测试用例-搜索无结果与原型不符 https://www.tapd.cn/55049933/s/1338963 --- .../business/case/components/case/relate/CaseRelateApiList.vue | 3 +++ .../case/components/case/relate/CaseRelateLoadList.vue | 3 +++ .../case/components/case/relate/CaseRelateScenarioList.vue | 3 +++ .../case/components/case/relate/CaseRelateUiScenarioList.vue | 3 +++ 4 files changed, 12 insertions(+) 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") {