diff --git a/frontend/src/views/api-test/scenario/components/scenarioTable.vue b/frontend/src/views/api-test/scenario/components/scenarioTable.vue index bdd96b84a7..3a4649374d 100644 --- a/frontend/src/views/api-test/scenario/components/scenarioTable.vue +++ b/frontend/src/views/api-test/scenario/components/scenarioTable.vue @@ -762,6 +762,10 @@ dataIndex: 'status', slotName: 'status', titleSlotName: 'statusFilter', + sortable: { + sortDirections: ['ascend', 'descend'], + sorter: true, + }, showDrag: true, width: 140, }, @@ -790,6 +794,7 @@ { title: 'apiScenario.table.columns.steps', dataIndex: 'stepTotal', + showInTable: false, showDrag: true, width: 100, }, @@ -797,17 +802,21 @@ title: 'apiScenario.table.columns.passRate', dataIndex: 'requestPassRate', showDrag: true, + showInTable: false, width: 100, }, { title: 'apiScenario.table.columns.module', dataIndex: 'modulePath', + showTooltip: true, + showInTable: false, showDrag: true, width: 176, }, { title: 'apiScenario.table.columns.createTime', dataIndex: 'createTime', + showInTable: false, sortable: { sortDirections: ['ascend', 'descend'], sorter: true, @@ -818,6 +827,7 @@ { title: 'apiScenario.table.columns.updateTime', dataIndex: 'updateTime', + showInTable: false, sortable: { sortDirections: ['ascend', 'descend'], sorter: true, @@ -829,6 +839,7 @@ title: 'apiScenario.table.columns.createUser', dataIndex: 'createUserName', slotName: 'createUserName', + showInTable: false, titleSlotName: 'createUserFilter', showTooltip: true, showDrag: true, @@ -838,6 +849,7 @@ title: 'apiScenario.table.columns.updateUser', dataIndex: 'updateUserName', slotName: 'updateUserName', + showInTable: false, titleSlotName: 'updateUserFilter', showTooltip: true, showDrag: true, diff --git a/frontend/src/views/api-test/scenario/locale/zh-CN.ts b/frontend/src/views/api-test/scenario/locale/zh-CN.ts index 95a531806a..0bb6b175a5 100644 --- a/frontend/src/views/api-test/scenario/locale/zh-CN.ts +++ b/frontend/src/views/api-test/scenario/locale/zh-CN.ts @@ -34,7 +34,7 @@ export default { 'apiScenario.table.columns.name': '场景名称', 'apiScenario.table.columns.level': '场景等级', 'apiScenario.table.columns.status': '状态', - 'apiScenario.table.columns.runResult': '运行结果', + 'apiScenario.table.columns.runResult': '执行结果', 'apiScenario.table.columns.tags': '标签', 'apiScenario.table.columns.scenarioEnv': '场景环境', 'apiScenario.table.columns.steps': '步骤数',