king
2020-02-21 063b983daaf51a7f1e8677bde1e9c0e618866c91
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)
  }
  /**