检查制定取消

This commit is contained in:
wyw 2024-06-07 15:16:41 +08:00
parent c1d45a5c94
commit 6aae605ef4

View File

@ -272,5 +272,18 @@ export default {
} else {
return '';
}
},
btnCancel: ({ record, onCancel, data, dispatch }) => {
let json = initFilter(record.ORG_ID, record.ID, null, null, null, data.TaskID);
dispatch({
type: 'app/getDataByPost',
url: 'BS/BSSafeCheck/Cancel',
payload: json,
onlyData: false,
onComplete: (ret) => {
message.success('执行成功', null, onCancel())
}
})
},
}