|
|
@ -39,6 +39,16 @@ |
|
|
|
<el-input v-model="dataForm.patientAddress" placeholder="请输入地址" /> |
|
|
|
</el-form-item> |
|
|
|
<div style="border-bottom: 1px solid #ccc;margin-bottom: 20px" /> |
|
|
|
<el-form-item required label="患者来源:" prop="patientSource" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.patientSource" placeholder="请选择患者来源"> |
|
|
|
<el-option |
|
|
|
v-for="item in sourceList" |
|
|
|
:key="item.value" |
|
|
|
:label="item.name" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="门诊医师:" prop="mzDoctorId" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.mzDoctorId" placeholder="请选择门诊医师"> |
|
|
|
<el-option |
|
|
@ -106,6 +116,7 @@ export default { |
|
|
|
disabled: false, |
|
|
|
visible: false, |
|
|
|
dataForm: { |
|
|
|
registerType: 1, |
|
|
|
platform: 3, |
|
|
|
patientId: '', |
|
|
|
patientName: '', |
|
|
@ -116,6 +127,7 @@ export default { |
|
|
|
patientBirthday: '', |
|
|
|
mzDoctorId: '', // 门诊医师 |
|
|
|
sgDoctorId: '', // 视光医师 |
|
|
|
patientSource: '', |
|
|
|
zlEye: 'ou', |
|
|
|
zlProjectCode: [], |
|
|
|
visitId: '', |
|
|
@ -126,6 +138,14 @@ export default { |
|
|
|
{ name: '右眼', value: 'od' }, |
|
|
|
{ name: '双眼', value: 'ou' } |
|
|
|
], |
|
|
|
sourceList: [{ |
|
|
|
name: '门诊', |
|
|
|
value: '门诊' |
|
|
|
}, { |
|
|
|
name: '住院', |
|
|
|
value: '住院' |
|
|
|
} |
|
|
|
], |
|
|
|
params: {}, |
|
|
|
mzDoctorList: [], |
|
|
|
sgDoctorList: [], |
|
|
@ -152,6 +172,9 @@ export default { |
|
|
|
], |
|
|
|
sgDoctorId: [ |
|
|
|
{ required: true, message: '请选择视光医师', trigger: 'blur' } |
|
|
|
], |
|
|
|
patientSource: [ |
|
|
|
{ required: true, message: '请选择患者来源', trigger: 'blur' } |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
@ -159,6 +182,7 @@ export default { |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
this.visible = true |
|
|
|
this.dataForm.registerType = 1 |
|
|
|
this.getDoctorList('视光医师') |
|
|
|
this.getDoctorList('门诊医师') |
|
|
|
this.getProject() |
|
|
@ -196,6 +220,7 @@ export default { |
|
|
|
this.dataForm = { ...this.dataForm, ...this.params } |
|
|
|
this.dataForm.revisitCycles = this.dataForm.revisitCycles ? this.dataForm.revisitCycles : '1' |
|
|
|
this.dataForm.revisitCyclesUnit = this.dataForm.revisitCyclesUnit ? this.dataForm.revisitCyclesUnit : '3' |
|
|
|
this.dataForm.registerType = 0 |
|
|
|
}, |
|
|
|
// 表单提交 |
|
|
|
dataFormSubmitHandle: debounce(function() { |
|
|
|