king
2020-11-03 37a134bd23ec4b227a0e010b08a1a89c2bbaaa0d
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -18,6 +18,7 @@
  static propTpyes = {
    BID: PropTypes.string,            // 主表ID
    show: PropTypes.any,              // 显示样式
    MenuName: PropTypes.any,          // 菜单名称
    Tab: PropTypes.any,               // 如果当前元素为标签时,tab为标签信息
    btn: PropTypes.object,            // 按钮
    setting: PropTypes.any,           // 页面通用设置
@@ -440,7 +441,7 @@
   * @description 执行自定义脚本
   */
  execCustomScript = () => {
    const { btn } = this.props
    const { btn, MenuName } = this.props
    const { search } = this.state
    let script = btn.verify.script
@@ -464,7 +465,8 @@
    })
    let param = {
      func: 'sPC_TableData_InUpDe'
      func: 'sPC_TableData_InUpDe',
      menuname: `${MenuName ? MenuName + '-' : ''}${btn.label}`
    }
    if (this.props.BID) {
@@ -527,7 +529,7 @@
   * @description 获取默认存储过程请求参数
   */
  getExcelDefaultParam = (arr_field, orderBy, search, pagination = false, pageIndex = 1, pageSize = 100) => {
    const { setting } = this.props
    const { setting, MenuName, btn } = this.props
    let _search = Utils.joinMainSearchkey(search)
@@ -538,7 +540,8 @@
      obj_name: 'data',
      arr_field: arr_field,
      custom_script: setting.customScript,
      default_sql: setting.default || 'true'
      default_sql: setting.default || 'true',
      menuname: `${MenuName ? MenuName + '-' : ''}${btn.label}`
    }
    // 数据管理权限