| | |
| | | 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 // 刷新上级菜单 |
| | | } |
| | | |
| | |
| | | searchlist: null, // 搜索条件 |
| | | actions: null, // 按钮集 |
| | | columns: null, // 显示列 |
| | | logcolumns: null, // 日志中显示的列信息 |
| | | logcolumns: null, // 日志中显示的列信息 (增加至全部列,除去合并列) |
| | | arr_field: '', // 使用 sPC_Get_TableData 时的查询字段集 |
| | | setting: null, // 页面全局设置:数据源、按钮及显示列固定、主键等 |
| | | data: null, // 列表数据集 |
| | |
| | | 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) |
| | |
| | | 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} |
| | | /> |