|  |  | @ -201,6 +201,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |     // 确认提交 | 
			
		
	
		
			
				
					|  |  |  |     handleSave() { | 
			
		
	
		
			
				
					|  |  |  |       if (!this.isEdit) { | 
			
		
	
		
			
				
					|  |  |  |         console.log('asdfasdf') | 
			
		
	
		
			
				
					|  |  |  |         this.$refs.addPatientForm.validate((valid) => { | 
			
		
	
		
			
				
					|  |  |  |           if (!valid) { | 
			
		
	
		
			
				
					|  |  |  |             return false | 
			
		
	
	
		
			
				
					|  |  | @ -214,7 +215,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |             itemName: this.project.itemName, | 
			
		
	
		
			
				
					|  |  |  |             ...this.form | 
			
		
	
		
			
				
					|  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |           this.$http.post('/appoint/saveAppointInfo', params).then(() => { | 
			
		
	
		
			
				
					|  |  |  |           this.$http.post('/appoint/saveAppointInfo', params).then(res => { | 
			
		
	
		
			
				
					|  |  |  |             if (res.data.code !== 0) { | 
			
		
	
		
			
				
					|  |  |  |               return this.$message.error(res.data.msg) | 
			
		
	
		
			
				
					|  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |             this.$message.success('添加成功') | 
			
		
	
		
			
				
					|  |  |  |             this.$emit('updateAppoint') | 
			
		
	
		
			
				
					|  |  |  |             this.visible = false | 
			
		
	
	
		
			
				
					|  |  | 
 |