From ec98e336b79afc2a43c998134b46b71e0e201049 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 20 八月 2021 18:24:09 +0800 Subject: [PATCH] 2021-08-20 --- src/tabviews/zshare/actionList/normalbutton/index.jsx | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/actionList/normalbutton/index.jsx b/src/tabviews/zshare/actionList/normalbutton/index.jsx index 8aac0c2..737abd4 100644 --- a/src/tabviews/zshare/actionList/normalbutton/index.jsx +++ b/src/tabviews/zshare/actionList/normalbutton/index.jsx @@ -352,6 +352,9 @@ param.$callbacksql = callbacksql } else { param.LText = getSysDefaultSql(btn, setting, formdata, param, data[0], columns, this.props.Tab, false, this.moduleParams, Utils.getAllSearchOptions) // 鏁版嵁婧� + if (btn.OpenType === 'formSubmit' && btn.output) { + param.key_back_type = 'Y' + } } if (sessionStorage.getItem('dataM') === 'true') { // 鏁版嵁鏉冮檺 @@ -1292,8 +1295,13 @@ this.sendMessage() } + let id = '' + if (btn.output) { + id = res.mk_b_id || res[btn.output] || '' + } + if (btn.execSuccess !== 'never') { - MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execSuccess || '', btn) + MKEmitter.emit('refreshByButtonResult', btn.$menuId, btn.execSuccess, btn, id) } } -- Gitblit v1.8.0