From eb52715c905d508f44d7951c0bda996804599c16 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Wed, 10 May 2023 11:49:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=80=BB=E8=BE=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/360View/medicalRecord/index.vue | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue index 2297e51..851a1ba 100644 --- a/src/components/360View/medicalRecord/index.vue +++ b/src/components/360View/medicalRecord/index.vue @@ -156,6 +156,9 @@ export default { if (this.curIndex === index) { return } + if (this.name === '门急诊电子病历') { + this.isPlatform = false + } // 360视图和非本平台表单不用保存 if (this.onlyRead || !this.isPlatform) { this.curIndex = index @@ -165,21 +168,13 @@ export default { this.isPlatform = this.isSearch === item.platform return } - if (this.name === '门急诊电子病历') { + this.confirmChange().finally(() => { this.curIndex = index this.id = item.id this.name = item.name this.caseId = item.id this.isPlatform = this.isSearch === item.platform - } else { - this.confirmChange().finally(() => { - this.curIndex = index - this.id = item.id - this.name = item.name - this.caseId = item.id - this.isPlatform = this.isSearch === item.platform - }) - } + }) }, // 切换保存 confirmChange() {