From eacaa84bf5bd1d8a72c3d2174d0aff02ba164da8 Mon Sep 17 00:00:00 2001 From: "1747191978@qq.com" <1942943850@qq.com> Date: Mon, 14 Apr 2025 18:45:05 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=8F=E8=AE=BF=E5=B7=A5=E5=8D=95=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=89=8B=E6=9C=BA=E5=8F=B7=E6=9F=A5=E8=AF=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acupuncture-前台/src/views/followFile/work.vue | 4 ++-- acupuncture-前台/src/views/medicalFile/index.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acupuncture-前台/src/views/followFile/work.vue b/acupuncture-前台/src/views/followFile/work.vue index 88b400d7..a32f0f59 100644 --- a/acupuncture-前台/src/views/followFile/work.vue +++ b/acupuncture-前台/src/views/followFile/work.vue @@ -539,8 +539,8 @@ export default { }, created() { let { name, phone } = this.$route.query; - this.queryParams.param.keywords = name; - this.queryParams.param.phone = phone; + this.queryParams.param.keywords = name || ""; + this.queryParams.param.phone = phone || ""; this.getList(); this.getFollowupQuery(); }, diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue index 2a3cabb6..a96c191d 100644 --- a/acupuncture-前台/src/views/medicalFile/index.vue +++ b/acupuncture-前台/src/views/medicalFile/index.vue @@ -975,8 +975,8 @@ export default { created() { // 从url获取idCard let { name, phone } = this.$route.query; - this.queryParams.param.keywords = name; - this.queryParams.param.phone = phone; + this.queryParams.param.keywords = name || ""; + this.queryParams.param.phone = phone || ""; let patientInfo; if (this.$route.query.patientInfo) { this.form = JSON.parse(this.$route.query.patientInfo);