From e27290a69a38906362a38794ca16f694fbc83932 Mon Sep 17 00:00:00 2001 From: zhangdahai112 Date: Wed, 23 Nov 2022 13:57:02 +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=94UI?= =?UTF-8?q?=E7=94=A8=E4=BE=8B-ID=E4=B8=BA=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1020137 --user=张大海 【测试跟踪】测试计划-关联UI用例-ID为空 https://www.tapd.cn/55049933/s/1302348 --- .../view/comonents/ui/RelevanceUiScenarioList.vue | 14 -------------- .../view/comonents/ui/TestPlanUiScenarioList.vue | 4 ++-- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue index 1125a734b1..b68935dc32 100644 --- a/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/ui/RelevanceUiScenarioList.vue @@ -174,7 +174,6 @@ export default { if (!this.projectId) { return; } - this.getProject(this.projectId); this.selectRows = new Set(); if (this.condition.filters) { this.condition.filters.status = ["Prepare", "Underway", "Completed"]; @@ -223,19 +222,6 @@ export default { this.projectList = res.data; }); }, - getProject(projectId) { - if (projectId) { - getProjectApplicationConfig('SCENARIO_CUSTOM_NUM') - .then(result => { - let data = result.data; - if (data && data.typeValue === 'true') { - this.customNum = true; - } else { - this.customNum = false; - } - }); - } - }, changeVersion(currentVersion) { this.condition.versionId = currentVersion || null; this.search(); diff --git a/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue b/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue index f902ebb56e..8dc3634ca7 100644 --- a/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue +++ b/test-track/frontend/src/business/plan/view/comonents/ui/TestPlanUiScenarioList.vue @@ -33,13 +33,13 @@ v-if="item.id == 'num'" :fields-width="fieldsWidth" sortable - prop="customNum" + prop="num" min-width="80px" label="ID">