From 99055152395a644c610f2dc16992319de3b7f0db Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Thu, 3 Aug 2023 14:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=BB=E7=84=A6=E7=9C=BC=E9=95=9C=E5=87=BA?= =?UTF-8?q?=E8=AF=8A=E6=8E=A5=E5=8F=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../outFocusEye/outDetail.vue | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue b/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue index e21d987..446b2f2 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/outFocusEye/outDetail.vue @@ -129,7 +129,10 @@ align="center" > @@ -138,8 +141,8 @@ align="center" > @@ -222,8 +225,8 @@ export default { ds: '左眼', dc: '左眼', iol: '左眼', - brand1: '右眼', - brand2: '右眼', + brand1: '左眼', + brand2: '左眼', pd: '左眼', ph: '左眼', va: '左眼', @@ -260,7 +263,11 @@ export default { vaOd: '', vaOs: '', aod: '', - aos: '' + aos: '', + brandOd1: '', + brandOs1: '', + brandOd2: '', + brandOs2: '' }, patientInfoObj: {}, activeName: '1' @@ -269,6 +276,7 @@ export default { mounted() { }, created() { + console.log(this.patientId) this.getFirstForm() this.getPatientInfo() }, @@ -329,7 +337,12 @@ export default { }).catch(() => {}) }, saveFirstForm() { - this.$http.post('/defocused/saveOrUpdateFirstDefocused', this.firstForm).then(({ data: res }) => { + const params = { + ...this.firstForm + } + params.patientId = this.patientId + // console.log(params) + this.$http.post('/defocused/saveOrUpdateFirstDefocused', params).then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) }