From ec21ddbaf80a4d9800d674c4d82be2986ca78101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BD=B3=E7=82=9C?= <1503983799@qq.com> Date: Tue, 11 Mar 2025 10:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/summary/examination/index.vue | 4 +++- src/views/summary/print/template.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/summary/examination/index.vue b/src/views/summary/examination/index.vue index 0ba9bfe..2e16a40 100644 --- a/src/views/summary/examination/index.vue +++ b/src/views/summary/examination/index.vue @@ -15,7 +15,6 @@ type="text" v-model="searchQuery" placeholder="请输入姓名" - @input="handleSearch" /> @@ -402,6 +401,9 @@ const fetchPatientsByDate = async () => { watch(inspectionStatus, (newValue, oldValue) => { fetchPatientsByDate() }); +watch(searchQuery, (newValue, oldValue) => { + fetchPatientsByDate() +}); diff --git a/src/views/summary/print/template.js b/src/views/summary/print/template.js index f6bca64..ccceccc 100644 --- a/src/views/summary/print/template.js +++ b/src/views/summary/print/template.js @@ -4247,7 +4247,7 @@ export default { "fontSize": 15, "fontWeight": "bold", "lineHeight": 15, - "pageBreak": true + }, "printElementType": { "type": "text"