|  | @ -13,7 +13,7 @@ | 
		
	
		
			
				|  |  |         <div class="detailItem"> |  |  |         <div class="detailItem"> | 
		
	
		
			
				|  |  |           <div>姓名:{{ patientInfo.patientName }}</div> |  |  |           <div>姓名:{{ patientInfo.patientName }}</div> | 
		
	
		
			
				|  |  |           <div>性别:{{ patientInfo.patientSex }}</div> |  |  |           <div>性别:{{ patientInfo.patientSex }}</div> | 
		
	
		
			
				|  |  |           <div>生日:{{ $moment(patientInfo.patientBirthday).format('YYYY-MM-DD') }}</div> |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           <div>生日:{{ birthShow(patientInfo.patientBirthday) }}</div> | 
		
	
		
			
				|  |  |           <div v-if="patientInfo.patientAge">年龄:{{ patientInfo.patientAge }}</div> |  |  |           <div v-if="patientInfo.patientAge">年龄:{{ patientInfo.patientAge }}</div> | 
		
	
		
			
				|  |  |           <div v-if="patientInfo.source">来源:{{ patientInfo.source }}</div> |  |  |           <div v-if="patientInfo.source">来源:{{ patientInfo.source }}</div> | 
		
	
		
			
				|  |  |         </div> |  |  |         </div> | 
		
	
	
		
			
				|  | @ -208,6 +208,9 @@ export default { | 
		
	
		
			
				|  |  |     init() { |  |  |     init() { | 
		
	
		
			
				|  |  |       this.visible = true |  |  |       this.visible = true | 
		
	
		
			
				|  |  |     }, |  |  |     }, | 
		
	
		
			
				|  |  |  |  |  |     birthShow(birthday) { | 
		
	
		
			
				|  |  |  |  |  |       return birthday ? this.$moment(birthday).format('YYYY-MM-DD') : '-' | 
		
	
		
			
				|  |  |  |  |  |     }, | 
		
	
		
			
				|  |  |     // 查询患者 |  |  |     // 查询患者 | 
		
	
		
			
				|  |  |     searchPatient(val) { |  |  |     searchPatient(val) { | 
		
	
		
			
				|  |  |       this.$http.get('/appoint/getPatientInfo', { params: { patientId: val }}).then((data) => { |  |  |       this.$http.get('/appoint/getPatientInfo', { params: { patientId: val }}).then((data) => { | 
		
	
	
		
			
				|  | 
 |