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,17 +156,20 @@ export default {
|
||||||
},
|
},
|
||||||
rowClick(row) {
|
rowClick(row) {
|
||||||
this.showResponse = false;
|
this.showResponse = false;
|
||||||
if (this.isTemplate) {
|
this.$nextTick(()=>{
|
||||||
if (row.response) {
|
if (this.isTemplate) {
|
||||||
this.showResponse = true;
|
if (row.response) {
|
||||||
this.response = row.response;
|
this.showResponse = true;
|
||||||
}
|
this.response = row.response;
|
||||||
} else {
|
}
|
||||||
if (row.reportId && row.lastResult !== "Running" && row.lastResult !== "Waiting") {
|
} else {
|
||||||
this.showResponse = true;
|
if (row.reportId && row.lastResult !== "Running" && row.lastResult !== "Waiting") {
|
||||||
this.reportId = row.reportId;
|
this.showResponse = true;
|
||||||
}
|
this.reportId = row.reportId;
|
||||||
}
|
console.log(this.isTemplate);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue