king
2020-07-07 958377f8ed9ca55070da9aa319f23e3ee9d94701
src/tabviews/subtable/index.jsx
@@ -530,6 +530,11 @@
      param = this.getDefaultParam(_BID)
    }
    // 数据管理权限
    if (this.props.dataManager) {
      param.dataM = 'Y'
    }
    this.handleTableId()
    let result = await Api.genericInterface(param)
@@ -572,7 +577,6 @@
    let param = {
      OrderCol: orderBy || setting.order,
      dataM: this.props.dataManager ? 'Y' : '',
      BID: BID,
      ..._search
    }
@@ -628,8 +632,7 @@
      arr_field: arr_field,
      BID: BID,
      custom_script: setting.customScript || '',
      default_sql: setting.default || 'true',
      dataM: this.props.dataManager ? 'Y' : ''
      default_sql: setting.default || 'true'
    }
    let _orderBy = orderBy || setting.order