| | |
| | | const { Panel } = Collapse |
| | | const { confirm } = Modal |
| | | const { TreeNode } = Tree |
| | | |
| | | const UpdateTable = asyncComponent(() => import('./updatetable')) |
| | | const TreeSettingComponent = asyncComponent(() => import('@/templates/sharecomponent/treesettingcomponent')) |
| | | const TabsComponent = asyncComponent(() => import('@/templates/sharecomponent/tabscomponent')) |
| | | |
| | |
| | | _config.MenuName = menu.MenuName || '' |
| | | _config.MenuNo = menu.MenuNo || '' |
| | | _config.OpenType = menu.PageParam ? menu.PageParam.OpenType : '' |
| | | _config.MenuID = menu.MenuID || '' |
| | | |
| | | // 配置默认值,兼容 |
| | | _config.Template = 'TreePage' |
| | |
| | | </div> |
| | | } bordered={false} extra={ |
| | | <div> |
| | | <UpdateTable config={config}/> |
| | | <Switch className="big" checkedChildren="启" unCheckedChildren="停" checked={this.state.config.enabled} onChange={this.onEnabledChange} /> |
| | | <Button type="primary" id="save-config" onClick={this.submitConfig} loading={this.state.menuloading}>保存</Button> |
| | | <Button onClick={this.cancelConfig}>关闭</Button> |