123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410 |
- import type { AppRouteRecordRaw, AppRouteModule } from '@/router/types';
- import { HomeOutlined } from '@ant-design/icons-vue';
- import { routerList } from './routerList';
-
- // 权限管理
- const PermissionRoute : AppRouteRecordRaw = {
- path: '/permission',
- name: 'permission',
- component: routerList.Permission,
- meta: {
- title: '权限管理',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/role',
- name: 'role',
- component: routerList.ROLE,
- meta: {
- title: '角色管理',
- icon: HomeOutlined
- }
- },
- {
- path: '/account',
- name: 'account',
- component: routerList.Account,
- meta: {
- title: '账号管理',
- icon: HomeOutlined
- }
- },
- {
- path: '/permission/list',
- name: 'list',
- component: routerList.List,
- meta: {
- title: '权限管理',
- icon: HomeOutlined
- }
- }
- ]
- };
-
-
- // 企业相关
- const CompanyRoute : AppRouteRecordRaw = {
- path: '/company',
- name: 'company',
- component: routerList.Company,
- meta: {
- title: '企业管理',
- icon: HomeOutlined
- },
- children: [{
- path: '/member',
- name: 'member',
- component: routerList.Member,
- meta: {
- title: '企业列表',
- icon: HomeOutlined
- },
- },
- {
- path: '/vip',
- name: 'vip',
- component: routerList.Vip,
- meta: {
- title: 'VIP管理',
- icon: HomeOutlined
- },
- },
- {
- path: '/department',
- name: 'department',
- component: routerList.Department,
- meta: {
- title: '部门管理',
- icon: HomeOutlined
- },
- },
- {
- path: '/job',
- name: 'job',
- component: routerList.Job,
- meta: {
- title: '职位管理',
- icon: HomeOutlined
- },
- },
-
- ]
- };
-
- // 家政
- const HomemakeRoute : AppRouteRecordRaw = {
- path: '/homemake',
- name: 'homemake',
- component: routerList.Homemake,
- meta: {
- title: '家政管理',
- icon: HomeOutlined
- },
- children: [{
- path: '/homemake/type',
- name: 'homemakeType',
- component: routerList.HomemakeType,
- meta: {
- title: '家政类型',
- icon: HomeOutlined
- },
- },
- {
- path: '/homemake/position',
- name: 'homemakePosition',
- component: routerList.HomemakePosition,
- meta: {
- title: '职位申请',
- icon: HomeOutlined
- },
- },
- {
- path: '/homemake/demand',
- name: 'homemakeDemand',
- component: routerList.HomemakeDemand,
- meta: {
- title: '家政需求',
- icon: HomeOutlined
- },
- },
- {
- path: '/homemake/appointment',
- name: 'homemakeAppointment',
- component: routerList.HomemakeAppointment,
- meta: {
- title: '家政预定',
- icon: HomeOutlined
- },
- },
- ]
- };
-
- // 求职者管理
- const JokSeekerRoute : AppRouteRecordRaw = {
- path: '/job/seeker',
- name: 'jobSeeker',
- component: routerList.JobSeeker,
- meta: {
- title: '求职者管理',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/resume',
- name: 'jobResume',
- component: routerList.JobResume,
- meta: {
- title: '简历列表',
- icon: HomeOutlined
- },
- },
- ]
- };
-
- // 招聘会管理
- const JokFairRoute : AppRouteRecordRaw = {
- path: '/job/fair',
- name: 'jobFair',
- component: routerList.JokFair,
- meta: {
- title: '招聘会管理',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/job/fair/list',
- name: 'jobFairList',
- component: routerList.JobFairList,
- meta: {
- title: '招聘会列表',
- icon: HomeOutlined
- },
- },
- // {
- // path: '/job/fair/company',
- // name: 'jobFairCompany',
- // component: routerList.JobFairCompany,
- // meta: {
- // title: '参与企业',
- // icon: HomeOutlined
- // },
- // },
- ]
- };
-
- // 资讯管理
- const InformationRoute : AppRouteRecordRaw = {
- path: '/information',
- name: 'information',
- component: routerList.Information,
- meta: {
- title: '资讯管理',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/section',
- name: 'section',
- component: routerList.InformationSection,
- meta: {
- title: '栏目/频道',
- icon: HomeOutlined
- },
- },
- {
- path: '/article',
- name: 'article',
- component: routerList.InformationArticle,
- meta: {
- title: '文章列表',
- icon: HomeOutlined
- },
- }
- ],
-
- };
-
- // 广告管理
- const AdvertisementRoute : AppRouteRecordRaw = {
- path: '/advertisement',
- name: 'advertisement',
- component: routerList.Advertisement,
- meta: {
- title: '广告/活动管理',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/advertisement/list',
- name: 'advertisementList',
- component: routerList.AdvertisementList,
- meta: {
- title: '广告/活动列表',
- icon: HomeOutlined
- },
- },
- {
- path: '/put/in',
- name: 'putIn',
- component: routerList.AdvertisementPutin,
- meta: {
- title: '广告/活动投放',
- icon: HomeOutlined
- },
- }
- ],
-
- };
-
- // 活动管理
- const ActivityRoute : AppRouteRecordRaw = {
- path: '/activity',
- name: 'activity',
- component: routerList.Activity,
- meta: {
- title: '活动管理',
- icon: HomeOutlined
- },
- children: [
- // {
- // path: '/activity/list',
- // name: 'activityList',
- // component: routerList.ActivityList,
- // meta: {
- // title: '活动列表',
- // icon: HomeOutlined
- // },
- // },
- {
- path: '/activity/address',
- name: 'activityAddress',
- component: routerList.ActivityAddress,
- meta: {
- title: '活动地址',
- icon: HomeOutlined
- },
- }
- ],
-
- };
-
- // 统计
- const StatisticsRoute : AppRouteRecordRaw = {
- path: '/statistics',
- name: 'statistics',
- component: routerList.Statistics,
- meta: {
- title: '统计管理',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/statistics/resume',
- name: 'statisticsResume',
- component: routerList.StatisticsResume,
- meta: {
- title: '简历统计',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/statistics/resume/major',
- name: 'statisticsResumeMajor',
- component: routerList.StatisticsResumeMajor,
- meta: {
- title: '专业',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/age/sex',
- name: 'statisticsResumeAgeSex',
- component: routerList.StatisticsResumeAgeSex,
- meta: {
- title: '年龄与性别',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/certificate/skill',
- name: 'statisticsResumeCertificateSkill',
- component: routerList.StatisticsResumeCertificateSkill,
- meta: {
- title: '技能证书',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/education',
- name: 'statisticsResumeEducation',
- component: routerList.StatisticsResumeEducation,
- meta: {
- title: '学历',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/holidays/accommodation',
- name: 'statisticsResumeHolidaysAccommodation',
- component: routerList.StatisticsResumeHolidaysAccommodation,
- meta: {
- title: '节假日与食宿',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/job/intention',
- name: 'statisticsResumeJobIntention',
- component: routerList.StatisticsResumeJobIntention,
- meta: {
- title: '求职意向',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/title/skill',
- name: 'statisticsResumeTitleSkill',
- component: routerList.StatisticsResumeTitleSkill,
- meta: {
- title: '职称与技能',
- icon: HomeOutlined
- },
- },
- {
- path: '/statistics/resume/work/experience',
- name: 'statisticsResumeWorkExperience',
- component: routerList.StatisticsResumeWorkExperience,
- meta: {
- title: '工作经验',
- icon: HomeOutlined
- },
- },
-
- ],
- },
- {
- path: '/statistics/company',
- name: 'statisticsCompany',
- component: routerList.StatisticsCompany,
- meta: {
- title: '企业统计',
- icon: HomeOutlined
- },
- children: [
- {
- path: '/statistics/company/job',
- name: 'statisticsCompanyJob',
- component: routerList.StatisticsCompanyJob,
- meta: {
- title: '职位',
- icon: HomeOutlined
- },
- },
- ]
- }
- ],
-
- };
-
- export const routesModuleList : AppRouteModule[] = [CompanyRoute,HomemakeRoute, JokSeekerRoute, JokFairRoute, InformationRoute, AdvertisementRoute, ActivityRoute, StatisticsRoute,PermissionRoute];
|