fix(接口测试): 修复未执行状态的集合报告在任务中心无法查看详情的问题

--bug=1013720 --user=宋天阳 【接口测试】场景批量执行 - 集合报告,产生的未执行状态的集合报告,在任务中心无法查看详情
https://www.tapd.cn/55049933/s/1170447
This commit is contained in:
song-tianyang 2022-05-31 18:07:48 +08:00 committed by TIanyang
parent 9eb8cc3106
commit 647ffccd5c
2 changed files with 4 additions and 2 deletions

View File

@ -197,6 +197,7 @@ export default {
{text: 'Success', value: 'Success'},
{text: 'stopped', value: 'stop'},
{text: 'Rerunning', value: 'Rerunning'},
{text: 'Unexecute', value: 'unexecute'},
{text: this.$t('error_report_library.option.name'), value: 'errorReportResult'},
],
reportTypeFilters:[],

View File

@ -203,6 +203,7 @@ export default {
{id: 'success', label: 'Success'},
{id: 'waiting', label: 'Waiting'},
{id: 'fail', label: 'Fail'},
{id: 'unexecute', label: 'unexecute'},
{id: 'stop', label: 'Stopped'}
],
condition: {triggerMode: "", executionStatus: ""},
@ -338,7 +339,7 @@ export default {
showStop(status) {
if (status) {
status = status.toLowerCase();
if (status === "stop" || status === 'saved' || status === 'completed' || status === 'success' || status === 'error' || status === 'errorreportresult') {
if (status === "stop" || status === 'saved' || status === 'completed' || status === 'success' || status === 'error' || status === 'unexecute' || status === 'errorreportresult') {
return false;
}
}
@ -362,7 +363,7 @@ export default {
let status = row.executionStatus;
if (status) {
status = row.executionStatus.toLowerCase();
if (status === 'saved' || status === 'completed' || status === 'success' || status === 'error' || status === 'errorreportresult') {
if (status === 'saved' || status === 'completed' || status === 'success' || status === 'error' || status === 'unexecute' || status === 'errorreportresult') {
this.size = 1400;
this.reportId = row.id;
this.executionModule = row.executionModule;