| | |
| | | </Col> |
| | | <Col span={12}> |
| | | <Form.Item label={ |
| | | <Tooltip placement="topLeft" title="使用搜索栏时,标题用于搜索条件隐藏时显示。"> |
| | | <Tooltip placement="topLeft" title="使用搜索栏时,标题用于搜索条件隐藏时(当启用黑名单,登录用户无权限时)显示。"> |
| | | <QuestionCircleOutlined className="mk-form-tip" /> |
| | | 标题 |
| | | </Tooltip> |
| | |
| | | <Form.Item label="初始值"> |
| | | {getFieldDecorator('initval', { |
| | | initialValue: config.setting.initval, |
| | | rules: [ |
| | | { |
| | | max: formRule.input.max, |
| | | message: formRule.input.message |
| | | } |
| | | ] |
| | | })(<Input placeholder="" autoComplete="off" onPressEnter={this.handleSubmit} />)} |
| | | </Form.Item> |
| | | </Col> : null} |
| | | {type === 'search' ? <Col span={12}> |
| | | <Form.Item label="提示文字"> |
| | | {getFieldDecorator('label', { |
| | | initialValue: config.setting.label, |
| | | rules: [ |
| | | { |
| | | max: formRule.input.max, |
| | |
| | | {getFieldDecorator('backgroundColor', { |
| | | initialValue: config.setting.backgroundColor || '#ffffff' |
| | | })( |
| | | <ColorSketch value={config.setting.backgroundColor || '#ffffff'}/> |
| | | <ColorSketch/> |
| | | )} |
| | | </Form.Item> |
| | | </Col> |