fix(测试跟踪): 解决测试计划无法显示测试阶段问题

This commit is contained in:
guoyuqi 2022-10-11 18:59:37 +08:00 committed by xiaomeinvG
parent f989539ace
commit 14be65e84b
2 changed files with 8 additions and 3 deletions

View File

@ -16,7 +16,12 @@
stage: {
type: String
},
option: []
option: {
type:Array,
default() {
return [];
}
}
}
}
</script>

View File

@ -492,8 +492,8 @@ export default {
this.hasEditPermission = hasPermission('PROJECT_TRACK_PLAN:READ+EDIT');
this.hasSchedulePermission = hasPermission('PROJECT_TRACK_PLAN:READ+SCHEDULE');
this.condition.orders = getLastTableSortField(this.tableHeaderKey);
getPlanStageOption((data) => {
this.stageOption = data;
getPlanStageOption().then(r => {
this.stageOption = r.data;
this.setAdvSearchStageOption();
if (this.stageOption.length > 0) {
this.stageFilters = this.stageOption;