From 7ef2454c7df85c9a8fd493552398d4ac07c460d4 Mon Sep 17 00:00:00 2001 From: pyt <626651354@qq.com> Date: 星期一, 23 六月 2025 09:43:56 +0800 Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory --- laboratory/src/router/index.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/laboratory/src/router/index.js b/laboratory/src/router/index.js index 63a437c..d5e8e4e 100644 --- a/laboratory/src/router/index.js +++ b/laboratory/src/router/index.js @@ -22,6 +22,7 @@ keepAlive: true, ------是否缓存 } */ +console.log('222222222222222222222',JSON.parse(sessionStorage.getItem('userInfo')).roleType=='5') const routes = [{ path: "/", @@ -256,7 +257,9 @@ meta: { title: "样品管理", keepAlive: true, - privilege:'sampleManage_manage' + privilege:'sampleManage', + hide:JSON.parse(sessionStorage.getItem('userInfo')).roleType=='5'?true:false, + // privilege:'sampleManage_manage' }, component: () => import("../views/dataManagement/sampleManage/list.vue"), }, @@ -274,6 +277,7 @@ meta: { title: "取样操作记录列表", keepAlive: true, + // privilege:'sampleManage' privilege:'sampleManage_record' }, component: () => import("../views/dataManagement/sampleRecordList/list.vue"), @@ -292,6 +296,7 @@ meta: { title: "送样单列表", keepAlive: true, + // privilege:'sampleManage' privilege:'sampleManage_submissionList' }, component: () => import("../views/dataManagement/sampleSubmissionList/list.vue"), @@ -508,7 +513,7 @@ { path: "editVerificationRelease", meta: { - title: "新增验证与发布", + title: "编辑验证与发布", hide: true, keepAlive: true, }, -- Gitblit v1.7.1