| | |
| | | |
| | | class NormalTableColumns extends Component { |
| | | static propTpyes = { |
| | | config: PropTypes.object, // 配置信息 |
| | | updatecolumn: PropTypes.func // 数据变化 |
| | | config: PropTypes.object, |
| | | updatecolumn: PropTypes.func, |
| | | addColumns: PropTypes.func |
| | | } |
| | | |
| | | state = { |
| | |
| | | } trigger="hover"> |
| | | <Button className="submit-btn" style={config.submit.style} onDoubleClick={() => this.setState({visible: true})} type="primary">提交</Button> |
| | | </Popover> |
| | | <PlusOutlined title="添加列" onClick={this.props.addColumns}/> |
| | | <CopyOutlined title="复制显示列" onClick={this.copycolumn} /> |
| | | <MarkColumn columns={fields} type="line" marks={lineMarks} onSubmit={this.updateLineMarks} /> |
| | | <ColsControl config={config} onSubmit={this.props.updatecolumn}/> |