|  | @ -58,7 +58,21 @@ | 
		
	
		
			
				|  |  |                 科室:<el-input v-model="formData.department" style="flex: 1" /> |  |  |                 科室:<el-input v-model="formData.department" style="flex: 1" /> | 
		
	
		
			
				|  |  |               </div> |  |  |               </div> | 
		
	
		
			
				|  |  |               <div class="flex"> |  |  |               <div class="flex"> | 
		
	
		
			
				|  |  |                 医生:<el-input v-model="formData.doctor" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |                 医生: | 
		
	
		
			
				|  |  |  |  |  |                 <el-select | 
		
	
		
			
				|  |  |  |  |  |                   v-model="formData.doctor" | 
		
	
		
			
				|  |  |  |  |  |                   style="flex: 1" | 
		
	
		
			
				|  |  |  |  |  |                   filterable | 
		
	
		
			
				|  |  |  |  |  |                   allow-create | 
		
	
		
			
				|  |  |  |  |  |                   placeholder="" | 
		
	
		
			
				|  |  |  |  |  |                 > | 
		
	
		
			
				|  |  |  |  |  |                   <el-option | 
		
	
		
			
				|  |  |  |  |  |                     v-for="item in doctorList" | 
		
	
		
			
				|  |  |  |  |  |                     :key="item.id" | 
		
	
		
			
				|  |  |  |  |  |                     :label="item.realName" | 
		
	
		
			
				|  |  |  |  |  |                     :value="item.realName" | 
		
	
		
			
				|  |  |  |  |  |                   /> | 
		
	
		
			
				|  |  |  |  |  |                 </el-select> | 
		
	
		
			
				|  |  |               </div> |  |  |               </div> | 
		
	
		
			
				|  |  |             </div> |  |  |             </div> | 
		
	
		
			
				|  |  |           </td> |  |  |           </td> | 
		
	
	
		
			
				|  | @ -77,7 +91,15 @@ | 
		
	
		
			
				|  |  |           </td> |  |  |           </td> | 
		
	
		
			
				|  |  |           <td> |  |  |           <td> | 
		
	
		
			
				|  |  |             <div class="flex"> |  |  |             <div class="flex"> | 
		
	
		
			
				|  |  |               主照眼:<el-input v-model="formData.lightEye" style="flex: 1" /> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |               主照眼: | 
		
	
		
			
				|  |  |  |  |  |               <el-select v-model="formData.lightEye" style="flex: 1" placeholder="请选择"> | 
		
	
		
			
				|  |  |  |  |  |                 <el-option | 
		
	
		
			
				|  |  |  |  |  |                   v-for="item in options" | 
		
	
		
			
				|  |  |  |  |  |                   :key="item.value" | 
		
	
		
			
				|  |  |  |  |  |                   :label="item.label" | 
		
	
		
			
				|  |  |  |  |  |                   :value="item.value" | 
		
	
		
			
				|  |  |  |  |  |                 /> | 
		
	
		
			
				|  |  |  |  |  |               </el-select> | 
		
	
		
			
				|  |  |             </div> |  |  |             </div> | 
		
	
		
			
				|  |  |           </td> |  |  |           </td> | 
		
	
		
			
				|  |  |         </tr> |  |  |         </tr> | 
		
	
	
		
			
				|  | @ -180,6 +202,14 @@ export default { | 
		
	
		
			
				|  |  |   data() { |  |  |   data() { | 
		
	
		
			
				|  |  |     return { |  |  |     return { | 
		
	
		
			
				|  |  |       origin: '', |  |  |       origin: '', | 
		
	
		
			
				|  |  |  |  |  |       options: [{ | 
		
	
		
			
				|  |  |  |  |  |         value: 'OD', | 
		
	
		
			
				|  |  |  |  |  |         label: 'OD' | 
		
	
		
			
				|  |  |  |  |  |       }, { | 
		
	
		
			
				|  |  |  |  |  |         value: 'OS', | 
		
	
		
			
				|  |  |  |  |  |         label: 'OS' | 
		
	
		
			
				|  |  |  |  |  |       }], | 
		
	
		
			
				|  |  |  |  |  |       doctorList: [], | 
		
	
		
			
				|  |  |       formData: { |  |  |       formData: { | 
		
	
		
			
				|  |  |         idList: [], |  |  |         idList: [], | 
		
	
		
			
				|  |  |         patientName: '', |  |  |         patientName: '', | 
		
	
	
		
			
				|  | @ -188,7 +218,7 @@ export default { | 
		
	
		
			
				|  |  |         patientId: '', |  |  |         patientId: '', | 
		
	
		
			
				|  |  |         patientBirthday: '', |  |  |         patientBirthday: '', | 
		
	
		
			
				|  |  |         project: '', |  |  |         project: '', | 
		
	
		
			
				|  |  |         department: '', |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         department: '眼科', | 
		
	
		
			
				|  |  |         doctor: '', |  |  |         doctor: '', | 
		
	
		
			
				|  |  |         eyeVOD: '', |  |  |         eyeVOD: '', | 
		
	
		
			
				|  |  |         eyeVOS: '', |  |  |         eyeVOS: '', | 
		
	
	
		
			
				|  | @ -238,10 +268,20 @@ export default { | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   created() { |  |  |   created() { | 
		
	
		
			
				|  |  |  |  |  |     this.origin = JSON.parse(JSON.stringify(this.formData)) | 
		
	
		
			
				|  |  |  |  |  |     this.getDoctorList() | 
		
	
		
			
				|  |  |     this.getOrderDetail() |  |  |     this.getOrderDetail() | 
		
	
		
			
				|  |  |     this.queryProject() |  |  |     this.queryProject() | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   methods: { |  |  |   methods: { | 
		
	
		
			
				|  |  |  |  |  |     // 获取医生列表 | 
		
	
		
			
				|  |  |  |  |  |     getDoctorList() { | 
		
	
		
			
				|  |  |  |  |  |       this.$http.get('/sys/user', { params: { position: '门诊医师' }}).then(data => { | 
		
	
		
			
				|  |  |  |  |  |         this.doctorList = data.data.data | 
		
	
		
			
				|  |  |  |  |  |       }).catch(err => { | 
		
	
		
			
				|  |  |  |  |  |         this.$message.error(err.msg) | 
		
	
		
			
				|  |  |  |  |  |       }) | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |     handleSaveTable() { |  |  |     handleSaveTable() { | 
		
	
		
			
				|  |  |       this.formData.jzNumber = window.localStorage.getItem('jzNumber') |  |  |       this.formData.jzNumber = window.localStorage.getItem('jzNumber') | 
		
	
		
			
				|  |  |       this.$http.post('/mzbl/saveMzblYdxgzy', { |  |  |       this.$http.post('/mzbl/saveMzblYdxgzy', { | 
		
	
	
		
			
				|  | @ -256,7 +296,12 @@ export default { | 
		
	
		
			
				|  |  |         caseId: this.caseId, |  |  |         caseId: this.caseId, | 
		
	
		
			
				|  |  |         patientId: this.patientDetail.patientId |  |  |         patientId: this.patientDetail.patientId | 
		
	
		
			
				|  |  |       }}).then(data => { |  |  |       }}).then(data => { | 
		
	
		
			
				|  |  |  |  |  |         const detail = data.data.data | 
		
	
		
			
				|  |  |  |  |  |         if (detail.jzNumber) { | 
		
	
		
			
				|  |  |           this.formData = { ...data.data.data } |  |  |           this.formData = { ...data.data.data } | 
		
	
		
			
				|  |  |  |  |  |         } else { | 
		
	
		
			
				|  |  |  |  |  |           this.formData = this.origin | 
		
	
		
			
				|  |  |  |  |  |         } | 
		
	
		
			
				|  |  |         // 患者信息带入 |  |  |         // 患者信息带入 | 
		
	
		
			
				|  |  |         this.formData.patientName = this.patientDetail.patientName |  |  |         this.formData.patientName = this.patientDetail.patientName | 
		
	
		
			
				|  |  |         this.formData.patientAge = this.patientDetail.patientAge |  |  |         this.formData.patientAge = this.patientDetail.patientAge | 
		
	
	
		
			
				|  | 
 |