|
|
@ -38,7 +38,7 @@ |
|
|
|
<div class="label_width"> |
|
|
|
治疗眼别: |
|
|
|
</div> |
|
|
|
<el-select v-model="confirmData.eyeType" placeholder="请选择"> |
|
|
|
<el-select v-model="confirmData.eyeType" placeholder="请选择" @change="changeEyeType"> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
@ -150,6 +150,7 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
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 |
|
|
|