From 8d3309c876360bab1c80f75564dbdaf8965dbc9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sat, 4 Feb 2023 16:50:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/mdp.scss | 1 + src/views/xm/rpt/CompsCard.vue | 15 +++++++++++---- src/views/xm/rpt/branch/branchWorkItemDayList.vue | 8 ++++---- src/views/xm/rpt/branch/menuDayAccumulate.vue | 6 +++--- src/views/xm/rpt/branch/menuDayTrend.vue | 6 +++--- src/views/xm/rpt/branch/questionDayAccumulate.vue | 6 +++--- src/views/xm/rpt/branch/questionDayTrend.vue | 6 +++--- .../xm/rpt/iteration/IterationWorkItemDayList.vue | 8 ++++---- src/views/xm/rpt/iteration/burnout.vue | 8 ++++---- src/views/xm/rpt/iteration/menuDayAccumulate.vue | 6 +++--- src/views/xm/rpt/iteration/menuDayTrend.vue | 6 +++--- .../xm/rpt/iteration/questionDayAccumulate.vue | 6 +++--- src/views/xm/rpt/iteration/questionDayTrend.vue | 6 +++--- src/views/xm/rpt/product/menuAgeDist.vue | 6 +++--- src/views/xm/rpt/product/menuAttDist.vue | 6 +++--- src/views/xm/rpt/product/menuDayAccumulate.vue | 6 +++--- src/views/xm/rpt/product/menuDayTrend.vue | 6 +++--- src/views/xm/rpt/product/menuSort.vue | 6 +++--- .../xm/rpt/product/productWorkItemDayList.vue | 8 ++++---- src/views/xm/rpt/product/questionAgeDist.vue | 6 +++--- src/views/xm/rpt/product/questionAttDist.vue | 6 +++--- .../xm/rpt/product/questionDayAccumulate.vue | 6 +++--- src/views/xm/rpt/product/questionDayTrend.vue | 6 +++--- src/views/xm/rpt/product/questionRetestDist.vue | 6 +++--- src/views/xm/rpt/product/questionSort.vue | 6 +++--- .../xm/rpt/project/projectWorkItemDayList.vue | 12 ++++++------ .../xm/rpt/project/projectWorkloadSetDayList.vue | 8 ++++---- .../rpt/project/projectWorkloadSetMonthList.vue | 8 ++++---- src/views/xm/rpt/project/taskAgeDist.vue | 6 +++--- src/views/xm/rpt/project/taskAttDist.vue | 6 +++--- src/views/xm/rpt/project/taskDayAccumulate.vue | 10 ++++------ src/views/xm/rpt/project/taskDayTrend.vue | 6 +++--- src/views/xm/rpt/project/taskSort.vue | 6 +++--- src/views/xm/rpt/testCase/testCaseSort.vue | 6 +++--- src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue | 6 +++--- src/views/xm/rpt/testPlan/testDayTimesCalc.vue | 6 +++--- .../rpt/testPlan/testPlanCaseExecStatusDist.vue | 6 +++--- .../xm/rpt/testPlan/testPlanCaseUserDist.vue | 6 +++--- 38 files changed, 130 insertions(+), 124 deletions(-) diff --git a/src/styles/mdp.scss b/src/styles/mdp.scss index 793d8856..04158b4a 100644 --- a/src/styles/mdp.scss +++ b/src/styles/mdp.scss @@ -369,6 +369,7 @@ table tr.hover-row{ max-height: calc(80vh); overflow-y: 'hidden'; width:100%; + padding:10px; } /*此处根据不同屏幕分配率显示不同的样式*/ /*手机端*/ diff --git a/src/views/xm/rpt/CompsCard.vue b/src/views/xm/rpt/CompsCard.vue index 83988fe0..403d97a8 100644 --- a/src/views/xm/rpt/CompsCard.vue +++ b/src/views/xm/rpt/CompsCard.vue @@ -5,9 +5,9 @@ - + - 取消 + 取消 打印 pdf @@ -17,7 +17,7 @@
- +
@@ -318,7 +318,14 @@ export default { }, exportToPdf(){ this.paramsVisible=false - this.$PDFSave(this.$refs.rptBox, this.rptConfigParamsCpd.name+"-报告"); + this.$nextTick(()=>{ + this.$PDFSave(this.$refs.rptBox, this.rptConfigParamsCpd.name+"-报告"); + }) + + }, + cancelExport(){ + this.exportToolBarVisible=false + this.paramsVisible=this.showParams } }, diff --git a/src/views/xm/rpt/branch/branchWorkItemDayList.vue b/src/views/xm/rpt/branch/branchWorkItemDayList.vue index f81c50e1..75f2c59a 100644 --- a/src/views/xm/rpt/branch/branchWorkItemDayList.vue +++ b/src/views/xm/rpt/branch/branchWorkItemDayList.vue @@ -1,6 +1,6 @@