| | |
| | | updatecolumn = (config) => { |
| | | config.absFields = [] |
| | | config.hasExtend = false |
| | | config.parCtrl = false |
| | | let mapCol = (cols) => { |
| | | cols.forEach(col => { |
| | | if (col.type === 'number') { |
| | |
| | | } |
| | | } else if (col.type === 'extend') { |
| | | config.hasExtend = true |
| | | if (col.supField) { |
| | | config.parCtrl = true |
| | | } |
| | | } else if (col.type === 'colspan' && col.subcols) { |
| | | mapCol(col.subcols) |
| | | } |
| | |
| | | </Popover> |
| | | {appType !== 'mob' ? <SearchComponent config={card} updatesearch={this.updateComponent}/> : null} |
| | | <ActionComponent config={card} setSubConfig={this.setSubConfig} updateaction={this.updateComponent}/> |
| | | <ColumnComponent config={card} updatecolumn={this.updateComponent}/> |
| | | <ColumnComponent config={card} updatecolumn={this.updatecolumn}/> |
| | | <div className="component-name"> |
| | | <div className="center"> |
| | | <div className="title" onDoubleClick={() => { |