解决员工标签作废后没修改状态bug
This commit is contained in:
parent
1e7241af3a
commit
72afced097
|
|
@ -181,6 +181,7 @@ function handleCancellation(record) {
|
|||
content: `是否确认作废【` + record.tagName + `】?<br/>作废后所有已分配的此员工标签将被移除,<br/>且相关服务指令无法继续执行,请谨慎操作!`,
|
||||
iconType: 'warning',
|
||||
onOk: () => {
|
||||
record.izEnabled = 'N'
|
||||
cancellationApi(record).then((res) => {
|
||||
if (res.success) {
|
||||
createMessage.success(res.message);
|
||||
|
|
|
|||
Loading…
Reference in New Issue