fix(测试跟踪): 首页测试计划遗留缺陷跳转问题

This commit is contained in:
song-cc-rock 2023-08-11 11:57:01 +08:00
parent 2265199e37
commit 2447330f72
1 changed files with 3 additions and 2 deletions

View File

@ -304,7 +304,6 @@ export default {
} else { } else {
this.dataSelectRange = ""; this.dataSelectRange = "";
} }
console.log(this.dataSelectRange);
this.loading = true; this.loading = true;
this.$nextTick(() => { this.$nextTick(() => {
// //
@ -473,7 +472,9 @@ export default {
} else if (this.dataSelectRange === 'AllRelatedTestPlan') { } else if (this.dataSelectRange === 'AllRelatedTestPlan') {
this.page.condition.allTestPlanIssue = true; this.page.condition.allTestPlanIssue = true;
} else { } else {
this.page.condition = {}; delete this.page.condition['thisWeekUnClosedTestPlanIssue'];
delete this.page.condition['unClosedTestPlanIssue'];
delete this.page.condition['allTestPlanIssue'];
} }
this.page.condition.projectId = this.projectId; this.page.condition.projectId = this.projectId;
this.page.condition.workspaceId = this.workspaceId; this.page.condition.workspaceId = this.workspaceId;