|
12345678910111213141516171819202122232425262728293031 |
- // @ts-nocheck
- // This file is generated by Umi automatically
- // DO NOT CHANGE IT MANUALLY!
- import React from 'react';
-
- export async function getRoutes() {
- const routes = {"1":{"path":"/","redirect":"/main/company/list","parentId":"ant-design-pro-layout","id":"1"},"2":{"path":"/login","layout":false,"id":"2"},"3":{"name":"基础管理","path":"/main","parentId":"ant-design-pro-layout","id":"3"},"4":{"name":"企业管理","parentId":"3","id":"4"},"5":{"name":"企业列表","path":"/main/company/list","parentId":"4","id":"5"},"6":{"name":"VIP列表","path":"/main/company/vip","parentId":"4","id":"6"},"7":{"name":"部门管理","path":"/main/company/department","parentId":"4","id":"7"},"8":{"name":"职位管理","path":"/main/company/post","parentId":"4","id":"8"},"9":{"name":"求职者管理","parentId":"3","id":"9"},"10":{"name":"简历列表","path":"/main/jobseeker/list","parentId":"9","id":"10"},"11":{"name":"求职者账号列表","path":"/main/jobseeker/account","parentId":"9","id":"11"},"12":{"name":"系统管理","path":"/rent","parentId":"ant-design-pro-layout","id":"12"},"13":{"name":"房屋管理","path":"/rent/house","parentId":"12","id":"13"},"14":{"name":"租客管理","path":"/rent/renter","parentId":"12","id":"14"},"15":{"name":"账号权限","path":"/school","parentId":"ant-design-pro-layout","id":"15"},"16":{"name":"学校管理","path":"/school/address","parentId":"15","id":"16"},"17":{"name":"学生管理","path":"/school/area","parentId":"15","id":"17"},"ant-design-pro-layout":{"id":"ant-design-pro-layout","path":"/","isLayout":true}} as const;
- return {
- routes,
- routeComponents: {
- '1': React.lazy(() => import('./EmptyRoute')),
- '2': React.lazy(() => import(/* webpackChunkName: "p__Login__index" */'@/pages/Login/index.tsx')),
- '3': React.lazy(() => import('./EmptyRoute')),
- '4': React.lazy(() => import('./EmptyRoute')),
- '5': React.lazy(() => import(/* webpackChunkName: "p__Main__Company__List__index" */'@/pages/Main/Company/List/index.tsx')),
- '6': React.lazy(() => import(/* webpackChunkName: "p__Main__Company__Vip__index" */'@/pages/Main/Company/Vip/index.tsx')),
- '7': React.lazy(() => import(/* webpackChunkName: "p__Main__Company__Department__index" */'@/pages/Main/Company/Department/index.tsx')),
- '8': React.lazy(() => import(/* webpackChunkName: "p__Main__Company__Post__index" */'@/pages/Main/Company/Post/index.tsx')),
- '9': React.lazy(() => import('./EmptyRoute')),
- '10': React.lazy(() => import(/* webpackChunkName: "p__Main__Jobseeker__List__index" */'@/pages/Main/Jobseeker/List/index.tsx')),
- '11': React.lazy(() => import(/* webpackChunkName: "p__Main__Jobseeker__Account__index" */'@/pages/Main/Jobseeker/Account/index.tsx')),
- '12': React.lazy(() => import('./EmptyRoute')),
- '13': React.lazy(() => import(/* webpackChunkName: "p__Rent__House__index" */'@/pages/Rent/House/index.tsx')),
- '14': React.lazy(() => import(/* webpackChunkName: "p__Rent__Renter__index" */'@/pages/Rent/Renter/index.tsx')),
- '15': React.lazy(() => import('./EmptyRoute')),
- '16': React.lazy(() => import(/* webpackChunkName: "p__Main__Address__index" */'@/pages/Main/Address/index.tsx')),
- '17': React.lazy(() => import(/* webpackChunkName: "p__Main__Area__index" */'@/pages/Main/Area/index.tsx')),
- 'ant-design-pro-layout': React.lazy(() => import(/* webpackChunkName: "umi__plugin-layout__Layout" */'E:/project/myproject/rencaishichanghoutai/src/.umi/plugin-layout/Layout.tsx')),
- },
- };
- }
|