From 88f53ef23a5d89a35c05a380a650e0220cabbaf7 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Fri, 12 May 2023 18:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/modules/formList/laserSurgery.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/page-subspecialty/views/modules/formList/laserSurgery.vue b/src/page-subspecialty/views/modules/formList/laserSurgery.vue index 5bbc7dd..eba21fd 100644 --- a/src/page-subspecialty/views/modules/formList/laserSurgery.vue +++ b/src/page-subspecialty/views/modules/formList/laserSurgery.vue @@ -38,7 +38,7 @@
治疗眼别:
- + import ImgEditor from '@/components/360View/img-editor.vue' +import odOrOs from '@/components/360View/base64/odOrOs' export default { name: 'LaserSurgery', @@ -221,6 +222,13 @@ export default { this.$store.commit('initPlugin') }, methods: { + changeEyeType(value) { + if (value === 'OD') { + this.confirmData.jgzlSyt = odOrOs.od + } else { + this.confirmData.jgzlSyt = odOrOs.os + } + }, queryDiagnostic() { this.$http.get('/mzbl/getLastDiagnostic', { params: { patientId: this.patientDetail.patientId @@ -283,6 +291,12 @@ export default { this.confirmData.patientAddress = this.patientDetail.patientAddress this.confirmData.patientPhone = this.patientDetail.patientPhone this.confirmData.operateDate = new Date() + this.confirmData.jzNumber = '' + if (this.confirmData.eyeType === 'OD') { + this.confirmData.jgzlSyt = odOrOs.od + } else { + this.confirmData.jgzlSyt = odOrOs.os + } } const userData = JSON.parse(window.localStorage.getItem('qg-userData')) this.confirmData.operateSign = userData.signImgBase