修改报告路由打开方式

main
JayChou 4 months ago
parent f6d331c2b9
commit 65ce1e693f
  1. 96
      jeecgboot-vue3-master/src/router/routes/index.ts

@ -38,53 +38,53 @@ export const LoginRoute: AppRouteRecordRaw = {
title: t('routes.basic.login'),
},
};
export const comprehensiveEvaluation = {
path:'/comprehensiveEvaluation',
name:'ComprehensiveEvaluation',
redirect:'/comprehensiveEvaluation/comprehensiveReport',
component: () => import('/@/views/comprehensiveEvaluation/index.vue'),
meta:{
title:'综合评价',
},
children:[
{
path:'comprehensiveReport',
name:'ComprehensiveReport',
component: ()=> import('/@/views/comprehensiveEvaluation/comprehensiveReport.vue'),
meta:{
title:'综合报告'
}
},
{
path:'department',
name:'Department',
component: ()=> import('/@/views/comprehensiveEvaluation/department.vue'),
meta:{
title:'部门报告'
}
},
{
path:'individual',
name:'Individual',
component: ()=> import('/@/views/comprehensiveEvaluation/individual.vue'),
meta:{
title:'个人报告'
}
},
{
path:'organizingCommittee',
name:'OrganizingCommittee',
component: ()=> import('/@/views/comprehensiveEvaluation/organizingCommittee.vue'),
meta:{
title:'组委会报告'
}
},
]
}
// export const comprehensiveEvaluation = {
// path:'/comprehensiveEvaluation',
// name:'ComprehensiveEvaluation',
// redirect:'/comprehensiveEvaluation/comprehensiveReport',
// component: () => import('/@/views/comprehensiveEvaluation/index.vue'),
// meta:{
// title:'综合评价',
// },
// children:[
// {
// path:'comprehensiveReport',
// name:'ComprehensiveReport',
// component: ()=> import('/@/views/comprehensiveEvaluation/comprehensiveReport.vue'),
// meta:{
// title:'综合报告'
// }
// },
// {
// path:'department',
// name:'Department',
// component: ()=> import('/@/views/comprehensiveEvaluation/department.vue'),
// meta:{
// title:'部门报告'
// }
// },
// {
// path:'individual',
// name:'Individual',
// component: ()=> import('/@/views/comprehensiveEvaluation/individual.vue'),
// meta:{
// title:'个人报告'
// }
// },
// {
// path:'organizingCommittee',
// name:'OrganizingCommittee',
// component: ()=> import('/@/views/comprehensiveEvaluation/organizingCommittee.vue'),
// meta:{
// title:'组委会报告'
// }
// },
// ]
// }
/*用于比赛及其比赛项目的基础路由*/
export const compcom = {
path:'/compp',
@ -164,4 +164,4 @@ export const TokenLoginRoute: AppRouteRecordRaw = {
};
// Basic routing without permission
export const basicRoutes = [LoginRoute,compcom,comprehensiveEvaluation, RootRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, TokenLoginRoute, Oauth2LoginRoute];
export const basicRoutes = [LoginRoute,compcom, RootRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE, TokenLoginRoute, Oauth2LoginRoute];

Loading…
Cancel
Save