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