king
2020-02-09 6d0137932fcc8f9848123743c1aad5cff8172d8a
src/tabviews/subtabtable/index.jsx
@@ -18,8 +18,10 @@
  static propTpyes = {
    ID: PropTypes.string,            // 上级数据ID
    BID: PropTypes.string,           // 上上级数据ID
    BData: PropTypes.any,            // 上上级数据
    MenuID: PropTypes.string,        // 菜单Id
    SupMenuID: PropTypes.string,     // 上级菜单Id
    ContainerId: PropTypes.any,      // 三级菜单Container(html) ID
    refreshSupView: PropTypes.any    // 刷新上级菜单
  }
@@ -32,7 +34,7 @@
    searchlist: null,     // 搜索条件
    actions: null,        // 按钮集
    columns: null,        // 显示列
    logcolumns: null,     // 日志中显示的列信息
    logcolumns: null,     // 日志中显示的列信息 (增加至全部列,除去合并列)
    arr_field: '',        // 使用 sPC_Get_TableData 时的查询字段集
    setting: null,        // 页面全局设置:数据源、按钮及显示列固定、主键等
    data: null,           // 列表数据集
@@ -100,10 +102,7 @@
        if (col.field) {
          _arrField.push(col.field)
          // 筛选出日志中的显示列,取前四个
          if (col.Hide !== 'true' && _logcolumns.length < 4) {
            _logcolumns.push(col)
          }
          _logcolumns.push(col)
        }
        if (col.type === 'colspan' && col.sublist) { // 筛选隐藏列
          _hideCol = _hideCol.concat(col.sublist)
@@ -596,8 +595,10 @@
            setting={setting}
            actions={actions}
            BID={this.props.BID}
            BData={this.props.BData}
            dict={this.state.dict}
            MenuID={this.props.SupMenuID}
            ContainerId={this.props.ContainerId}
            refreshdata={this.refreshbyaction}
            gettableselected={this.gettableselected}
          />