解决员工标签作废后没修改状态bug

This commit is contained in:
1378012178@qq.com 2026-03-16 11:09:03 +08:00
parent 1e7241af3a
commit 72afced097
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ function handleCancellation(record) {
content: `是否确认作废【` + record.tagName + `】?<br/>作废后所有已分配的此员工标签将被移除,<br/>且相关服务指令无法继续执行,请谨慎操作!`, content: `是否确认作废【` + record.tagName + `】?<br/>作废后所有已分配的此员工标签将被移除,<br/>且相关服务指令无法继续执行,请谨慎操作!`,
iconType: 'warning', iconType: 'warning',
onOk: () => { onOk: () => {
record.izEnabled = 'N'
cancellationApi(record).then((res) => { cancellationApi(record).then((res) => {
if (res.success) { if (res.success) {
createMessage.success(res.message); createMessage.success(res.message);