From 6aae605ef428ea62aaf6c2f7ecda2397abdbe10d Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Fri, 7 Jun 2024 15:16:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E5=88=B6=E5=AE=9A=E5=8F=96?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/files/edit/BS032.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/files/edit/BS032.js b/src/files/edit/BS032.js index 8b70d6b..ec8baa4 100644 --- a/src/files/edit/BS032.js +++ b/src/files/edit/BS032.js @@ -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()) + } + }) + }, }