Browse Source

修改删除机构报错的bug

wangqin
刘朋 1 year ago
parent
commit
bd98f65045
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue

4
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/emergencyAgencies/index.vue

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

Loading…
Cancel
Save