fix(测试跟踪): 解决测试计划无法显示测试阶段问题
This commit is contained in:
parent
f989539ace
commit
14be65e84b
|
@ -16,7 +16,12 @@
|
||||||
stage: {
|
stage: {
|
||||||
type: String
|
type: String
|
||||||
},
|
},
|
||||||
option: []
|
option: {
|
||||||
|
type:Array,
|
||||||
|
default() {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -492,8 +492,8 @@ export default {
|
||||||
this.hasEditPermission = hasPermission('PROJECT_TRACK_PLAN:READ+EDIT');
|
this.hasEditPermission = hasPermission('PROJECT_TRACK_PLAN:READ+EDIT');
|
||||||
this.hasSchedulePermission = hasPermission('PROJECT_TRACK_PLAN:READ+SCHEDULE');
|
this.hasSchedulePermission = hasPermission('PROJECT_TRACK_PLAN:READ+SCHEDULE');
|
||||||
this.condition.orders = getLastTableSortField(this.tableHeaderKey);
|
this.condition.orders = getLastTableSortField(this.tableHeaderKey);
|
||||||
getPlanStageOption((data) => {
|
getPlanStageOption().then(r => {
|
||||||
this.stageOption = data;
|
this.stageOption = r.data;
|
||||||
this.setAdvSearchStageOption();
|
this.setAdvSearchStageOption();
|
||||||
if (this.stageOption.length > 0) {
|
if (this.stageOption.length > 0) {
|
||||||
this.stageFilters = this.stageOption;
|
this.stageFilters = this.stageOption;
|
||||||
|
|
Loading…
Reference in New Issue