|
|
|
@ -499,11 +499,11 @@ export default { |
|
|
|
type: "warning", |
|
|
|
}).then(() => { |
|
|
|
//console.log('{patientRegisterIds}',{patientRegisterIds}) |
|
|
|
return deletapi(`/api/app/customer-org/${this.customerOrg.customerOrgRd.id}`); |
|
|
|
return deletapi(`/api/app/customer-org/${this.dataTransOpts.tableS.customer_org.id}`); |
|
|
|
}).then((res) => { |
|
|
|
if (res.code != -1) { |
|
|
|
console.log("删除 操作成功"); |
|
|
|
this.getCustomerOrgTree("delete", this.customerOrg.customerOrgRd.id); |
|
|
|
this.getCustomerOrgTree("delete", this.dataTransOpts.tableS.customer_org.id); |
|
|
|
this.customerOrg.customerOrgRegisterList = [] |
|
|
|
this.customerOrg.contactPersonList = [] |
|
|
|
this.customerOrg.contactMethodList = [] |
|
|
|
|