From c924b208b61cc0ae91c573dc693bf4feb238846a Mon Sep 17 00:00:00 2001 From: zhanglipeng Date: Wed, 8 Sep 2021 14:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E9=A2=98=E6=95=B4=E5=90=88=E5=AD=A6?= =?UTF-8?q?=E4=B9=A0=E8=AE=A1=E5=88=92=E6=89=93=E5=8D=B0=E4=BC=98=E5=8C=96?= =?UTF-8?q?=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/benyi/themetermplan/table.vue | 48 +++++++++++++++++-- .../benyi/themetermplanapproval/approval.vue | 48 +++++++++++++++++-- 2 files changed, 86 insertions(+), 10 deletions(-) diff --git a/ruoyi-ui/src/views/benyi/themetermplan/table.vue b/ruoyi-ui/src/views/benyi/themetermplan/table.vue index a67345959..85ab0abd8 100644 --- a/ruoyi-ui/src/views/benyi/themetermplan/table.vue +++ b/ruoyi-ui/src/views/benyi/themetermplan/table.vue @@ -213,15 +213,53 @@ export default { background: #f8f8f8; } } - .warning { - padding-top: 20px; - font-size: 12px; - color: #666; - } + // .warning { + // padding-top: 20px; + // font-size: 12px; + // color: #666; + // } } @media print { .table-container { padding: 30px 0; + .title { + margin: 0; + font-size: 18px; + text-align: center; + padding: 15px 0; + } + .title2 { + padding: 0; + } + .align-center { + text-align: center; + } + .table { + font-size: 14px; + .print { + display: flex; + justify-content: flex-end; + padding-bottom: 10px; + } + p { + margin: 0; + } + table { + width: 100%; + border-collapse: collapse; + } + table td { + border: #ccc solid 1px; + line-height: 24px; + padding: 8px 5px; + } + .table-title { + font-size: 16px; + } + .table-bg { + background: #f8f8f8; + } + } } .print { opacity: 0; diff --git a/ruoyi-ui/src/views/benyi/themetermplanapproval/approval.vue b/ruoyi-ui/src/views/benyi/themetermplanapproval/approval.vue index 6eed6510a..d3cbf586a 100644 --- a/ruoyi-ui/src/views/benyi/themetermplanapproval/approval.vue +++ b/ruoyi-ui/src/views/benyi/themetermplanapproval/approval.vue @@ -264,15 +264,53 @@ export default { background: #f8f8f8; } } - .warning { - padding-top: 20px; - font-size: 12px; - color: #666; - } + // .warning { + // padding-top: 20px; + // font-size: 12px; + // color: #666; + // } } @media print { .table-container { padding: 30px 0; + .title { + margin: 0; + font-size: 18px; + text-align: center; + padding: 15px 0; + } + .title2 { + padding: 0; + } + .align-center { + text-align: center; + } + .table { + font-size: 14px; + .print { + display: flex; + justify-content: flex-end; + padding-bottom: 10px; + } + p { + margin: 0; + } + table { + width: 100%; + border-collapse: collapse; + } + table td { + border: #ccc solid 1px; + line-height: 24px; + padding: 8px 5px; + } + .table-title { + font-size: 16px; + } + .table-bg { + background: #f8f8f8; + } + } } .print { opacity: 0;