|
|
|
@ -46,7 +46,7 @@ export const constantRoutes = [ |
|
|
|
component: () => import('@/views/login'), |
|
|
|
hidden: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/lblh', |
|
|
|
component: () => import('@/views/lblh/index'), |
|
|
|
hidden: true |
|
|
|
@ -167,22 +167,49 @@ export const dynamicRoutes = [ |
|
|
|
meta: { title: '修改生成配置', activeMenu: '/tool/gen' } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/study/enter', |
|
|
|
component: Layout, |
|
|
|
hidden: true, |
|
|
|
permissions: ['business:study:enter'], |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: ':studyId(\\d+)', |
|
|
|
component: () => import('@/views/business/study/comp/enter'), |
|
|
|
name: 'StudyEnter', |
|
|
|
meta: { title: '进入试验', activeMenu: '/trial/list' } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/nonTrial/enter', |
|
|
|
component: Layout, |
|
|
|
hidden: true, |
|
|
|
permissions: ['business:form:nonTrial:enter'], |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: ':studyId(\\d+)', |
|
|
|
component: () => import('@/views/business/form/nonTrial/comp/enter'), |
|
|
|
name: 'NonTrialEnter', |
|
|
|
meta: { title: '进入', activeMenu: '/form/nonTrial' } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/drug/enter', |
|
|
|
component: Layout, |
|
|
|
hidden: true, |
|
|
|
permissions: ['business:form:drug:enter'], |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: ':studyId(\\d+)', |
|
|
|
component: () => import('@/views/business/form/drug/comp/enter'), |
|
|
|
name: 'DrugEnter', |
|
|
|
meta: { title: '进入', activeMenu: '/form/drug' } |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
|
|
// {
|
|
|
|
// path: '/study/enter',
|
|
|
|
// component: Layout,
|
|
|
|
// hidden: true,
|
|
|
|
// permissions: ['business:study:enter'],
|
|
|
|
// children: [
|
|
|
|
// {
|
|
|
|
// path: 'index/:studyId(\\d+)',
|
|
|
|
// component: () => import('@/views/business/study/comp/enter'),
|
|
|
|
// name: 'Data',
|
|
|
|
// meta: { title: '进入试验', activeMenu: '/busuness/study/list' }
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
// }
|
|
|
|
] |
|
|
|
|
|
|
|
// 防止连续点击多次路由报错
|
|
|
|
|