|  | @ -158,8 +158,8 @@ export default { | 
		
	
		
			
				|  |  |   methods: { |  |  |   methods: { | 
		
	
		
			
				|  |  |     init() { |  |  |     init() { | 
		
	
		
			
				|  |  |       this.visible = true |  |  |       this.visible = true | 
		
	
		
			
				|  |  |       this.getDoctorList('视光医生') |  |  |  | 
		
	
		
			
				|  |  |       this.getDoctorList('门诊医生') |  |  |  | 
		
	
		
			
				|  |  |  |  |  |       this.getDoctorList('视光医师') | 
		
	
		
			
				|  |  |  |  |  |       this.getDoctorList('门诊医师') | 
		
	
		
			
				|  |  |       this.getProject() |  |  |       this.getProject() | 
		
	
		
			
				|  |  |       this.$nextTick(() => { |  |  |       this.$nextTick(() => { | 
		
	
		
			
				|  |  |         this.$refs.dataForm.resetFields() // 重置表单 |  |  |         this.$refs.dataForm.resetFields() // 重置表单 | 
		
	
	
		
			
				|  | @ -202,7 +202,7 @@ export default { | 
		
	
		
			
				|  |  |         if (!valid) { |  |  |         if (!valid) { | 
		
	
		
			
				|  |  |           return false |  |  |           return false | 
		
	
		
			
				|  |  |         } |  |  |         } | 
		
	
		
			
				|  |  |         this.dataForm.zlProjectCode = this.dataForm.zlProjectCode.join(',') |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         this.dataForm.zlProjectCode = this.dataForm.zlProjectCode.length && this.dataForm.zlProjectCode.join(',') | 
		
	
		
			
				|  |  |         this.$http[!this.dataForm.id ? 'post' : 'put']('/patient/savePatient', this.dataForm).then(({ data: res }) => { |  |  |         this.$http[!this.dataForm.id ? 'post' : 'put']('/patient/savePatient', this.dataForm).then(({ data: res }) => { | 
		
	
		
			
				|  |  |           if (res.code !== 0) { |  |  |           if (res.code !== 0) { | 
		
	
		
			
				|  |  |             return this.$message.error(res.msg) |  |  |             return this.$message.error(res.msg) | 
		
	
	
		
			
				|  | 
 |