检查制定取消
This commit is contained in:
parent
c1d45a5c94
commit
6aae605ef4
@ -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())
|
||||
}
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user