From 7b7c924ec5a79b58a132488c0c61a4ac32aa9b58 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Tue, 18 Apr 2023 09:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E8=AF=8A=E7=97=85=E5=8E=86=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 4 +- .../360View/medicalRecord/index.vue | 9 ++- .../modules/nurseManagement/UBMOrder.vue | 77 ++++++++++++++++--- .../modules/nurseManagement/myDialog.vue | 2 +- 4 files changed, 75 insertions(+), 17 deletions(-) diff --git a/public/index.html b/public/index.html index 6f52be6..f449c2f 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue index fc6e44a..d6a5ffc 100644 --- a/src/components/360View/medicalRecord/index.vue +++ b/src/components/360View/medicalRecord/index.vue @@ -63,8 +63,8 @@ /> -
- +
+
@@ -242,11 +242,14 @@ export default { }) if (res.code === 0) { this.formList = res.data || [] - if (this.formList.length && !mode) { + if (this.formList.length) { + if (mode) return this.name = this.formList[0].name this.id = this.formList[0].id this.curIndex = this.formList.findIndex(item => item.id === this.id) this.jsonText = this.formList[this.curIndex].jsonText + } else { + this.name = '' } } else { this.$message.error(res.msg) diff --git a/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue b/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue index 1e16f73..55aab28 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/UBMOrder.vue @@ -1,8 +1,8 @@