From b86a934f4b441792d5bad7f28a63905d72f8d415 Mon Sep 17 00:00:00 2001 From: Gzx1999 Date: Mon, 20 Nov 2023 15:34:14 +0800 Subject: [PATCH] add batch page router --- frontend/src/router/index.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 93c4080..7fc8d26 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', -- Gitee