diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 93c40807170390db9793a0c12b26f20ca0082098..7fc8d26beaaace131316e4c5cf8672b57a6204e7 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -77,6 +77,35 @@ let sidebarRoutes = [ } ] }, + { + path: '/batch', + meta: { + title: 'batch', header_title: "批次", panel: "batch", icon: 'DocumentCopy', + breadcrumb: [ + { name: '批次' }, + ] + }, + children: [ + { + path: '', + redirect: '/batch/detail' + }, + { + path: '/batch/detail', + name: 'BatchDetail', + component: () => import('../views/Batch/Batch.vue'), + meta: { + header_title: "批次详情", + panel: "batch", + breadcrumb: [ + { name: '批次', path: '/batch' }, + { name: '批次详情' } + ], + icon: '' + } + }, + ] + }, { path: '/usermanager',