From 6bdd7fdeacbafc30a886ef998912768a5fff79ca Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 20 Aug 2021 16:28:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B5=8B=E8=AF=95=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E6=8A=A5=E5=91=8A=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/components/MsFormDivider.vue | 9 +- .../track/case/components/MsRichText.vue | 2 +- ...tHeader.vue => TestPlanOverviewReport.vue} | 37 +----- .../report/detail/TestPlanReportButtons.vue | 110 ++++++++++++++++++ .../report/detail/TestPlanReportContainer.vue | 6 +- .../report/detail/TestPlanReportContent.vue | 98 +++------------- .../report/detail/TestPlanSummaryReport.vue | 76 ++++++++++++ .../detail/component/TestPlanReportEdit.vue | 52 +++++++++ 8 files changed, 268 insertions(+), 122 deletions(-) rename frontend/src/business/components/track/plan/view/comonents/report/detail/{TestPlanReportHeader.vue => TestPlanOverviewReport.vue} (66%) create mode 100644 frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportButtons.vue create mode 100644 frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanSummaryReport.vue create mode 100644 frontend/src/business/components/track/plan/view/comonents/report/detail/component/TestPlanReportEdit.vue diff --git a/frontend/src/business/components/common/components/MsFormDivider.vue b/frontend/src/business/components/common/components/MsFormDivider.vue index 3094ee71d4..834460b896 100644 --- a/frontend/src/business/components/common/components/MsFormDivider.vue +++ b/frontend/src/business/components/common/components/MsFormDivider.vue @@ -1,5 +1,12 @@ diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContainer.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContainer.vue index a3ac0690f0..824c9dceb2 100644 --- a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContainer.vue +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanReportContainer.vue @@ -1,6 +1,8 @@ @@ -137,34 +95,10 @@ export default { padding: 15px; } - /deep/ .el-tabs .el-tabs__header { padding-left: 15px; padding-right: 15px; padding-top: 15px; } - -.head-right { - text-align: right; - float: right; -} - -.head-bar .el-button { - margin-bottom: 10px; - width: 80px; - margin-right: 10px; - display: block; -} - -.el-button+.el-button { - margin-left: 0px; -} - -/*.head-bar {*/ -/* position: fixed;*/ -/* right: 10px;*/ -/* padding: 20px;*/ -/*}*/ - diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanSummaryReport.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanSummaryReport.vue new file mode 100644 index 0000000000..c9c5173e1e --- /dev/null +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/TestPlanSummaryReport.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TestPlanReportEdit.vue b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TestPlanReportEdit.vue new file mode 100644 index 0000000000..51fd3a101c --- /dev/null +++ b/frontend/src/business/components/track/plan/view/comonents/report/detail/component/TestPlanReportEdit.vue @@ -0,0 +1,52 @@ + + + +