| | |
| | | } |
| | | |
| | | state = { |
| | | view: 'normal', |
| | | view: 'base', |
| | | visible: false, |
| | | plot: null, |
| | | formlist: null, |
| | |
| | | |
| | | this.setState({ |
| | | visible: true, |
| | | view: 'normal', |
| | | view: 'base', |
| | | plot: fromJS(config.plot).toJS(), |
| | | baseFormlist: getBaseForm(config.plot, config.columns), |
| | | formlist: getOptionForm(config.plot, config.columns) |
| | | formlist: getOptionForm(config.plot, config.uuid) |
| | | }) |
| | | } |
| | | |
| | |
| | | <Modal |
| | | wrapClassName="mk-pop-modal" |
| | | visible={visible} |
| | | width={850} |
| | | width={900} |
| | | maskClosable={false} |
| | | onOk={this.onSubmit} |
| | | onCancel={() => { this.setState({ visible: false }) }} |