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")
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 = "脚本错误标识")
private String scriptIdentifier;
@Schema(description = "创建时间")
private Long createTime;
@Schema(description = "更新时间")
private Long updateTime;
}

View File

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

View File

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

View File

@ -222,6 +222,30 @@
showTooltip: 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',
dataIndex: 'priority',

View File

@ -242,6 +242,30 @@
showDrag: true,
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',
dataIndex: 'moduleName',

View File

@ -303,6 +303,30 @@
width: 150,
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',
dataIndex: 'lastExecResult',