|
|
@ -121,7 +121,7 @@ export default { |
|
|
|
await confirm({ message: "是否要删除该机构?" }); |
|
|
|
|
|
|
|
request({ |
|
|
|
url: `/business/shifts/${data.id}`, |
|
|
|
url: `/business/organization/${data.dcOrganizations.id}`, |
|
|
|
method: "DELETE", |
|
|
|
data: {} |
|
|
|
}) |
|
|
@ -168,7 +168,7 @@ export default { |
|
|
|
} |
|
|
|
}).then(result => { |
|
|
|
if (result.code != 200) return; |
|
|
|
|
|
|
|
|
|
|
|
this.data = result.rows; |
|
|
|
this.setTotal(result.total) |
|
|
|
}).finally(() => { |
|
|
|