fix(接口测试): 修复任务中心误报状态显示错误的问题
--bug=1023860 --user=宋天阳 【接口测试】执行接口用例,报告结果是误报时,任务中心报告状态显示错误 https://www.tapd.cn/55049933/s/1343679
This commit is contained in:
parent
3e999373c1
commit
79d354a6ae
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue