feat(测试计划): 测试计划资源列表增加创建时间和更新时间

This commit is contained in:
Jianguo-Genius 2024-08-19 16:21:39 +08:00 committed by 建国
parent 7bd4dd6728
commit bb22db22ab
7 changed files with 88 additions and 2 deletions

View File

@ -83,4 +83,10 @@ public class TestPlanApiCasePageResponse implements Serializable {
@Schema(description = "接口用例id") @Schema(description = "接口用例id")
private String apiTestCaseId; private String apiTestCaseId;
@Schema(description = "创建时间")
private Long createTime;
@Schema(description = "更新时间")
private Long updateTime;
} }

View File

@ -79,4 +79,10 @@ public class TestPlanApiScenarioPageResponse implements Serializable {
@Schema(description = "脚本错误标识") @Schema(description = "脚本错误标识")
private String scriptIdentifier; private String scriptIdentifier;
@Schema(description = "创建时间")
private Long createTime;
@Schema(description = "更新时间")
private Long updateTime;
} }

View File

@ -414,7 +414,8 @@
atc.project_id, atc.project_id,
atc.api_definition_id, atc.api_definition_id,
atc.create_user, atc.create_user,
t.create_time, atc.create_time,
atc.update_time,
t.environment_id, t.environment_id,
a.module_id, a.module_id,
a.path, a.path,

View File

@ -93,8 +93,9 @@
api_scenario.project_id, api_scenario.project_id,
api_scenario.create_user, api_scenario.create_user,
api_scenario.status, api_scenario.status,
api_scenario.create_time,
api_scenario.update_time,
api_scenario.id as apiScenarioId, api_scenario.id as apiScenarioId,
test_plan_api_scenario.create_time,
test_plan_api_scenario.environment_id, test_plan_api_scenario.environment_id,
api_scenario.module_id, api_scenario.module_id,
test_plan_api_scenario.last_exec_result, test_plan_api_scenario.last_exec_result,

View File

@ -222,6 +222,30 @@
showTooltip: true, showTooltip: true,
showDrag: true, showDrag: true,
}, },
{
title: 'case.tableColumnCreateTime',
slotName: 'createTime',
dataIndex: 'createTime',
showInTable: true,
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
width: 200,
showDrag: true,
},
{
title: 'case.tableColumnUpdateTime',
slotName: 'updateTime',
dataIndex: 'updateTime',
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
showInTable: true,
width: 200,
showDrag: true,
},
{ {
title: 'case.caseLevel', title: 'case.caseLevel',
dataIndex: 'priority', dataIndex: 'priority',

View File

@ -242,6 +242,30 @@
showDrag: true, showDrag: true,
showInTable: false, showInTable: false,
}, },
{
title: 'apiScenario.table.columns.createTime',
slotName: 'createTime',
dataIndex: 'createTime',
showInTable: true,
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
width: 200,
showDrag: true,
},
{
title: 'apiScenario.table.columns.updateTime',
slotName: 'updateTime',
dataIndex: 'updateTime',
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
showInTable: true,
width: 200,
showDrag: true,
},
{ {
title: 'common.belongModule', title: 'common.belongModule',
dataIndex: 'moduleName', dataIndex: 'moduleName',

View File

@ -303,6 +303,30 @@
width: 150, width: 150,
showDrag: true, showDrag: true,
}, },
{
title: 'caseManagement.featureCase.tableColumnCreateTime',
slotName: 'createTime',
dataIndex: 'createTime',
showInTable: true,
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
width: 200,
showDrag: true,
},
{
title: 'caseManagement.featureCase.tableColumnUpdateTime',
slotName: 'updateTime',
dataIndex: 'updateTime',
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
showInTable: true,
width: 200,
showDrag: true,
},
{ {
title: 'common.executionResult', title: 'common.executionResult',
dataIndex: 'lastExecResult', dataIndex: 'lastExecResult',