|
|
@ -78,13 +78,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
/** 删除按钮操作,行内删除 */ |
|
|
|
/** 删除按钮操作,行内删除 */ |
|
|
|
async function handleDel(record?: Recordable) { |
|
|
|
async function handleDel(record?: Recordable) { |
|
|
|
const id = record?.id; |
|
|
|
const ids = record?.id; |
|
|
|
createConfirm({ |
|
|
|
createConfirm({ |
|
|
|
iconType: 'warning', |
|
|
|
iconType: 'warning', |
|
|
|
title: '警告', |
|
|
|
title: '警告', |
|
|
|
content: `是否确认删除机构编号为${id}机构吗?`, |
|
|
|
content: `是否确认删除机构编号为${ids}机构吗?`, |
|
|
|
onOk: async () => { |
|
|
|
onOk: async () => { |
|
|
|
await delMapLogistic(id); |
|
|
|
await delMapLogistic(ids); |
|
|
|
createMessage.success('删除成功!'); |
|
|
|
createMessage.success('删除成功!'); |
|
|
|
handleRefreshTable(); |
|
|
|
handleRefreshTable(); |
|
|
|
} |
|
|
|
} |
|
|
|