fix(测试跟踪): 修复UI 用例统计分析饼图展示

--bug=1018848 --user=刘瑶 【测试跟踪】报告-UI 用例统计分析-未执行和失败tab页未显示数据且点击执行结果未显示报告 https://www.tapd.cn/55049933/s/1280207
This commit is contained in:
nathan.liu 2022-10-27 15:08:03 +08:00 committed by nathanliu2022
parent 5c72885c91
commit 7d15321213
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
<ui-scenario-result :is-db="isDb" :share-id="shareId" :is-share="isShare" <ui-scenario-result :is-db="isDb" :share-id="shareId" :is-share="isShare"
:report="report" :is-template="isTemplate" :plan-id="planId" :report="report" :is-template="isTemplate" :plan-id="planId"
:ui-all-cases="uiAllCases" :ui-all-cases="uiAllCases"
:filter-status="['unexecute', 'STOP', 'PENDING']" :filter-status="['unexecute', 'STOP', 'PENDING', 'STOPPED']"
@setSize="setUnExecuteSize"/> @setSize="setUnExecuteSize"/>
</el-tab-pane> </el-tab-pane>

View File

@ -82,7 +82,7 @@ export default {
}, },
getDataByStatus(status) { getDataByStatus(status) {
if(status === "STOPPED"){ if(status === "STOPPED"){
status = "ERROR"; status = "PENDING";
} }
let tmp = this.caseDataMap.get(status); let tmp = this.caseDataMap.get(status);
if (!tmp) { if (!tmp) {