From 89b2bb95252fa74a61ed7b1588bb2be2dfc73d3e Mon Sep 17 00:00:00 2001 From: xuxm Date: Fri, 18 Sep 2020 13:52:08 +0800 Subject: [PATCH 1/7] =?UTF-8?q?update=EF=BC=9A=E5=A2=9E=E5=8A=A0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E8=AE=A1=E5=88=92=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E2=80=9C=E8=AE=A1=E5=88=92=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E2=80=9D=EF=BC=8C=E2=80=9C=E8=AE=A1=E5=88=92=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E2=80=9D=EF=BC=8C=E2=80=9C=E5=AE=9E=E9=99=85=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E2=80=9D=EF=BC=8C=E2=80=9C=E5=AE=9E=E9=99=85=E7=BB=93=E6=9D=9F?= =?UTF-8?q?=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/plan/components/TestPlanList.vue | 30 +++++++++++++++---- 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/frontend/src/business/components/track/plan/components/TestPlanList.vue b/frontend/src/business/components/track/plan/components/TestPlanList.vue index a2aee7c3da..6bb4e17386 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanList.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanList.vue @@ -70,20 +70,38 @@ + + + + + + Date: Fri, 18 Sep 2020 13:54:38 +0800 Subject: [PATCH 2/7] =?UTF-8?q?update=EF=BC=9A=E6=B5=8B=E8=AF=95=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E8=A1=A8=E5=8D=95=E9=A1=B5=E9=9D=A2=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E2=80=98=E8=AE=A1=E5=88=92=E5=BC=80=E5=A7=8B=E2=80=99=EF=BC=8C?= =?UTF-8?q?=E2=80=98=E8=AE=A1=E5=88=92=E7=BB=93=E6=9D=9F=E2=80=99=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/plan/components/TestPlanEdit.vue | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue index a974899971..6456988ca3 100644 --- a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue +++ b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue @@ -69,6 +69,30 @@ + + + + + + + + + + + + + + + + From 1d2d7128d9e14566286542dc9cbde836557c8032 Mon Sep 17 00:00:00 2001 From: xuxm Date: Fri, 18 Sep 2020 13:59:18 +0800 Subject: [PATCH 3/7] =?UTF-8?q?update=EF=BC=9Atest=5Fplan=E5=A2=9E?= =?UTF-8?q?=E5=8A=A04=E4=B8=AA=E5=AD=97=E6=AE=B5=EF=BC=9Aplanned=5Fstart?= =?UTF-8?q?=5Ftime=E3=80=81planned=5Fend=5Ftime=E3=80=81actual=5Fstart=5Ft?= =?UTF-8?q?ime=E3=80=81actual=5Fend=5Ftime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/i18n/zh-CN.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index c42cec6d2d..546461d001 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -721,6 +721,10 @@ export default { plan_status_prepare: "未开始", plan_status_running: "进行中", plan_status_completed: "已完成", + planned_start_time: "计划开始", + planned_end_time: "计划结束", + actual_start_time: "实际开始", + actual_end_time: "实际结束", plan_delete_confirm: "将删除该测试计划下所有用例,确认删除测试计划: ", plan_delete: "删除计划", }, From 5cc53ee6e2e1863778f0615445c52a74ffd5a045 Mon Sep 17 00:00:00 2001 From: xuxm Date: Fri, 18 Sep 2020 14:04:36 +0800 Subject: [PATCH 4/7] =?UTF-8?q?update=EF=BC=9A=E5=A2=9E=E5=8A=A0test=5Fpla?= =?UTF-8?q?n=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5=E7=9A=84=E5=AE=9A?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/base/domain/TestPlan.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backend/src/main/java/io/metersphere/base/domain/TestPlan.java b/backend/src/main/java/io/metersphere/base/domain/TestPlan.java index 9e73da87bc..91157b7c85 100644 --- a/backend/src/main/java/io/metersphere/base/domain/TestPlan.java +++ b/backend/src/main/java/io/metersphere/base/domain/TestPlan.java @@ -24,6 +24,14 @@ public class TestPlan implements Serializable { private String testCaseMatchRule; private String executorMatchRule; + + private Long plannedStartTime; + + private Long plannedEndTime; + + private Long actualStartTime; + + private Long actualEndTime; private Long createTime; From 36edbe9ded91c6fe894e8b7d2741179c43319326 Mon Sep 17 00:00:00 2001 From: xuxm Date: Fri, 18 Sep 2020 14:12:55 +0800 Subject: [PATCH 5/7] =?UTF-8?q?update=EF=BC=9A=E5=A2=9E=E5=8A=A0test=5Fpla?= =?UTF-8?q?n=E8=A1=A8=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5=E7=9A=84?= =?UTF-8?q?=E7=BB=B4=E6=8A=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/TestPlanMapper.xml | 126 +++++++++++++----- 1 file changed, 91 insertions(+), 35 deletions(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml index 5d92075a51..716bb2c64a 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/TestPlanMapper.xml @@ -12,6 +12,10 @@ + + + + @@ -78,7 +82,7 @@ id, workspace_id, report_id, `name`, description, `status`, stage, principal, test_case_match_rule, - executor_match_rule, create_time, update_time + executor_match_rule, planned_start_time, planned_end_time, actual_start_time, actual_end_time, create_time, update_time tags @@ -114,7 +118,7 @@