fix(测试计划): 新增测试阶段字段在筛选列表中未更新

--bug=1008316 --user=李敏 【【测试计划】-新增测试阶段字段“集成测试”后计划列表测试阶段筛选列表未更新】https://www.tapd.cn/55049933/bugtrace/bugs/view?bug_id=1155049933001008316
This commit is contained in:
limin-fit2 2022-01-29 14:23:35 +08:00 committed by zhangdahai112
parent 9e905cbd25
commit 27b3c88863
2 changed files with 9 additions and 1 deletions

View File

@ -45,7 +45,7 @@
prop="options" :label-width="labelWidth">
<ms-single-handle-drag
:is-kv="form.scene === 'ISSUE'"
:disable="form.name === '用例等级' || isSystem"
:disable="form.name === '用例等级'"
:data="form.options"/>
</el-form-item>

View File

@ -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();
},