king
2020-07-07 958377f8ed9ca55070da9aa319f23e3ee9d94701
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -205,10 +205,18 @@
            delete res.message
            delete res.status
            if (this.props.menuType === 'HS') {
              if (btn.sysInterface === 'true' && options.cloudServiceApi) {
                res.rduri = options.cloudServiceApi
              } else if (btn.sysInterface !== 'true') {
                res.rduri = btn.interface
              }
            } else {
            if (btn.sysInterface === 'true' && window.GLOB.mainSystemApi) {
              res.rduri = window.GLOB.mainSystemApi
            } else if (btn.sysInterface !== 'true') {
              res.rduri = btn.interface
              }
            }
  
            if (btn.outerFunc) {
@@ -260,15 +268,15 @@
        if (this.props.menuType === 'HS') {
          if (btn.sysInterface === 'true' && options.cloudServiceApi) {
            param.rduri = options.cloudServiceApi
            res.rduri = options.cloudServiceApi
          } else if (btn.sysInterface !== 'true') {
            param.rduri = btn.interface
            res.rduri = btn.interface
          }
        } else {
          if (btn.sysInterface === 'true' && window.GLOB.mainSystemApi) {
            param.rduri = window.GLOB.mainSystemApi
            res.rduri = window.GLOB.mainSystemApi
          } else if (btn.sysInterface !== 'true') {
            param.rduri = btn.interface
            res.rduri = btn.interface
          }
        }
@@ -540,6 +548,11 @@
      ..._search
    }
    // 数据管理权限
    if (this.props.dataManager) {
      param.dataM = 'Y'
    }
    if (this.props.BID) {
      param.BID = this.props.BID
    }
@@ -567,8 +580,12 @@
      obj_name: 'data',
      arr_field: arr_field,
      custom_script: setting.customScript || '',
      default_sql: setting.default || 'true',
      dataM: this.props.dataManager ? 'Y' : ''
      default_sql: setting.default || 'true'
    }
    // 数据管理权限
    if (this.props.dataManager) {
      param.dataM = 'Y'
    }
    if (this.props.BID) {