| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -225,17 +225,39 @@ export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        alert("请先选择要编辑的联系人"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      deletapi(`/api/app/contact-person/${this.personId}`).then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$confirm("此操作将永久删除该记录, 是否继续?", "提示", { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        confirmButtonText: "是", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        cancelButtonText: "否", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        type: "warning", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }).then(() => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //console.log('{patientRegisterIds}',{patientRegisterIds}) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return deletapi(`/api/app/contact-person/${this.personId}`); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }).then((res) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(res.code != -1)  { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.personId = ""; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.getContactPersonList(this.customerOrg.customerOrgId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.customerOrg.contactMethodList = []; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          this.$message.success("操作成功!"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }           | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }).catch((err) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(`deletapi:/api/app/contact-person/${this.personId}`,err); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //删除联系方式行 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    deleteRow(index) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      this.$confirm("此操作将永久删除该记录, 是否继续?", "提示", { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        confirmButtonText: "是", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        cancelButtonText: "否", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        type: "warning", | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }).then(() => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.customerOrg.contactMethodList.splice(index, 1); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.submit('form'); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }).catch((err) => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(`deletapi:/api/app/contact-person/${this.personId}`,err); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					      }); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					       | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    //联系人信息提交 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |