From 063b983daaf51a7f1e8677bde1e9c0e618866c91 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 二月 2020 10:30:19 +0800 Subject: [PATCH] 2020-02-21 --- src/tabviews/formtab/actionList/index.jsx | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/tabviews/formtab/actionList/index.jsx b/src/tabviews/formtab/actionList/index.jsx index 72af4f9..cbb9056 100644 --- a/src/tabviews/formtab/actionList/index.jsx +++ b/src/tabviews/formtab/actionList/index.jsx @@ -120,10 +120,9 @@ param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000' param.secretkey = Utils.encrypt(param.LText, param.timestamp) } - Api.genericInterface(param).then((res) => { if (res.status) { - this.execSuccess(btn, res, _primaryId) + this.execSuccess(btn, res, _primaryId, formdata) } else { this.execError(res, btn) } @@ -210,7 +209,7 @@ return Api.genericInterface(_callbackparam) } else { if (response.status) { - this.execSuccess(btn, response, _primaryId) + this.execSuccess(btn, response, _primaryId, formdata) _resolve() } else { this.execError(response, btn) @@ -221,7 +220,7 @@ if (!res) return if (res.status) { - this.execSuccess(btn, res, _primaryId) + this.execSuccess(btn, res, _primaryId, formdata) _resolve() } else { this.execError(res, btn) @@ -244,7 +243,7 @@ * 4銆佹ā鎬佹鎵ц鎴愬姛鍚庢槸鍚﹀叧闂� * 5銆侀�氱煡涓诲垪琛ㄥ埛鏂� */ - execSuccess = (btn, res, primaryId) => { + execSuccess = (btn, res, primaryId, formdata) => { if (res && res.ErrCode === 'S') { // 鎵ц鎴愬姛 notification.success({ top: 92, @@ -255,7 +254,7 @@ } - this.props.refreshdata(btn, 'success', primaryId) + this.props.refreshdata(btn, 'success', primaryId, formdata) } /** -- Gitblit v1.8.0