|  |  | @ -15,7 +15,7 @@ | 
			
		
	
		
			
				
					|  |  |  |           <div>性别:{{ patientInfo.patientSex }}</div> | 
			
		
	
		
			
				
					|  |  |  |           <div>生日:{{ $moment(patientInfo.patientBirthday).format('YYYY-MM-DD') }}</div> | 
			
		
	
		
			
				
					|  |  |  |           <div v-if="patientInfo.patientAge">年龄:{{ patientInfo.patientAge }}</div> | 
			
		
	
		
			
				
					|  |  |  |           <div>来源:{{ patientInfo.source }}</div> | 
			
		
	
		
			
				
					|  |  |  |           <div v-if="patientInfo.source">来源:{{ patientInfo.source }}</div> | 
			
		
	
		
			
				
					|  |  |  |         </div> | 
			
		
	
		
			
				
					|  |  |  |       </div> | 
			
		
	
		
			
				
					|  |  |  |       <el-form-item label="负责医生:"> | 
			
		
	
	
		
			
				
					|  |  | @ -30,7 +30,7 @@ | 
			
		
	
		
			
				
					|  |  |  |           </el-select> | 
			
		
	
		
			
				
					|  |  |  |         </el-col> | 
			
		
	
		
			
				
					|  |  |  |         <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-radio-group v-model="form.source"> | 
			
		
	
		
			
				
					|  |  |  |             <el-radio label="门诊" /> | 
			
		
	
		
			
				
					|  |  |  |             <el-radio label="住院" /> | 
			
		
	
	
		
			
				
					|  |  | @ -114,8 +114,8 @@ | 
			
		
	
		
			
				
					|  |  |  |     </el-form> | 
			
		
	
		
			
				
					|  |  |  |     <span slot="footer" class="dialog-footer"> | 
			
		
	
		
			
				
					|  |  |  |       <el-button size="small" @click="goFormList">表单</el-button> | 
			
		
	
		
			
				
					|  |  |  |       <el-button size="small" @click="closeDialog">取 消</el-button> | 
			
		
	
		
			
				
					|  |  |  |       <el-button type="primary" size="small" @click="handleSave">确 定</el-button> | 
			
		
	
		
			
				
					|  |  |  |       <el-button type="primary" size="small" @click="handleSave">保存</el-button> | 
			
		
	
		
			
				
					|  |  |  |       <el-button size="small" @click="closeDialog">关闭</el-button> | 
			
		
	
		
			
				
					|  |  |  |     </span> | 
			
		
	
		
			
				
					|  |  |  |   </el-dialog> | 
			
		
	
		
			
				
					|  |  |  | </template> | 
			
		
	
	
		
			
				
					|  |  | @ -195,6 +195,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     this.getDoctorList() | 
			
		
	
		
			
				
					|  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |   mounted() { | 
			
		
	
		
			
				
					|  |  |  |     console.log(this.patientDetail) | 
			
		
	
		
			
				
					|  |  |  |     if (this.patientDetail) { | 
			
		
	
		
			
				
					|  |  |  |       this.form.patientId = this.patientDetail.patientId | 
			
		
	
		
			
				
					|  |  |  |       this.form.doctorId = this.patientDetail.doctorId | 
			
		
	
	
		
			
				
					|  |  | @ -275,7 +276,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             this.$message.success('添加成功') | 
			
		
	
		
			
				
					|  |  |  |             this.$emit('updateAppoint') | 
			
		
	
		
			
				
					|  |  |  |             this.visible = false | 
			
		
	
		
			
				
					|  |  |  |             // this.visible = false | 
			
		
	
		
			
				
					|  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |           const params = { | 
			
		
	
	
		
			
				
					|  |  | @ -290,7 +291,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |           this.$http.post('/appoint/updateAppointInfo', params).then(() => { | 
			
		
	
		
			
				
					|  |  |  |             this.$message.success('修改成功') | 
			
		
	
		
			
				
					|  |  |  |             this.$emit('updateAppoint') | 
			
		
	
		
			
				
					|  |  |  |             this.visible = false | 
			
		
	
		
			
				
					|  |  |  |             // this.visible = false | 
			
		
	
		
			
				
					|  |  |  |           }) | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |       }) | 
			
		
	
	
		
			
				
					|  |  | 
 |