king
2020-06-29 2cfae2f496b90278d9af3c11159faa655e25a4ef
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -326,7 +326,7 @@
      }).then(res => {
        if (!res) return
        // 外部请求
        _outParam = JSON.parse(JSON.stringify(res))
        _outParam = fromJS(res).toJS()
        if (this.props.menuType === 'HS') {
          if (btn.sysInterface === 'true' && options.cloudServiceApi) {
@@ -346,6 +346,13 @@
          res.func = btn.outerFunc
        }
        if (this.props.menuType === 'HS' && res.func === 's_sDataDictb_excelIn') { // s_sDataDictb_excelIn 云端验证
          param.LText = Utils.formatOptions(result.sql)
          param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
          param.secretkey = Utils.encrypt(param.LText, param.timestamp)
          param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true)
        }
        return Api.genericInterface(res)
      }).then(response => {
        if (!response) return