From 3012a7348734fc13ce96b4d92f0ca905ce34ae5d Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Fri, 12 May 2023 16:21:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/formList/InformedConsent.vue | 21 +++++++- .../views/modules/formList/mraOrder.vue | 53 +++++++++++++++++-- .../outpatientManagement/treat/index.vue | 14 ++++- 3 files changed, 81 insertions(+), 7 deletions(-) diff --git a/src/page-subspecialty/views/modules/formList/InformedConsent.vue b/src/page-subspecialty/views/modules/formList/InformedConsent.vue index 23c5cc7..f46ac69 100644 --- a/src/page-subspecialty/views/modules/formList/InformedConsent.vue +++ b/src/page-subspecialty/views/modules/formList/InformedConsent.vue @@ -18,7 +18,16 @@
姓名:
年龄:
性别:
-
眼别:
+
眼别: + + + +
@@ -177,6 +186,16 @@ export default { ydb: '', swmxgxbb: '' }, + options: [{ + value: 'OD', + label: 'OD' + }, { + value: 'OS', + label: 'OS' + }, { + value: 'OU', + label: 'OU' + }], // 术前判断 judgement: [ { diff --git a/src/page-subspecialty/views/modules/formList/mraOrder.vue b/src/page-subspecialty/views/modules/formList/mraOrder.vue index ed51c73..d8e1642 100644 --- a/src/page-subspecialty/views/modules/formList/mraOrder.vue +++ b/src/page-subspecialty/views/modules/formList/mraOrder.vue @@ -58,7 +58,21 @@ 科室:
- 医生: + 医生: + + +
@@ -77,7 +91,15 @@
- 主照眼: + 主照眼: + + +
@@ -180,6 +202,14 @@ export default { data() { return { origin: '', + options: [{ + value: 'OD', + label: 'OD' + }, { + value: 'OS', + label: 'OS' + }], + doctorList: [], formData: { idList: [], patientName: '', @@ -188,7 +218,7 @@ export default { patientId: '', patientBirthday: '', project: '', - department: '', + department: '眼科', doctor: '', eyeVOD: '', eyeVOS: '', @@ -238,10 +268,20 @@ export default { } }, created() { + this.origin = JSON.parse(JSON.stringify(this.formData)) + this.getDoctorList() this.getOrderDetail() this.queryProject() }, methods: { + // 获取医生列表 + getDoctorList() { + this.$http.get('/sys/user', { params: { position: '门诊医师' }}).then(data => { + this.doctorList = data.data.data + }).catch(err => { + this.$message.error(err.msg) + }) + }, handleSaveTable() { this.formData.jzNumber = window.localStorage.getItem('jzNumber') this.$http.post('/mzbl/saveMzblYdxgzy', { @@ -256,7 +296,12 @@ export default { caseId: this.caseId, patientId: this.patientDetail.patientId }}).then(data => { - this.formData = { ...data.data.data } + const detail = data.data.data + if (detail.jzNumber) { + this.formData = { ...data.data.data } + } else { + this.formData = this.origin + } // 患者信息带入 this.formData.patientName = this.patientDetail.patientName this.formData.patientAge = this.patientDetail.patientAge diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue index 022dcb1..f038f97 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/index.vue @@ -100,7 +100,7 @@ 结束 item.id) + if (!idList.length) { + this.$message.error('项目状态更新失败') + return + } + this.$http.post('/patient/updateProjectStatus', idList).then((res) => { + this.$message.success(res.data.data) + }) + }, // 查看详情 showDetail(scopeRow, index) { if (index === 1) {