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) }