From a08ae64fa9373833d674a76cce4b29af35647cbb Mon Sep 17 00:00:00 2001 From: jianxing Date: Wed, 12 Jul 2023 15:19:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E5=85=B3=E8=81=94=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E7=94=A8=E4=BE=8B=EF=BC=8C=E9=80=89=E4=B8=AD=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=EF=BC=8C=E6=B7=BB=E5=8A=A0=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E5=90=8E=EF=BC=8C=E6=A8=A1=E5=9D=97=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027718 --user=陈建星 【测试跟踪】测试计划关联功能用例页面选择模块后按照用例等级筛选-点击下一页会显示全部模块用例 https://www.tapd.cn/55049933/s/1392195 --- .../view/comonents/functional/FunctionalRelevance.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue index 2d8a0b0ce0..a6e501ff15 100644 --- a/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue +++ b/test-track/frontend/src/business/plan/view/comonents/functional/FunctionalRelevance.vue @@ -224,7 +224,7 @@ export default { this.setConditionModuleIdParam(); this.page.condition.projectId = this.projectId; this.page.condition.versionId = null; - this.getProjectNode(); + this.getProjectNodeForce(); this.getTestCases(); this.getCustomNum(); this.getVersionOptions(); @@ -310,6 +310,12 @@ export default { this.$refs.table.clear(); }, getProjectNode(projectId, condition) { + if (this.selectNodeIds && this.selectNodeIds.length > 0) { + return; + } + this.getProjectNodeForce(projectId, condition); + }, + getProjectNodeForce(projectId, condition) { const index = this.projects.findIndex(project => project.id === projectId); if (index !== -1) { this.projectName = this.projects[index].name;