From 5de80f6d7762f49b03ad93c06162a598ccd211ad Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Wed, 4 Feb 2026 16:24:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:[=E6=A8=A1=E6=9D=BF=E7=AE=A1=E7=90=86]?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 17 ++++++++++------- src/components/Template/BaseInfoFormPackage.vue | 7 ++++--- src/views/business/study/comp/tbbd/Xq.vue | 18 ------------------ 3 files changed, 14 insertions(+), 28 deletions(-) diff --git a/src/App.vue b/src/App.vue index eda1cd0..a1d0b12 100644 --- a/src/App.vue +++ b/src/App.vue @@ -323,15 +323,15 @@ export default { } /* 表格行不被分割 */ -table, tr, td, th { page-break-inside: avoid; } - .page-break { - page-break-before: always; - } + +.page-break { + page-break-before: always; +} .datatable { border-collapse: collapse; @@ -341,6 +341,7 @@ th { .datatable thead { border-left: 1px solid #f5f5f5; + page-break-inside: avoid; } .datatable th { @@ -353,9 +354,6 @@ th { border: 1px solid #f5f5f5; } -.el-dialog__body { - padding: 10px 20px !important; -} .datatable th.operate { padding: 5px 5px 4px 5px; @@ -376,6 +374,11 @@ th { text-align: center; } +.el-dialog__body { + padding: 10px 20px !important; +} + + /** 基础信息设置tab **/ .edit-container { diff --git a/src/components/Template/BaseInfoFormPackage.vue b/src/components/Template/BaseInfoFormPackage.vue index 99a118c..b0c9865 100644 --- a/src/components/Template/BaseInfoFormPackage.vue +++ b/src/components/Template/BaseInfoFormPackage.vue @@ -265,10 +265,11 @@ export default { .c-Item { - // &:not(:last-child) { - margin-bottom: 16px; + // &:not(:last-child) { + // margin-bottom: 16px; + // } page-break-inside: avoid; - // } + padding: 8px 0px; } .eo { diff --git a/src/views/business/study/comp/tbbd/Xq.vue b/src/views/business/study/comp/tbbd/Xq.vue index ca9902a..1f6a2e6 100644 --- a/src/views/business/study/comp/tbbd/Xq.vue +++ b/src/views/business/study/comp/tbbd/Xq.vue @@ -471,24 +471,6 @@ export default { padding-bottom: 10px; } -.pdf-content table { - width: 100%; - border-collapse: collapse; - margin-top: 20px; -} - -.pdf-content th, -.pdf-content td { - border: 1px solid #ddd; - padding: 8px; - text-align: left; -} - -.pdf-content th { - background-color: #f2f2f2; -} - - .upload-file-list .el-upload-list__item { margin-bottom: 0px !important; }