From 2cd68f2a4545b2b024688e6ccf454cd770e412d0 Mon Sep 17 00:00:00 2001 From: hejianhao <15708179461@qq.com> Date: 星期二, 01 四月 2025 09:36:31 +0800 Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory --- src/router/index.js | 36 +++++++++++++++++++++++------------- 1 files changed, 23 insertions(+), 13 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index d0a8e63..9401f17 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -56,22 +56,32 @@ } ] }, - ], - },{ - path: "", - redirect: "dispatching", - component: Layouts, - children: [ { - path: "/dispatching", + path: "/dataManagement", + component: Parent, meta: { - title: "实验调度管理", - oneself: true, - hide: true, - privilege: 'dispatching' + title: "实验室数据管理", }, - component: () => import("../views/dispatching/list.vue"), - }, + children: [ + { + path: "/approvalPlan", + meta: { + title: "项目课题方案审批", + keepAlive: true, + }, + component: () => import("../views/approvalPlan/list.vue"), + }, + { + path: "/dispatching", + meta: { + title: "实验调度管理", + keepAlive: true, + }, + component: () => import("../views/dispatching/list.vue"), + }, + ], + } + ], }, ]; -- Gitblit v1.7.1