Files
faw-report-library-web/src/router/modules/report.js
T
2022-08-31 13:33:52 +08:00

40 lines
1.1 KiB
JavaScript

const routes = [
// 报告管理
{
path: '/report',
name: 'Layout',
component: () => import('../../views/Layout.vue'),
children: [
// 报告列表
{
path: 'list',
name: 'ReportList',
component: () => import('../../views/Report/ReportList.vue'),
meta: {
crumb: ['报告列表'],
}
},
// 报告详情
{
path: 'detail',
name: 'ReportDetail',
component: () => import('../../views/Report/ReportDetail.vue'),
meta: {
crumb: ['报告详情'],
}
},
// 报告管理
{
path: '/report/manager',
name: 'ReportManager',
component: () => import('../../views/Report/ReportManager.vue'),
meta: {
crumb: ['报告管理'],
}
},
]
},
];
export default routes;