|  | @ -31,11 +31,11 @@ | 
		
	
		
			
				|  |  |         </el-col> |  |  |         </el-col> | 
		
	
		
			
				|  |  |         <el-col :span="11" style="display: flex;align-items: center"> |  |  |         <el-col :span="11" style="display: flex;align-items: center"> | 
		
	
		
			
				|  |  |           <span style="margin-right: 6px;margin-bottom: 3px">患者类型:</span> |  |  |           <span style="margin-right: 6px;margin-bottom: 3px">患者类型:</span> | 
		
	
		
			
				|  |  |           <el-checkbox-group v-model="form.patientType"> |  |  |  | 
		
	
		
			
				|  |  |             <el-checkbox label="门诊" /> |  |  |  | 
		
	
		
			
				|  |  |             <el-checkbox label="住院" /> |  |  |  | 
		
	
		
			
				|  |  |             <el-checkbox label="会诊" /> |  |  |  | 
		
	
		
			
				|  |  |           </el-checkbox-group> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <el-radio-group v-model="form.source"> | 
		
	
		
			
				|  |  |  |  |  |             <el-radio label="门诊" /> | 
		
	
		
			
				|  |  |  |  |  |             <el-radio label="住院" /> | 
		
	
		
			
				|  |  |  |  |  |             <el-radio label="会诊" /> | 
		
	
		
			
				|  |  |  |  |  |           </el-radio-group> | 
		
	
		
			
				|  |  |         </el-col> |  |  |         </el-col> | 
		
	
		
			
				|  |  |       </el-form-item> |  |  |       </el-form-item> | 
		
	
		
			
				|  |  |       <el-form-item label="备注:"> |  |  |       <el-form-item label="备注:"> | 
		
	
	
		
			
				|  | @ -64,29 +64,11 @@ | 
		
	
		
			
				|  |  |           <el-radio v-model="form.eyeType" label="OU">OU |  |  |           <el-radio v-model="form.eyeType" label="OU">OU | 
		
	
		
			
				|  |  |           </el-radio> |  |  |           </el-radio> | 
		
	
		
			
				|  |  |         </el-col> |  |  |         </el-col> | 
		
	
		
			
				|  |  |         <!--/*        <el-col :span="6" style="display: flex;align-items: center">*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*          散瞳:*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*          <div class="radioItem" @click="form.pupilDilate='Y'">*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*            <input :checked="form.pupilDilate==='Y'" type="radio">是*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*          </div>*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*          <div class="radioItem" @click="form.pupilDilate='N'">*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*            <input :checked="form.pupilDilate==='N'" type="radio">否*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*          </div>*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--/*        </el-col>*/--> |  |  |  | 
		
	
		
			
				|  |  |         <!--        <el-col :span="6" style="display: flex;align-items: center">--> |  |  |  | 
		
	
		
			
				|  |  |         <!--          缩瞳:--> |  |  |  | 
		
	
		
			
				|  |  |         <!--          <div class="radioItem" @click="form.pupilShrink='Y'">--> |  |  |  | 
		
	
		
			
				|  |  |         <!--            <input :checked="form.pupilShrink==='Y'" type="radio">是--> |  |  |  | 
		
	
		
			
				|  |  |         <!--          </div>--> |  |  |  | 
		
	
		
			
				|  |  |         <!--          <div class="radioItem" @click="form.pupilShrink='N'">--> |  |  |  | 
		
	
		
			
				|  |  |         <!--            <input :checked="form.pupilShrink==='N'" type="radio">否--> |  |  |  | 
		
	
		
			
				|  |  |         <!--          </div>--> |  |  |  | 
		
	
		
			
				|  |  |         <!--        </el-col>--> |  |  |  | 
		
	
		
			
				|  |  |       </div> |  |  |       </div> | 
		
	
		
			
				|  |  |       <div style="display: flex;padding:0 0 20px 0px"> |  |  |       <div style="display: flex;padding:0 0 20px 0px"> | 
		
	
		
			
				|  |  |         <el-col :span="24" style="display: flex;align-items: center"> |  |  |         <el-col :span="24" style="display: flex;align-items: center"> | 
		
	
		
			
				|  |  |           <div class="addLabel">项目:</div> |  |  |           <div class="addLabel">项目:</div> | 
		
	
		
			
				|  |  |           <el-checkbox-group v-model="form.patientType"> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <el-checkbox-group v-model="form.project"> | 
		
	
		
			
				|  |  |             <el-checkbox label="眼底激光治疗" /> |  |  |             <el-checkbox label="眼底激光治疗" /> | 
		
	
		
			
				|  |  |             <el-checkbox label="三面镜检查" /> |  |  |             <el-checkbox label="三面镜检查" /> | 
		
	
		
			
				|  |  |             <el-checkbox label="FFA" /> |  |  |             <el-checkbox label="FFA" /> | 
		
	
	
		
			
				|  | @ -99,7 +81,7 @@ | 
		
	
		
			
				|  |  |       <div style="display: flex;padding:0 0 20px 0px"> |  |  |       <div style="display: flex;padding:0 0 20px 0px"> | 
		
	
		
			
				|  |  |         <el-col :span="24" style="display: flex;align-items: center"> |  |  |         <el-col :span="24" style="display: flex;align-items: center"> | 
		
	
		
			
				|  |  |           <div class="addLabel">准备工作:</div> |  |  |           <div class="addLabel">准备工作:</div> | 
		
	
		
			
				|  |  |           <el-checkbox-group v-model="form.patientType"> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <el-checkbox-group v-model="form.preparation"> | 
		
	
		
			
				|  |  |             <el-checkbox label="医嘱已开" /> |  |  |             <el-checkbox label="医嘱已开" /> | 
		
	
		
			
				|  |  |             <el-checkbox label="散瞳" /> |  |  |             <el-checkbox label="散瞳" /> | 
		
	
		
			
				|  |  |             <el-checkbox label="表麻" /> |  |  |             <el-checkbox label="表麻" /> | 
		
	
	
		
			
				|  | @ -170,16 +152,14 @@ export default { | 
		
	
		
			
				|  |  |       patientInfo: null, |  |  |       patientInfo: null, | 
		
	
		
			
				|  |  |       form: { |  |  |       form: { | 
		
	
		
			
				|  |  |         patientId: '', |  |  |         patientId: '', | 
		
	
		
			
				|  |  |         patientType: [], |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         source: '', | 
		
	
		
			
				|  |  |  |  |  |         project: [], | 
		
	
		
			
				|  |  |  |  |  |         preparation: [], | 
		
	
		
			
				|  |  |         doctorName: '', |  |  |         doctorName: '', | 
		
	
		
			
				|  |  |         yzOpen: '', |  |  |  | 
		
	
		
			
				|  |  |         remark: '', |  |  |         remark: '', | 
		
	
		
			
				|  |  |         doctorId: '', |  |  |         doctorId: '', | 
		
	
		
			
				|  |  |         eyeType: '', |  |  |         eyeType: '', | 
		
	
		
			
				|  |  |         otherProject: '', |  |  |         otherProject: '', | 
		
	
		
			
				|  |  |         pupilDilate: '', |  |  |  | 
		
	
		
			
				|  |  |         pupilShrink: '', |  |  |  | 
		
	
		
			
				|  |  |         threeMirror: '', |  |  |  | 
		
	
		
			
				|  |  |         date1: '', |  |  |         date1: '', | 
		
	
		
			
				|  |  |         date2: '' |  |  |         date2: '' | 
		
	
		
			
				|  |  |       }, |  |  |       }, | 
		
	
	
		
			
				|  | @ -213,23 +193,24 @@ export default { | 
		
	
		
			
				|  |  |   }, |  |  |   }, | 
		
	
		
			
				|  |  |   created() { |  |  |   created() { | 
		
	
		
			
				|  |  |     this.getDoctorList() |  |  |     this.getDoctorList() | 
		
	
		
			
				|  |  |  |  |  |   }, | 
		
	
		
			
				|  |  |  |  |  |   mounted() { | 
		
	
		
			
				|  |  |     if (this.patientDetail) { |  |  |     if (this.patientDetail) { | 
		
	
		
			
				|  |  |       this.form.patientId = this.patientDetail.patientId |  |  |       this.form.patientId = this.patientDetail.patientId | 
		
	
		
			
				|  |  |       this.form.doctorId = this.patientDetail.doctorId |  |  |       this.form.doctorId = this.patientDetail.doctorId | 
		
	
		
			
				|  |  |       this.form.doctorName = this.patientDetail.doctorName |  |  |       this.form.doctorName = this.patientDetail.doctorName | 
		
	
		
			
				|  |  |       this.form.eyeType = this.patientDetail.eyeType |  |  |       this.form.eyeType = this.patientDetail.eyeType | 
		
	
		
			
				|  |  |       this.form.pupilDilate = this.patientDetail.pupilDilate |  |  |  | 
		
	
		
			
				|  |  |       this.form.pupilShrink = this.patientDetail.pupilShrink |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       this.form.project = this.patientDetail.project.split(',') | 
		
	
		
			
				|  |  |  |  |  |       this.form.preparation = this.patientDetail.preparation.split(',') | 
		
	
		
			
				|  |  |       this.form.remark = this.patientDetail.remark |  |  |       this.form.remark = this.patientDetail.remark | 
		
	
		
			
				|  |  |       this.form.yzOpen = this.patientDetail.yzOpen |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       this.form.otherProject = this.patientDetail.otherProject | 
		
	
		
			
				|  |  |  |  |  |       this.form.source = this.patientDetail.source | 
		
	
		
			
				|  |  |       if (this.patientDetail.appointDate) { |  |  |       if (this.patientDetail.appointDate) { | 
		
	
		
			
				|  |  |         this.form.date1 = this.patientDetail.appointDate.split(' ')[0] |  |  |         this.form.date1 = this.patientDetail.appointDate.split(' ')[0] | 
		
	
		
			
				|  |  |         this.form.date2 = this.patientDetail.appointDate.split(' ')[1].substring(0, 5) |  |  |         this.form.date2 = this.patientDetail.appointDate.split(' ')[1].substring(0, 5) | 
		
	
		
			
				|  |  |       } |  |  |       } | 
		
	
		
			
				|  |  |       this.patientInfo = this.patientDetail |  |  |       this.patientInfo = this.patientDetail | 
		
	
		
			
				|  |  |     } |  |  |     } | 
		
	
		
			
				|  |  |   }, |  |  |  | 
		
	
		
			
				|  |  |   mounted() { |  |  |  | 
		
	
		
			
				|  |  |     if (this.orderDetail) { |  |  |     if (this.orderDetail) { | 
		
	
		
			
				|  |  |       this.form.date1 = this.orderDetail.date |  |  |       this.form.date1 = this.orderDetail.date | 
		
	
		
			
				|  |  |       if (this.morOrAft === 1) { |  |  |       if (this.morOrAft === 1) { | 
		
	
	
		
			
				|  | @ -270,11 +251,13 @@ export default { | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 确认提交 |  |  |     // 确认提交 | 
		
	
		
			
				|  |  |     handleSave() { |  |  |     handleSave() { | 
		
	
		
			
				|  |  |       if (!this.isEdit) { |  |  |  | 
		
	
		
			
				|  |  |       this.$refs.addPatientForm.validate((valid) => { |  |  |       this.$refs.addPatientForm.validate((valid) => { | 
		
	
		
			
				|  |  |         if (!valid) { |  |  |         if (!valid) { | 
		
	
		
			
				|  |  |           return false |  |  |           return false | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |  |  |  |         this.form.project = this.form.project.join(',') | 
		
	
		
			
				|  |  |  |  |  |         this.form.preparation = this.form.preparation.join(',') | 
		
	
		
			
				|  |  |  |  |  |         if (!this.isEdit) { | 
		
	
		
			
				|  |  |           const params = { |  |  |           const params = { | 
		
	
		
			
				|  |  |             appointDate: `${this.form.date1} ${this.form.date2}:00`, |  |  |             appointDate: `${this.form.date1} ${this.form.date2}:00`, | 
		
	
		
			
				|  |  |             patientName: this.patientInfo.patientName, |  |  |             patientName: this.patientInfo.patientName, | 
		
	
	
		
			
				|  | @ -292,7 +275,6 @@ export default { | 
		
	
		
			
				|  |  |             this.$emit('updateAppoint') |  |  |             this.$emit('updateAppoint') | 
		
	
		
			
				|  |  |             this.visible = false |  |  |             this.visible = false | 
		
	
		
			
				|  |  |           }) |  |  |           }) | 
		
	
		
			
				|  |  |         }) |  |  |  | 
		
	
		
			
				|  |  |         } else { |  |  |         } else { | 
		
	
		
			
				|  |  |           const params = { |  |  |           const params = { | 
		
	
		
			
				|  |  |             appointDate: `${this.form.date1} ${this.form.date2}:00`, |  |  |             appointDate: `${this.form.date1} ${this.form.date2}:00`, | 
		
	
	
		
			
				|  | @ -307,6 +289,7 @@ export default { | 
		
	
		
			
				|  |  |             this.visible = false |  |  |             this.visible = false | 
		
	
		
			
				|  |  |           }) |  |  |           }) | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |  |  |  |       }) | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |     // 关闭弹框 |  |  |     // 关闭弹框 | 
		
	
		
			
				|  |  |     closeDialog() { |  |  |     closeDialog() { | 
		
	
	
		
			
				|  | 
 |