fix(测试跟踪): 首页TOP10列表功能用例的跳转问题

--bug=1020064 --user=宋昌昌 【测试跟踪】首页-过去7天测试计划失败用例TOP 10-点击功能用例无法跳转 https://www.tapd.cn/55049933/s/1301655
This commit is contained in:
song-cc-rock 2022-11-22 18:29:58 +08:00 committed by 刘瑞斌
parent d553aea29b
commit 2e9b7b93f1
2 changed files with 6 additions and 0 deletions

View File

@ -664,6 +664,9 @@ export default {
this.condition.selectThisWeedRelevanceData = false; this.condition.selectThisWeedRelevanceData = false;
this.condition.caseCoverage = null; this.condition.caseCoverage = null;
this.condition.filters.reviewStatus = ["Prepare", "Pass", "UnPass"]; this.condition.filters.reviewStatus = ["Prepare", "Pass", "UnPass"];
if (this.selectDataRange && this.selectDataRange.indexOf("single") > -1) {
this.condition.ids = [this.selectDataRange.substring(7)];
}
switch (this.selectDataRange) { switch (this.selectDataRange) {
case 'thisWeekCount': case 'thisWeekCount':
this.condition.selectThisWeedData = true; this.condition.selectThisWeedData = true;

View File

@ -115,6 +115,9 @@ export default {
case "scenario": case "scenario":
this.$emit('redirectPage', 'scenarioWithQuery', 'scenario', 'edit:' + param); this.$emit('redirectPage', 'scenarioWithQuery', 'scenario', 'edit:' + param);
break; break;
case "testCase":
this.$emit('redirectPage', 'testCase', 'case', 'single:' + param);
break;
} }
} }
}, },