From fe8cb01d4d47ebffe4b7034374881d0ff47fec45 Mon Sep 17 00:00:00 2001 From: yelan Date: Tue, 29 Sep 2026 22:31:57 +0800 Subject: [PATCH] =?UTF-8?q?fix(document):=20=E7=BB=9F=E4=B8=80=E6=96=87?= =?UTF-8?q?=E4=B9=A6=E7=BA=B8=E5=AD=97=E4=BD=93=E4=B8=BA=E9=9B=85=E9=BB=91?= =?UTF-8?q?=E5=B9=B6=E5=AF=B9=E9=BD=90=E5=8E=9F=E5=9E=8B=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/document/DocumentPaper.vue | 2 +- .../signing/SigningDocumentInteractive.vue | 2 +- clinical-web/src/utils/document-paper.ts | 14 ++++++++++++-- .../documents/components/DocumentPreviewDialog.vue | 2 +- .../documents/components/WordEditorDialog.vue | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/clinical-web/src/components/document/DocumentPaper.vue b/clinical-web/src/components/document/DocumentPaper.vue index 9f62afd..fa74546 100644 --- a/clinical-web/src/components/document/DocumentPaper.vue +++ b/clinical-web/src/components/document/DocumentPaper.vue @@ -4,7 +4,7 @@ * * 为什么必须只有一个:同一份纸会出现在签署工作台、文书库预览、编辑器签署预览、 * 发起签署弹窗的文档预览、记录详情、以及导出 PDF 的截图源里。改版前每处各写一遍 - * 基础排版,实测已经分叉(表格边框两套色、单元格内边距两套值、宋体只有两处有)。 + * 基础排版,实测已经分叉(表格边框两套色、单元格内边距两套值、字体声明只有两处有)。 * 版式一旦不一致,"预览看到的"和"签署时看到的"就不再是同一份东西, * 而这类偏差不会报错,只会让人对不上。 * diff --git a/clinical-web/src/components/signing/SigningDocumentInteractive.vue b/clinical-web/src/components/signing/SigningDocumentInteractive.vue index 19e6d86..51742ce 100644 --- a/clinical-web/src/components/signing/SigningDocumentInteractive.vue +++ b/clinical-web/src/components/signing/SigningDocumentInteractive.vue @@ -250,7 +250,7 @@ defineExpose({ getDocumentElement }) color: #a96900; } -/* 正文字号、表格边框、宋体等基础排版在 components/document/DocumentPaper.vue 的 +/* 正文字号、表格边框、字体等基础排版在 components/document/DocumentPaper.vue 的 DOCUMENT_PAPER_CSS 里(全项目唯一一份)。填写项胶囊、选项 ☑☐、系统页眉在 styles/signing-document.css。这里只保留"这份文书外壳"自己的东西。 */ diff --git a/clinical-web/src/utils/document-paper.ts b/clinical-web/src/utils/document-paper.ts index 6aa5a04..375bc10 100644 --- a/clinical-web/src/utils/document-paper.ts +++ b/clinical-web/src/utils/document-paper.ts @@ -5,7 +5,7 @@ * ① v-html 直接挂进页面(签署工作台、各类预览)→ 只能吃全局样式; * ② iframe srcdoc(文书库的「文书内容」页签,隔离模板自带的 `