fix(接口测试): 修复任务中心误报状态显示错误的问题

--bug=1023860 --user=宋天阳 【接口测试】执行接口用例,报告结果是误报时,任务中心报告状态显示错误
https://www.tapd.cn/55049933/s/1343679
This commit is contained in:
song-tianyang 2023-02-27 17:16:31 +08:00 committed by 建国
parent 3e999373c1
commit 79d354a6ae
2 changed files with 2 additions and 3 deletions

View File

@ -115,8 +115,7 @@ export default {
if (status === "pending" || status === 'stopped') {
return 0;
}
if (status === 'saved' || status === 'completed' || status === 'success' || status === 'error' || status ===
'pending' || status === 'fake_error') {
if (status === 'saved' || status === 'completed' || status === 'success' || status === 'error' || status === 'pending' || status === 'fake_error' || status === 'errorreportresult') {
return 100;
}
}

View File

@ -10,7 +10,7 @@
{{ showStatus(status) }}
</el-tag>
<el-tag size="mini" type="danger" style="background-color: #F6972A; color: #FFFFFF"
v-else-if="getStatus(status) === 'fake_error'">
v-else-if="getStatus(status) === 'fake_error'|| getStatus(status)==='errorreportresult'">
FakeError
</el-tag>
<el-tag v-else size="mini" type="info">