| | |
| | | } |
| | | |
| | | render() { |
| | | const { wrap, MenuType } = this.props |
| | | const { wrap, MenuType, config } = this.props |
| | | const { getFieldDecorator } = this.props.form |
| | | const { roleList } = this.state |
| | | |
| | |
| | | )} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="双击表格中行,触发的按钮。"> |
| | | <Icon type="question-circle" /> |
| | | 双击事件 |
| | | </Tooltip> |
| | | }> |
| | | {getFieldDecorator('doubleClick', { |
| | | initialValue: wrap.doubleClick || '' |
| | | })( |
| | | <Select allowClear> |
| | | {config.action.map(option => |
| | | <Select.Option key={option.uuid} value={option.uuid}>{option.label}</Select.Option> |
| | | )} |
| | | </Select> |
| | | )} |
| | | </Form.Item> |
| | | </Col> |
| | | {MenuType !== 'billPrint' ? <Col span={12}> |
| | | <Form.Item label="黑名单"> |
| | | {getFieldDecorator('blacklist', { |