king
2020-06-16 6c16e43cd6521460c804391c042348dbb14086fc
src/tabviews/verupmanage/actionList/index.jsx
@@ -207,6 +207,10 @@
          }
        }
        if (param.timestamp) { // 云端验证
          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
        }
        Api.genericInterface(param).then((res) => {
          if (res.status) {
            this.execSuccess(btn, res)
@@ -279,6 +283,10 @@
              param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
              param.secretkey = Utils.encrypt(param.LText, param.timestamp)
            }
          }
          if (param.timestamp) { // 云端验证
            param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
          }
          return param
@@ -475,11 +483,22 @@
          _localParam = {..._outParam, ...response}
          response.rduri = window.GLOB.mainSystemApi
          if (_localParam.LTextOut) {
            _localParam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
            _localParam.secretkey = Utils.encrypt(_localParam.LTextOut, _localParam.timestamp)
            _localParam.open_key = Utils.encrypt(_localParam.secretkey, _localParam.timestamp, true)
          }
        }
        delete response.UpType
        let _callbackparam = {..._outParam, ...response}
        if (_callbackparam.LTextOut) {
          _callbackparam.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
          _callbackparam.secretkey = Utils.encrypt(_callbackparam.LTextOut, _callbackparam.timestamp)
          _callbackparam.open_key = Utils.encrypt(_callbackparam.secretkey, _callbackparam.timestamp, true)
        }
        return Api.getLocalConfig(_callbackparam)
      } else {
        if (response.status) {
@@ -734,6 +753,7 @@
        destroyOnClose
      >
        <MutilForm
          menuType="HS"
          dict={this.props.dict}
          action={execAction}
          inputSubmit={this.handleOk}