refactor(消息通知): 测试计划发送通知模版中增加reportStartTime和reportEndTime两个变量

This commit is contained in:
CaptainB 2022-10-28 15:39:12 +08:00 committed by 刘瑞斌
parent 2d05fe71d7
commit cb9f0277df
6 changed files with 25 additions and 0 deletions

View File

@ -223,6 +223,8 @@ export default {
planned_end_time: "End Time", planned_end_time: "End Time",
actual_start_time: "Actual Start Time", actual_start_time: "Actual Start Time",
actual_end_time: "Actual End Time", actual_end_time: "Actual End Time",
report_start_time: "Report Start Time",
report_end_time: "Report End Time",
plan_delete_confirm: "All use cases under this plan will be deleted,confirm delete test plan: ", plan_delete_confirm: "All use cases under this plan will be deleted,confirm delete test plan: ",
plan_delete_tip: "The test plan is under way, please confirm and delete it!", plan_delete_tip: "The test plan is under way, please confirm and delete it!",
plan_delete: "Delete test plan", plan_delete: "Delete test plan",

View File

@ -216,6 +216,8 @@ export default {
planned_end_time: "计划结束", planned_end_time: "计划结束",
actual_start_time: "实际开始", actual_start_time: "实际开始",
actual_end_time: "实际结束", actual_end_time: "实际结束",
report_start_time: "报告开始",
report_end_time: "报告结束",
plan_delete_confirm: "将删除该测试计划下所有用例,确认删除测试计划: ", plan_delete_confirm: "将删除该测试计划下所有用例,确认删除测试计划: ",
plan_delete_tip: "该测试计划正在进行中,请确认再删除!", plan_delete_tip: "该测试计划正在进行中,请确认再删除!",
plan_delete: "删除计划", plan_delete: "删除计划",

View File

@ -216,6 +216,8 @@ export default {
planned_end_time: "計劃結束", planned_end_time: "計劃結束",
actual_start_time: "實際開始", actual_start_time: "實際開始",
actual_end_time: "實際結束", actual_end_time: "實際結束",
report_start_time: "報告開始",
report_end_time: "報告結束",
plan_delete_confirm: "將刪除該測試計劃下所有用例,確認刪除測試計劃: ", plan_delete_confirm: "將刪除該測試計劃下所有用例,確認刪除測試計劃: ",
plan_delete_tip: "該測試計劃正在進行中,請確認再刪除!", plan_delete_tip: "該測試計劃正在進行中,請確認再刪除!",
plan_delete: "刪除計劃", plan_delete: "刪除計劃",

View File

@ -252,6 +252,14 @@ export default {
label: this.$t('test_track.plan.test_plan_load_case_count'), label: this.$t('test_track.plan.test_plan_load_case_count'),
value: 'loadCaseAllCount' value: 'loadCaseAllCount'
}, },
{
label: this.$t('test_track.plan.report_start_time'),
value: 'reportStartTime'
},
{
label: this.$t('test_track.plan.report_end_time'),
value: 'reportEndTime'
},
], ],
}; };
}, },

View File

@ -245,6 +245,9 @@ public class TestPlanMessageService {
// //
result.put("loadCaseAllCount", 0L); result.put("loadCaseAllCount", 0L);
result.put("caseCount", report.getCaseCount()); result.put("caseCount", report.getCaseCount());
//
result.put("reportStartTime", report.getStartTime());
result.put("reportEndTime", report.getEndTime());
List<TestPlanCaseDTO> functionAllCases = report.getFunctionAllCases(); List<TestPlanCaseDTO> functionAllCases = report.getFunctionAllCases();

View File

@ -238,6 +238,14 @@ export default {
label: this.$t('test_track.plan.test_plan_load_case_count'), label: this.$t('test_track.plan.test_plan_load_case_count'),
value: 'loadCaseAllCount' value: 'loadCaseAllCount'
}, },
{
label: this.$t('test_track.plan.report_start_time'),
value: 'reportStartTime'
},
{
label: this.$t('test_track.plan.report_end_time'),
value: 'reportEndTime'
},
], ],
}; };
}, },