From 90c2e0d1f543727b1ca85ee0363f544148caa3be Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 8 May 2020 18:54:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8A=A5=E5=91=8A=E6=A8=A1?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TemplateComponent/BaseInfoComponent.vue | 14 ++++++++------ .../TemplateComponent/TemplateComponent.vue | 4 +++- .../components/TestCaseReportTemplateEdit.vue | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/frontend/src/business/components/settings/workspace/components/TemplateComponent/BaseInfoComponent.vue b/frontend/src/business/components/settings/workspace/components/TemplateComponent/BaseInfoComponent.vue index e93b4240e9..6fa5236804 100644 --- a/frontend/src/business/components/settings/workspace/components/TemplateComponent/BaseInfoComponent.vue +++ b/frontend/src/business/components/settings/workspace/components/TemplateComponent/BaseInfoComponent.vue @@ -18,11 +18,13 @@ 开始时间: - + {{reportInfo.startTime}} + 结束时间: - + {{reportInfo.endTime}} + @@ -44,10 +46,6 @@ export default { name: "BaseInfoComponent", components: {CommonComponent}, - data() { - return { - } - }, props: { reportInfo: { type: Object, @@ -60,6 +58,10 @@ endTime: '2020-6-18' } } + }, + isReport: { + type: Boolean, + default: true } } } diff --git a/frontend/src/business/components/settings/workspace/components/TemplateComponent/TemplateComponent.vue b/frontend/src/business/components/settings/workspace/components/TemplateComponent/TemplateComponent.vue index cb53ae4ba3..3a12127522 100644 --- a/frontend/src/business/components/settings/workspace/components/TemplateComponent/TemplateComponent.vue +++ b/frontend/src/business/components/settings/workspace/components/TemplateComponent/TemplateComponent.vue @@ -1,13 +1,15 @@