king
2020-07-07 958377f8ed9ca55070da9aa319f23e3ee9d94701
src/tabviews/subtabtable/index.jsx
@@ -418,6 +418,11 @@
      param = this.getDefaultParam()
    }
    // 数据管理权限
    if (this.props.dataManager) {
      param.dataM = 'Y'
    }
    let result = await Api.genericInterface(param)
    if (result.status) {
      this.setState({
@@ -450,7 +455,6 @@
    let param = {
      OrderCol: orderBy || setting.order,
      dataM: this.props.dataManager ? 'Y' : '',
      ..._search
    }
@@ -499,8 +503,7 @@
      arr_field: arr_field,
      BID: this.props.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