mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 21:19:52 +08:00
fix(测试跟踪): 首页TOP10列表功能用例的跳转问题
--bug=1020064 --user=宋昌昌 【测试跟踪】首页-过去7天测试计划失败用例TOP 10-点击功能用例无法跳转 https://www.tapd.cn/55049933/s/1301655
This commit is contained in:
parent
d553aea29b
commit
2e9b7b93f1
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user