|  | @ -257,8 +257,8 @@ export default { | 
		
	
		
			
				|  |  |       if (res.code === 0) { |  |  |       if (res.code === 0) { | 
		
	
		
			
				|  |  |         this.formData = res.data |  |  |         this.formData = res.data | 
		
	
		
			
				|  |  |         if (!this.formData.id) { |  |  |         if (!this.formData.id) { | 
		
	
		
			
				|  |  |           await this.getPatientData() |  |  |  | 
		
	
		
			
				|  |  |           await this.queryFirstInfo() |  |  |           await this.queryFirstInfo() | 
		
	
		
			
				|  |  |  |  |  |           await this.getPatientData() | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |       } else { |  |  |       } else { | 
		
	
		
			
				|  |  |         this.$message.error(res.msg) |  |  |         this.$message.error(res.msg) | 
		
	
	
		
			
				|  | @ -289,11 +289,11 @@ export default { | 
		
	
		
			
				|  |  |       ) |  |  |       ) | 
		
	
		
			
				|  |  |       if (res.code === 0) { |  |  |       if (res.code === 0) { | 
		
	
		
			
				|  |  |         if (res.data) { |  |  |         if (res.data) { | 
		
	
		
			
				|  |  |           this.formData.patientId = res.data.patientId |  |  |  | 
		
	
		
			
				|  |  |           this.formData.patientSex = res.data.patientSex |  |  |  | 
		
	
		
			
				|  |  |           this.formData.patientName = res.data.patientName |  |  |  | 
		
	
		
			
				|  |  |           this.formData.patientAddress = res.data.patientAddress |  |  |  | 
		
	
		
			
				|  |  |           this.formData.patientPhone = res.data.patientPhone |  |  |  | 
		
	
		
			
				|  |  |  |  |  |           this.$set(this.formData, 'patientId', res.data.patientId) | 
		
	
		
			
				|  |  |  |  |  |           this.$set(this.formData, 'patientSex', res.data.patientSex) | 
		
	
		
			
				|  |  |  |  |  |           this.$set(this.formData, 'patientName', res.data.patientName) | 
		
	
		
			
				|  |  |  |  |  |           this.$set(this.formData, 'patientAddress', res.data.patientAddress) | 
		
	
		
			
				|  |  |  |  |  |           this.$set(this.formData, 'patientPhone', res.data.patientPhone) | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |       } else { |  |  |       } else { | 
		
	
		
			
				|  |  |         this.$message.error(res.msg) |  |  |         this.$message.error(res.msg) | 
		
	
	
		
			
				|  | 
 |