| | |
| | | |
| | | const MenuShell = asyncComponent(() => import('@/menu/tableshell')) |
| | | const ReplaceField = asyncComponent(() => import('@/menu/replaceField')) |
| | | const NormalCopy = asyncComponent(() => import('@/menu/normalCopy')) |
| | | const BgController = asyncComponent(() => import('@/pc/bgcontroller')) |
| | | const TableComponent = asyncComponent(() => import('@/templates/sharecomponent/tablecomponent')) |
| | | |
| | |
| | | <Panel header="基本信息" key="basedata"> |
| | | {/* 表名添加 */} |
| | | <TableComponent config={config} updatetable={this.updatetable}/> |
| | | <NormalCopy /> |
| | | </Panel> |
| | | {/* 组件添加 */} |
| | | <Panel header="搜索" key="search"> |
| | |
| | | <div> {config.MenuName} </div> |
| | | } bordered={false} extra={ |
| | | <div> |
| | | <ReplaceField type="custom" config={config} updateConfig={this.resetConfig}/> |
| | | <ReplaceField config={config} updateConfig={this.resetConfig}/> |
| | | <Switch className="big" checkedChildren="启" unCheckedChildren="停" checked={config.enabled} onChange={this.onEnabledChange} /> |
| | | <Button type="primary" id="save-pop-config" onClick={this.submitConfig} loading={menuloading}>保存</Button> |
| | | <Button type="default" disabled={menuloading} onClick={this.closeView}>返回</Button> |