修改报告路由打开方式

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