|
|
|
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'), // 新闻列表组件
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '新闻列表',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
// path: '/newsDetail',
|
|
|
|
path: 'detail/:id',
|
|
|
|
name: 'newsDetail',
|
|
|
|
component: () => import('@/views/news/components/newsDetail.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '新闻内容详情',
|
|
|
|
hidden: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/user-info',
|
|
|
|
name: 'UserInfo',
|
|
|
|
component: () => import('@/views/userInfo/index.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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/race-info',
|
|
|
|
name: 'RaecInfo',
|
|
|
|
component: () => import('@/views/raceInfo/index.vue'),
|
|
|
|
meta: {
|
|
|
|
icon: '',
|
|
|
|
title: '比赛详情',
|
|
|
|
hidden: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|