fix(测试跟踪): 修复UI 用例统计分析-未执行和失败tab页未显示数据且点击执行结果未显示报告
--bug=1018848 --user=刘瑶 【测试跟踪】报告-UI 用例统计分析-未执行和失败tab页未显示数据且点击执行结果未显示报告 https://www.tapd.cn/55049933/s/1277418
This commit is contained in:
parent
b729000306
commit
640b47805a
|
@ -81,6 +81,9 @@ export default {
|
||||||
this.stepCharData = stepCharData;
|
this.stepCharData = stepCharData;
|
||||||
},
|
},
|
||||||
getDataByStatus(status) {
|
getDataByStatus(status) {
|
||||||
|
if(status === "STOPPED"){
|
||||||
|
status = "ERROR";
|
||||||
|
}
|
||||||
let tmp = this.caseDataMap.get(status);
|
let tmp = this.caseDataMap.get(status);
|
||||||
if (!tmp) {
|
if (!tmp) {
|
||||||
tmp = this.caseDataMap.get('Prepare');
|
tmp = this.caseDataMap.get('Prepare');
|
||||||
|
|
|
@ -156,6 +156,7 @@ export default {
|
||||||
},
|
},
|
||||||
rowClick(row) {
|
rowClick(row) {
|
||||||
this.showResponse = false;
|
this.showResponse = false;
|
||||||
|
this.$nextTick(()=>{
|
||||||
if (this.isTemplate) {
|
if (this.isTemplate) {
|
||||||
if (row.response) {
|
if (row.response) {
|
||||||
this.showResponse = true;
|
this.showResponse = true;
|
||||||
|
@ -165,8 +166,10 @@ export default {
|
||||||
if (row.reportId && row.lastResult !== "Running" && row.lastResult !== "Waiting") {
|
if (row.reportId && row.lastResult !== "Running" && row.lastResult !== "Waiting") {
|
||||||
this.showResponse = true;
|
this.showResponse = true;
|
||||||
this.reportId = row.reportId;
|
this.reportId = row.reportId;
|
||||||
|
console.log(this.isTemplate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue