fix(测试跟踪): 首页TOP10列表功能用例的跳转问题
--bug=1020064 --user=宋昌昌 【测试跟踪】首页-过去7天测试计划失败用例TOP 10-点击功能用例无法跳转 https://www.tapd.cn/55049933/s/1301655
This commit is contained in:
parent
4db292d235
commit
d861bb767e
|
@ -664,6 +664,9 @@ export default {
|
|||
this.condition.selectThisWeedRelevanceData = false;
|
||||
this.condition.caseCoverage = null;
|
||||
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) {
|
||||
case 'thisWeekCount':
|
||||
this.condition.selectThisWeedData = true;
|
||||
|
|
|
@ -115,6 +115,9 @@ export default {
|
|||
case "scenario":
|
||||
this.$emit('redirectPage', 'scenarioWithQuery', 'scenario', 'edit:' + param);
|
||||
break;
|
||||
case "testCase":
|
||||
this.$emit('redirectPage', 'testCase', 'case', 'single:' + param);
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue