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 @@