|  |  | @ -29,48 +29,59 @@ | 
			
		
	
		
			
				
					|  |  |  |             /> | 
			
		
	
		
			
				
					|  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="12" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="11" style="display: flex;align-items: center;margin-left: 15px"> | 
			
		
	
		
			
				
					|  |  |  |           已开医嘱: | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.yzOpen='Y'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.yzOpen==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.yzOpen==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.yzOpen='N'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.yzOpen==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.yzOpen==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |       <el-form-item label="备注:"> | 
			
		
	
		
			
				
					|  |  |  |         <el-input v-model="form.remark" :readonly="isEdit" autosize type="textarea" /> | 
			
		
	
		
			
				
					|  |  |  |         <el-input v-model="form.remark" autosize type="textarea" /> | 
			
		
	
		
			
				
					|  |  |  |       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |       <div style="display: flex;padding:0 0 20px 20px"> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="10" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |           眼别: | 
			
		
	
		
			
				
					|  |  |  |       <div style="display: flex;padding:0 0 20px 0"> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="12" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |           <div class="addLabel">眼别:</div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.eyeType='OD'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.eyeType==='OD'" type="radio">OD | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.eyeType==='OD'" type="radio">OD | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.eyeType='OS'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.eyeType==='OS'" type="radio">OS | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.eyeType==='OS'" type="radio">OS | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.eyeType='OU'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.eyeType==='OU'" type="radio">OU | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.eyeType==='OU'" type="radio">OU | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="7" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="12" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |           散瞳: | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.pupilDilate='Y'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.pupilDilate==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.pupilDilate==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.pupilDilate='N'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.pupilDilate==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.pupilDilate==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="7" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |           缩瞳: | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |       <div style="display: flex;padding:0 0 20px 0px"> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="12" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |           <div class="addLabel">缩瞳:</div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.pupilShrink='Y'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.pupilShrink==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.pupilShrink==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.pupilShrink='N'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :disabled="isEdit" :checked="form.pupilShrink==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.pupilShrink==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |         <el-col :span="12" style="display: flex;align-items: center"> | 
			
		
	
		
			
				
					|  |  |  |           三面镜: | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.threeMirror='Y'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.threeMirror==='Y'" type="radio">是 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |           <div class="radioItem" @click="form.threeMirror='N'"> | 
			
		
	
		
			
				
					|  |  |  |             <input :checked="form.threeMirror==='N'" type="radio">否 | 
			
		
	
		
			
				
					|  |  |  |           </div> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
	
		
			
				
					|  |  | @ -92,7 +103,7 @@ | 
			
		
	
		
			
				
					|  |  |  |           </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |       </el-form-item> | 
			
		
	
		
			
				
					|  |  |  |     </el-form> | 
			
		
	
		
			
				
					|  |  |  |       </div></el-form> | 
			
		
	
		
			
				
					|  |  |  |     <span slot="footer" class="dialog-footer"> | 
			
		
	
		
			
				
					|  |  |  |       <el-button size="small" @click="goFormList">表单</el-button> | 
			
		
	
		
			
				
					|  |  |  |       <el-button size="small" @click="closeDialog">取 消</el-button> | 
			
		
	
	
		
			
				
					|  |  | @ -113,6 +124,9 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     patientDetail: { | 
			
		
	
		
			
				
					|  |  |  |       type: Object | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     orderDate: { | 
			
		
	
		
			
				
					|  |  |  |       type: String | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |     project: { | 
			
		
	
		
			
				
					|  |  |  |       type: Object | 
			
		
	
		
			
				
					|  |  |  |     }, | 
			
		
	
	
		
			
				
					|  |  | @ -173,6 +187,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       this.patientInfo = this.patientDetail | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |     if (this.orderDate) { | 
			
		
	
		
			
				
					|  |  |  |       this.form.date1 = this.orderDate | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   methods: { | 
			
		
	
		
			
				
					|  |  |  |     init() { | 
			
		
	
		
			
				
					|  |  |  |       this.visible = true | 
			
		
	
	
		
			
				
					|  |  | @ -201,7 +220,6 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     // 确认提交 | 
			
		
	
		
			
				
					|  |  |  |     handleSave() { | 
			
		
	
		
			
				
					|  |  |  |       if (!this.isEdit) { | 
			
		
	
		
			
				
					|  |  |  |         console.log('asdfasdf') | 
			
		
	
		
			
				
					|  |  |  |         this.$refs.addPatientForm.validate((valid) => { | 
			
		
	
		
			
				
					|  |  |  |           if (!valid) { | 
			
		
	
		
			
				
					|  |  |  |             return false | 
			
		
	
	
		
			
				
					|  |  | @ -227,12 +245,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |       } else { | 
			
		
	
		
			
				
					|  |  |  |         const params = { | 
			
		
	
		
			
				
					|  |  |  |           appointDate: `${this.form.date1} ${this.form.date2}`, | 
			
		
	
		
			
				
					|  |  |  |           doctorId: this.form.doctorId, | 
			
		
	
		
			
				
					|  |  |  |           doctorName: this.form.doctorName, | 
			
		
	
		
			
				
					|  |  |  |           patientId: this.form.patientId, | 
			
		
	
		
			
				
					|  |  |  |           patientName: this.patientDetail.patientName, | 
			
		
	
		
			
				
					|  |  |  |           id: this.patientDetail.id, | 
			
		
	
		
			
				
					|  |  |  |           itemId: this.patientDetail.itemId | 
			
		
	
		
			
				
					|  |  |  |           itemId: this.patientDetail.itemId, | 
			
		
	
		
			
				
					|  |  |  |           ...this.form | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         this.$http.post('/appoint/updateAppointInfo', params).then(() => { | 
			
		
	
		
			
				
					|  |  |  |           this.$message.success('修改成功') | 
			
		
	
	
		
			
				
					|  |  | @ -269,6 +285,11 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |   margin:0 8px; | 
			
		
	
		
			
				
					|  |  |  |   display: flex; | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | .addLabel{ | 
			
		
	
		
			
				
					|  |  |  |   width: 80px; | 
			
		
	
		
			
				
					|  |  |  |   text-align: right; | 
			
		
	
		
			
				
					|  |  |  |   margin-right: 10px | 
			
		
	
		
			
				
					|  |  |  | } | 
			
		
	
		
			
				
					|  |  |  | input{ | 
			
		
	
		
			
				
					|  |  |  |   -webkit-appearance: checkbox !important; | 
			
		
	
		
			
				
					|  |  |  |   margin-right: 5px !important; | 
			
		
	
	
		
			
				
					|  |  | 
 |