39 lines
1.0 KiB
TypeScript
39 lines
1.0 KiB
TypeScript
|
|
|
||
|
|
|
||
|
|
/** When your routing table is too long, you can split it into small modules**/
|
||
|
|
|
||
|
|
import Layout from "@/layout/index.vue";
|
||
|
|
|
||
|
|
const excelRouter = {
|
||
|
|
path: '/excel',
|
||
|
|
component: Layout,
|
||
|
|
redirect: 'noRedirect',
|
||
|
|
name: 'excel',
|
||
|
|
meta: {
|
||
|
|
title: 'Excel',
|
||
|
|
icon: 'School'
|
||
|
|
},
|
||
|
|
children: [
|
||
|
|
{
|
||
|
|
path: 'export-excel',
|
||
|
|
component: () => import('@/views/excel/export-excel.vue'),
|
||
|
|
name: 'export-excel',
|
||
|
|
meta: { title: '导出 Excel', noCache: true }
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'export-merge-header',
|
||
|
|
component: () => import('@/views/excel/export-merge-header.vue'),
|
||
|
|
name: 'export-merge-header',
|
||
|
|
meta: { title: '导出 多级表头', noCache: true }
|
||
|
|
},
|
||
|
|
{
|
||
|
|
path: 'upload-excel',
|
||
|
|
component: () => import('@/views/excel/upload-excel.vue'),
|
||
|
|
name: 'upload-excel',
|
||
|
|
meta: { title: '上传 Excel', noCache: true }
|
||
|
|
},
|
||
|
|
]
|
||
|
|
}
|
||
|
|
|
||
|
|
export default excelRouter
|