You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
142 lines
3.3 KiB
142 lines
3.3 KiB
export const constRouter: any = |
|
{ |
|
path: '/', |
|
component: () => import('@/Layout/index.vue'), |
|
name: 'Layout', |
|
redirect: '/home', |
|
meta: { |
|
icon: '', |
|
title: '', |
|
hidden: false, |
|
}, |
|
children: [ |
|
{ |
|
path: '/home', |
|
name: 'Home', |
|
component: () => import('@/views/home/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '首页', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/appraise', |
|
name: 'Appraise', |
|
component: () => import('@/views/appraise/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '竞赛评价', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/navigation', |
|
name: 'Navigation', |
|
component: () => import('@/views/navigation/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '竞赛导航', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/achievement', |
|
name: 'Achievement', |
|
component: () => import('@/views/achievement/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '竞赛成果', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/competition', |
|
name: 'Competition', |
|
component: () => import('@/views/competition/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '年度赛事', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/registrationGroup', |
|
name: 'RegistrationGroup', |
|
component: () => import('@/views/registrationGroup/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '报名信息确认/团队', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/registrationPersonage', |
|
name: 'RegistrationPersonage', |
|
component: () => import('@/views/registrationPersonage/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '报名信息确认/个人', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/news', |
|
name: 'news', |
|
component: () => import('@/views/news/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '竞赛新闻', |
|
hidden: false, |
|
}, |
|
children: [ |
|
{ |
|
path: '', |
|
name: 'newsList', |
|
component: () => import('@/views/news/components/newsList.vue'), // 新闻列表组件 |
|
}, |
|
{ |
|
path: '/newsDetail', |
|
name: 'newsDetail', |
|
component: () => import('@/views/news/components/newsDetail.vue'), |
|
meta: { |
|
icon: '', |
|
title: '新闻内容详情', |
|
hidden: true, |
|
} |
|
} |
|
], |
|
}, |
|
{ |
|
path: '/personalAbilityEvaluationCollectList', |
|
name: 'PersonalAbilityEvaluationCollectList', |
|
component: () => import('@/views/personalAbilityEvaluationCollectList/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '个人积分管理', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/personalEvaluateList', |
|
name: 'personalEvaluateList', |
|
component: () => import('@/views/personalEvaluateList/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '个人能力评价', |
|
hidden: false, |
|
}, |
|
}, |
|
{ |
|
path: '/personalReport', |
|
name: 'PersonalReport', |
|
component: () => import('@/views/personalReport/index.vue'), |
|
meta: { |
|
icon: '', |
|
title: '个人能力报告', |
|
hidden: false, |
|
}, |
|
}, |
|
], |
|
} |
|
|
|
|