|
|
@ -32,7 +32,12 @@ |
|
|
|
<tr> |
|
|
|
<td> |
|
|
|
<div class="flex"> |
|
|
|
出生日期:<el-input v-model="formData.patientBirthday" style="flex: 1" /> |
|
|
|
<div class="flex"> |
|
|
|
出生日期:<el-input v-model="formData.patientBirthday" style="flex: 1" /> |
|
|
|
</div> |
|
|
|
<div class="flex"> |
|
|
|
来源:<el-input v-model="formData.source" style="flex: 1" /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
<td> |
|
|
@ -254,7 +259,8 @@ export default { |
|
|
|
isPrint: '', |
|
|
|
examineDate: '', |
|
|
|
checkAdvice: '', |
|
|
|
docAdvice: '' |
|
|
|
docAdvice: '', |
|
|
|
source: '' |
|
|
|
}, |
|
|
|
context: [ |
|
|
|
{ |
|
|
@ -307,7 +313,7 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleSaveTable() { |
|
|
|
this.formData.jzNumber = window.sessionStorage.getItem('jzNumber') |
|
|
|
this.formData.jzNumber = window.sessionStorage.getItem('jzNumber') || this.$route.query.jzNumber || '' |
|
|
|
this.$http.post('/mzbl/saveMzblYdxgzy', { |
|
|
|
caseId: this.caseId, |
|
|
|
...this.formData |
|
|
@ -315,6 +321,21 @@ export default { |
|
|
|
this.$emit('handleSaveTable') |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 新增预约时数据带入 |
|
|
|
queryOrderForm() { |
|
|
|
this.$http.get('/mzbl/getLastAppointInfo', { params: { |
|
|
|
patientId: this.formData.patientId |
|
|
|
}}).then(data => { |
|
|
|
const formDetail = data.data.data |
|
|
|
this.formData.source = formDetail.source |
|
|
|
this.formData.remark = formDetail.remark |
|
|
|
this.formData.project = formDetail.project |
|
|
|
this.formData.doctor = formDetail.doctor |
|
|
|
this.formData.checkAdvice = formDetail.checkAdvice |
|
|
|
this.formData.examineDate = formDetail.examineDate |
|
|
|
this.formData.lightEye = formDetail.lightEye |
|
|
|
}) |
|
|
|
}, |
|
|
|
getOrderDetail() { |
|
|
|
this.$http.get('/mzbl/getMzblYdxgzyInfo', { params: { |
|
|
|
caseId: this.caseId, |
|
|
@ -330,6 +351,7 @@ export default { |
|
|
|
this.formData.patientId = this.patientDetail.patientId |
|
|
|
this.formData.patientBirthday = this.$moment(this.patientDetail.patientBirthday).format('YYYY-MM-DD') |
|
|
|
this.formData.patientPhone = this.patientDetail.patientPhone |
|
|
|
this.queryOrderForm() |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|