123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- import type { AppRouteRecordRaw, AppRouteModule } from '@/router/types';
- import { HomeOutlined } from '@ant-design/icons-vue';
- import { routerList } from './routerList';
-
- // 首页
- const HomeRoute : AppRouteRecordRaw = {
- path: '/home',
- name: 'home',
- component: routerList.Home,
- meta: {
- title: '首页',
- icon: HomeOutlined
- },
- };
-
- //求职
- const JobRoute : AppRouteRecordRaw = {
- path: '/job',
- name: 'job',
- component: routerList.Job,
- meta: {
- title: '求职招聘',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/job/home',
- name: 'home',
- component: routerList.JobHome,
- meta: {
- title: '首页',
- icon: HomeOutlined
- },
- },
- {
- path: '/personal',
- name: 'personal',
- component: routerList.Personal,
- meta: {
- title: '个人求职',
- icon: HomeOutlined
- },
- },
- {
- path: '/company',
- name: 'company',
- component: routerList.Company,
- meta: {
- title: '企业招聘',
- icon: HomeOutlined
- },
- },
- {
- path: '/homemake',
- name: 'homemake',
- component: routerList.Homemake,
- meta: {
- title: '家政',
- icon: HomeOutlined
- },
- },
- {
- path: '/invite/meet',
- name: 'inviteMeet',
- component: routerList.InviteMeet,
- meta: {
- title: '招聘会',
- icon: HomeOutlined
- },
- },
- {
- path: '/information',
- name: 'information',
- component: routerList.Information,
- meta: {
- title: '职场资讯',
- icon: HomeOutlined
- },
- },
- {
- path: '/download',
- name: 'download',
- component: routerList.Download,
- meta: {
- title: '下载专区',
- icon: HomeOutlined
- },
- }
- ]
- };
-
- //关于菊城人才
- const AboutRoute : AppRouteRecordRaw = {
- path: '/about',
- name: 'about',
- component: routerList.About,
- meta: {
- title: '关于菊城人才',
- icon: HomeOutlined
- },
- };
-
-
-
- // 法律咨询
- const LawRoute : AppRouteRecordRaw = {
- path: '/law',
- name: 'law',
- component: routerList.Law,
- meta: {
- title: '法律咨询',
- icon: HomeOutlined
- },
- };
-
- // 人才导师
- const MentorRoute : AppRouteRecordRaw = {
- path: '/mentor',
- name: 'mentor',
- component: routerList.Mentor,
- meta: {
- title: '人才导师',
- icon: HomeOutlined
- },
- };
-
-
- // 专家组
- const ExpertRoute : AppRouteRecordRaw = {
- path: '/expert',
- name: 'expert',
- component: routerList.Expert,
- meta: {
- title: '专家组',
- icon: HomeOutlined
- },
- };
-
- // 培训列表
- const TrainRoute : AppRouteRecordRaw = {
- path: '/train',
- name: 'train',
- component: routerList.Train,
- meta: {
- title: '培训列表',
- icon: HomeOutlined
- },
- };
-
- // 党群关系
- const RelationshipRoute : AppRouteRecordRaw = {
- path: '/relationship',
- name: 'relationship',
- component: routerList.Relationship,
- meta: {
- title: '党群关系',
- icon: HomeOutlined
- },
- };
-
- // 新闻中心
- const NewsRoute : AppRouteRecordRaw = {
- path: '/news',
- name: 'news',
- component: routerList.News,
- meta: {
- title: '新闻中心',
- icon: HomeOutlined
- },
- };
-
- // 首页
- const ManageHomeRoute : AppRouteRecordRaw = {
- path: '/manage/home',
- name: 'manageHome',
- component: routerList.ManageHome,
- meta: {
- title: '管理中心首页',
- icon: HomeOutlined
- },
- };
-
-
- // 企业资料
- const ManageBasicRoute : AppRouteRecordRaw = {
- path: '/manage/basic',
- name: 'basic',
- component: routerList.ManageBasic,
- meta: {
- title: '企业资料',
- icon: HomeOutlined
- },
- };
-
-
-
- // 企业招聘
- const ManageInviteRoute : AppRouteRecordRaw = {
- path: '/manageInvite',
- name: 'manageInvite',
- component: routerList.ManageInvite,
- meta: {
- title: '企业招聘',
- icon: HomeOutlined
- },
- };
-
- // 简历管理
- const ManageResumeRoute : AppRouteRecordRaw = {
- path: '/manageResume',
- name: 'resume',
- component: routerList.ManageResume,
- meta: {
- title: '简历管理',
- icon: HomeOutlined
- },
- };
-
-
- // 搜索简历
- const ManageSearchRoute : AppRouteRecordRaw = {
- path: '/manageSearch',
- name: 'search',
- component: routerList.ManageSearch,
- meta: {
- title: '搜索简历',
- icon: HomeOutlined
- },
- };
-
- // 招聘会管理
- const ManageMeetRoute : AppRouteRecordRaw = {
- path: '/manageMeet',
- name: 'meet',
- component: routerList.ManageMeet,
- meta: {
- title: '招聘会管理',
- icon: HomeOutlined
- },
- };
-
- // 消息中心
- const ManageMessageRoute : AppRouteRecordRaw = {
- path: '/manageMessage',
- name: 'message',
- component: routerList.ManageMessage,
- meta: {
- title: '消息中心',
- icon: HomeOutlined
- },
- };
-
- // 用户管理
- const ManageUserRoute : AppRouteRecordRaw = {
- path: '/manageUser',
- name: 'user',
- component: routerList.ManageUser,
- meta: {
- title: '用户管理',
- icon: HomeOutlined
- },
- };
-
-
-
-
- export const routesModuleList : AppRouteModule[] = [HomeRoute, JobRoute, AboutRoute, LawRoute, MentorRoute, ExpertRoute, TrainRoute, RelationshipRoute, NewsRoute, ManageHomeRoute,
- ManageBasicRoute,
- ManageInviteRoute,
- ManageResumeRoute,
- ManageSearchRoute,
- ManageMeetRoute,
- ManageMessageRoute,
- ManageUserRoute];
|