| | |
| | | |
| | | class CreateInterface extends Component { |
| | | static propTypes = { |
| | | dict: PropTypes.object, // 字典项 |
| | | trigger: PropTypes.func |
| | | } |
| | | |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'Y', |
| | | text: this.props.dict['model.true'] |
| | | text: '是' |
| | | }, { |
| | | value: 'N', |
| | | text: this.props.dict['model.false'] |
| | | text: '否' |
| | | }] |
| | | }, { |
| | | type: 'radio', |
| | |
| | | required: true, |
| | | options: [{ |
| | | value: 'Y', |
| | | text: this.props.dict['model.true'] |
| | | text: '是' |
| | | }, { |
| | | value: 'N', |
| | | text: this.props.dict['model.false'] |
| | | text: '否' |
| | | }] |
| | | }] |
| | | }) |
| | |
| | | destroyOnClose |
| | | > |
| | | <MutilForm |
| | | dict={this.props.dict} |
| | | formlist={this.state.formlist} |
| | | wrappedComponentRef={(inst) => this.FormRef = inst} |
| | | /> |