fix(接口管理): 修复场景列表显示问题

--bug=1038719 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038719
--bug=1038717 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038717
--bug=1038716 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038716
--bug=1038697 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038697
This commit is contained in:
guoyuqi 2024-04-08 16:01:30 +08:00 committed by 刘瑞斌
parent 625d832310
commit dd5a5d1a8e
2 changed files with 13 additions and 1 deletions

View File

@ -762,6 +762,10 @@
dataIndex: 'status', dataIndex: 'status',
slotName: 'status', slotName: 'status',
titleSlotName: 'statusFilter', titleSlotName: 'statusFilter',
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
showDrag: true, showDrag: true,
width: 140, width: 140,
}, },
@ -790,6 +794,7 @@
{ {
title: 'apiScenario.table.columns.steps', title: 'apiScenario.table.columns.steps',
dataIndex: 'stepTotal', dataIndex: 'stepTotal',
showInTable: false,
showDrag: true, showDrag: true,
width: 100, width: 100,
}, },
@ -797,17 +802,21 @@
title: 'apiScenario.table.columns.passRate', title: 'apiScenario.table.columns.passRate',
dataIndex: 'requestPassRate', dataIndex: 'requestPassRate',
showDrag: true, showDrag: true,
showInTable: false,
width: 100, width: 100,
}, },
{ {
title: 'apiScenario.table.columns.module', title: 'apiScenario.table.columns.module',
dataIndex: 'modulePath', dataIndex: 'modulePath',
showTooltip: true,
showInTable: false,
showDrag: true, showDrag: true,
width: 176, width: 176,
}, },
{ {
title: 'apiScenario.table.columns.createTime', title: 'apiScenario.table.columns.createTime',
dataIndex: 'createTime', dataIndex: 'createTime',
showInTable: false,
sortable: { sortable: {
sortDirections: ['ascend', 'descend'], sortDirections: ['ascend', 'descend'],
sorter: true, sorter: true,
@ -818,6 +827,7 @@
{ {
title: 'apiScenario.table.columns.updateTime', title: 'apiScenario.table.columns.updateTime',
dataIndex: 'updateTime', dataIndex: 'updateTime',
showInTable: false,
sortable: { sortable: {
sortDirections: ['ascend', 'descend'], sortDirections: ['ascend', 'descend'],
sorter: true, sorter: true,
@ -829,6 +839,7 @@
title: 'apiScenario.table.columns.createUser', title: 'apiScenario.table.columns.createUser',
dataIndex: 'createUserName', dataIndex: 'createUserName',
slotName: 'createUserName', slotName: 'createUserName',
showInTable: false,
titleSlotName: 'createUserFilter', titleSlotName: 'createUserFilter',
showTooltip: true, showTooltip: true,
showDrag: true, showDrag: true,
@ -838,6 +849,7 @@
title: 'apiScenario.table.columns.updateUser', title: 'apiScenario.table.columns.updateUser',
dataIndex: 'updateUserName', dataIndex: 'updateUserName',
slotName: 'updateUserName', slotName: 'updateUserName',
showInTable: false,
titleSlotName: 'updateUserFilter', titleSlotName: 'updateUserFilter',
showTooltip: true, showTooltip: true,
showDrag: true, showDrag: true,

View File

@ -34,7 +34,7 @@ export default {
'apiScenario.table.columns.name': '场景名称', 'apiScenario.table.columns.name': '场景名称',
'apiScenario.table.columns.level': '场景等级', 'apiScenario.table.columns.level': '场景等级',
'apiScenario.table.columns.status': '状态', 'apiScenario.table.columns.status': '状态',
'apiScenario.table.columns.runResult': '行结果', 'apiScenario.table.columns.runResult': '行结果',
'apiScenario.table.columns.tags': '标签', 'apiScenario.table.columns.tags': '标签',
'apiScenario.table.columns.scenarioEnv': '场景环境', 'apiScenario.table.columns.scenarioEnv': '场景环境',
'apiScenario.table.columns.steps': '步骤数', 'apiScenario.table.columns.steps': '步骤数',