| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { Form, Row, Col, Select, Button } from 'antd' |
| | | import './index.scss' |
| | | |
| | | // import './index.scss' |
| | | |
| | | class UniqueForm extends Component { |
| | | static propTpyes = { |
| | |
| | | <Col span={7}> |
| | | <Form.Item label="验证类型"> |
| | | {getFieldDecorator('verifyType', { |
| | | initialValue: 'physical', |
| | | initialValue: 'logic', |
| | | rules: [ |
| | | { |
| | | required: true, |
| | |
| | | ] |
| | | })( |
| | | <Select> |
| | | <Select.Option value="physical"> 物理验证(全量验证) </Select.Option> |
| | | <Select.Option value="logic"> 逻辑验证(全量验证) </Select.Option> |
| | | <Select.Option value="physical"> 物理验证(全量验证) </Select.Option> |
| | | <Select.Option value="physical_temp"> 物理验证(仅临时表) </Select.Option> |
| | | <Select.Option value="logic_temp"> 逻辑验证(仅临时表) </Select.Option> |
| | | </Select> |
| | | )} |
| | | </Form.Item> |
| | | </Col> |
| | | <Col span={3} className="add"> |
| | | <Col span={3} className="add" style={{paddingTop: '4px'}}> |
| | | <Button onClick={this.handleConfirm} className="mk-green"> |
| | | 添加 |
| | | </Button> |