fix(接口测试): 修复测试报告列表状态信息不一致stop无和任务中心的stopped也不一致的缺陷
--bug=1011610 --user=王孝刚 【接口测试】-测试报告列表状态信息不一致stop无,和任务中心的stopped也不一致 https://www.tapd.cn/55049933/s/1124282
This commit is contained in:
parent
8c1ac043ba
commit
0ac8e7f018
|
@ -477,6 +477,9 @@ export default {
|
|||
if (item.ruleSize >= 0) {
|
||||
delete item.ruleSize;
|
||||
}
|
||||
if (item.delay) {
|
||||
item.delay = Number(item.delay);
|
||||
}
|
||||
if (item.body && item.body.kvs) {
|
||||
item.body.kvs.forEach(v => {
|
||||
if (v.files) {
|
||||
|
|
|
@ -200,6 +200,7 @@ export default {
|
|||
{text: 'Completed', value: 'Completed'},
|
||||
{text: 'Error', value: 'Error'},
|
||||
{text: 'Success', value: 'Success'},
|
||||
{text: 'stopped', value: 'stop'},
|
||||
{text: this.$t('error_report_library.option.name'), value: 'errorReportResult'},
|
||||
],
|
||||
reportTypeFilters:[],
|
||||
|
@ -262,6 +263,11 @@ export default {
|
|||
let data = response.data;
|
||||
this.total = data.itemCount;
|
||||
this.tableData = data.listObject;
|
||||
this.tableData.forEach(item => {
|
||||
if (item.status === 'STOP') {
|
||||
item.status = 'stopped'
|
||||
}
|
||||
})
|
||||
this.selectRows.clear();
|
||||
this.unSelection = data.listObject.map(s => s.id);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue