| | |
| | | |
| | | return ( |
| | | <Switch> |
| | | |
| | | <Route path="/document/create/:id?" component={DocumentEdit} /> |
| | | <Route path="/document/detail/:id" component={DocumentDetail} /> |
| | | <Route path="/index/workbench/announcement" component={Announcement} /> |
| | |
| | | { |
| | | renderUser && |
| | | <React.Fragment> |
| | | <Route path="/baseManage/user/Detail/:id/:flag" component={UserDetail} /> |
| | | <Route path="/baseManage/user" component={UserManage} /> |
| | | <Route path="/baseManage/group/Detail/:id/:flag" component={GroupDetail} /> |
| | | <Route path="/baseManage/group" component={GroupManage} /> |
| | | <Route path="/organizationMgt/unit" component={UnitManage} /> |
| | | <Route path="/organizationMgt/department" component={DepartmentManage} /> |
| | | <Route path="/organizationMgt/job" component={JobManage} /> |
| | | <Route path="/resourceMgt/appService/Detail/:id/:flag" component={AppServiceDetail} /> |
| | | <Route path="/resourceMgt/appService" component={AppServiceManage} /> |
| | | <Route path="/resourceMgt/modules" component={ModulesManage} /> |
| | | <Route path="/resourceMgt/function" component={FunctionManage} /> |
| | | <Route path="/organizationMgt/role/Detail/:id/:flag" component={RoleDetail} /> |
| | | <Route path="/authorityMgt/role" component={RoleManage} /> |
| | | <Route path="/authorityMgt/authority" component={AuthorityManage} /> |
| | | <Redirect from='/' to="/baseManage/user" component={UserManage} /> |
| | | <Switch> |
| | | <Route path="/baseManage/user/Detail/:id/:flag" component={UserDetail} /> |
| | | <Route path="/baseManage/user" component={UserManage} /> |
| | | <Route path="/baseManage/group/Detail/:id/:flag" component={GroupDetail} /> |
| | | <Route path="/baseManage/group" component={GroupManage} /> |
| | | <Route path="/organizationMgt/unit" component={UnitManage} /> |
| | | <Route path="/organizationMgt/department" component={DepartmentManage} /> |
| | | <Route path="/organizationMgt/job" component={JobManage} /> |
| | | <Route path="/resourceMgt/appService/Detail/:id/:flag" component={AppServiceDetail} /> |
| | | <Route path="/resourceMgt/appService" component={AppServiceManage} /> |
| | | <Route path="/resourceMgt/modules" component={ModulesManage} /> |
| | | <Route path="/resourceMgt/function" component={FunctionManage} /> |
| | | <Route path="/organizationMgt/role/Detail/:id/:flag" component={RoleDetail} /> |
| | | <Route path="/authorityMgt/role" component={RoleManage} /> |
| | | <Route path="/authorityMgt/authority" component={AuthorityManage} /> |
| | | <Redirect from='/' to="/baseManage/user" component={UserManage} /> |
| | | </Switch> |
| | | </React.Fragment> |
| | | } |
| | | |
| | | <div> |
| | | |
| | | |
| | | </div> |
| | | |
| | | <Route path="/" component={Workbench} /> |