| | |
| | | { |
| | | title: this.props.dict['model.form.field'], |
| | | dataIndex: 'Column', |
| | | width: '25%' |
| | | width: '20%' |
| | | }, |
| | | { |
| | | title: this.props.dict['model.name'], |
| | | dataIndex: 'Text', |
| | | width: '25%' |
| | | width: '20%' |
| | | }, |
| | | { |
| | | title: this.props.dict['model.export'], |
| | | dataIndex: 'export', |
| | | width: '20%', |
| | | editable: true, |
| | | render: (text, record) => record.export !== 'false' ? this.props.dict['model.true'] : this.props.dict['model.false'] |
| | | }, |
| | | { |
| | | title: this.props.dict['model.form.columnWidth'], |
| | | dataIndex: 'Width', |
| | | width: '25%' |
| | | width: '20%' |
| | | }, |
| | | { |
| | | title: '操作', |
| | |
| | | cancelText={this.props.dict['model.cancel']} |
| | | onConfirm={() => this.handleDelete(record, 'columns') |
| | | }> |
| | | <span style={{color: '#1890ff', cursor: 'pointer'}}><Icon type="delete" /></span> |
| | | <span style={{color: '#ff4d4f', cursor: 'pointer'}}><Icon type="delete" /></span> |
| | | </Popconfirm> |
| | | </div> |
| | | ) |