| | |
| | | MenuType: PropTypes.any, |
| | | dict: PropTypes.object, |
| | | plot: PropTypes.object, |
| | | sysRoles: PropTypes.array, |
| | | config: PropTypes.object, |
| | | plotchange: PropTypes.func |
| | | } |
| | |
| | | } |
| | | |
| | | showDrawer = () => { |
| | | const { config, sysRoles, MenuType } = this.props |
| | | const { config, MenuType } = this.props |
| | | |
| | | this.setState({ |
| | | visible: true, |
| | | view: 'normal', |
| | | plot: fromJS(config.plot).toJS(), |
| | | baseFormlist: getBaseForm(config.plot, sysRoles, MenuType), |
| | | baseFormlist: getBaseForm(config.plot, MenuType), |
| | | formlist: getOptionForm(config.plot, config.columns) |
| | | }) |
| | | } |