From 27b3c888639e7a6da63bdc46f0d3ff791a42f089 Mon Sep 17 00:00:00 2001 From: limin-fit2 Date: Sat, 29 Jan 2022 14:23:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=B5=8B=E8=AF=95=E9=98=B6=E6=AE=B5=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=9C=A8=E7=AD=9B=E9=80=89=E5=88=97=E8=A1=A8=E4=B8=AD?= =?UTF-8?q?=E6=9C=AA=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1008316 --user=李敏 【【测试计划】-新增测试阶段字段“集成测试”后计划列表测试阶段筛选列表未更新】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001008316 --- .../settings/workspace/template/CustomFieldEdit.vue | 2 +- .../components/track/plan/components/TestPlanList.vue | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/business/components/settings/workspace/template/CustomFieldEdit.vue b/frontend/src/business/components/settings/workspace/template/CustomFieldEdit.vue index 24e7a430a5..da07587cd9 100644 --- a/frontend/src/business/components/settings/workspace/template/CustomFieldEdit.vue +++ b/frontend/src/business/components/settings/workspace/template/CustomFieldEdit.vue @@ -45,7 +45,7 @@ prop="options" :label-width="labelWidth"> diff --git a/frontend/src/business/components/track/plan/components/TestPlanList.vue b/frontend/src/business/components/track/plan/components/TestPlanList.vue index 3c7857e761..dcf8d6bab1 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanList.vue @@ -383,6 +383,14 @@ export default { this.condition.orders = getLastTableSortField(this.tableHeaderKey); getPlanStageOption((data) => { this.stageOption = data; + if (this.stageOption.length > 0) { + this.stageFilters = this.stageOption; + this.stageFilters.forEach((stage) => { + if (stage.system != null && stage.system) { + stage.text = this.$t(stage.text); + } + }) + } }); this.initTableData(); },