From d762fc609a101b1a82576a54f835834f4e9cd9b9 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 07 九月 2023 10:54:39 +0800 Subject: [PATCH] modified: src/layout/components/Sidebar/SidebarItem.vue modified: src/router/index.js modified: src/views/CNAS/nonConformanceManage/index.vue modified: src/views/CNAS/reviewAnnualPlan/index.vue modified: src/views/CNAS/satisfactionSurveys/index.vue modified: src/views/basicData/index.vue modified: src/views/experiment/inspectionApplication/index.vue modified: src/views/inspectionManagement/commissionInspection/index.vue modified: src/views/inspectionManagement/reportForInspection/index.vue modified: src/views/laboratory/organizational/index.vue modified: src/views/login/index.vue --- src/router/index.js | 52 +++++++++++++++++++++++++++------------------------- 1 files changed, 27 insertions(+), 25 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index c6c68a8..0c8e1b0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -42,21 +42,21 @@ path: '/standardLibrary', component: Layout, redirect: '/standardLibrary/index', - meta: { title: '鏍囧噯搴�', icon: 'el-icon-s-help' }, + // meta: { title: '鏍囧噯搴�', icon: 'el-icon-s-help' }, children: [ { path: 'index', name: 'StandardLibrary', component: () => import('@/views/standardLibrary/index'), - meta: { title: '鏍囧噯搴�', icon: 'form' } + meta: { title: '鏍囧噯搴�', icon: 'el-icon-s-help' } }, - { - path: 'specificationDetails/:id', - name: 'SpecificationDetails', - // hidden: true, - component: () => import('@/views/standardLibrary/SpecificationDetails'), - meta: { title: '浜у搧瑙勬牸璇︽儏', icon: 'form', show: false } - } + // { + // path: 'specificationDetails/:id', + // name: 'SpecificationDetails', + // // hidden: true, + // component: () => import('@/views/standardLibrary/SpecificationDetails'), + // meta: { title: '浜у搧瑙勬牸璇︽儏', icon: 'form', show: false } + // } ] }, { @@ -254,19 +254,20 @@ component: Layout, redirect: '/message/toDo', name: 'Message', - meta: { title: '娑堟伅寰呭姙', icon: 'el-icon-s-help' }, + // meta: { title: '娑堟伅寰呭姙', icon: 'el-icon-s-help' }, children: [ { path: 'toDo', name: 'ToDo', component: () => import('@/views/message/toDo/index'), - meta: { title: '鎴戠殑寰呭姙', icon: 'tree' } + // meta: { title: '娑堟伅寰呭姙', icon: 'tree' } + meta: { title: '鎴戠殑寰呭姙', icon: 'el-icon-s-help' }, }, - { - path: 'message', - name: 'Message', - component: () => import('@/views/message/message/index'), - }, + // { + // path: 'message', + // name: 'Message', + // component: () => import('@/views/message/message/index'), + // }, ] }, { @@ -274,20 +275,21 @@ component: Layout, redirect: '/personal/myInformation', name: 'Personal', - meta: { title: '涓汉绠$悊', icon: 'el-icon-s-help' }, + // meta: { title: '涓汉绠$悊', icon: 'el-icon-s-help' }, children: [ { path: 'myInformation', name: 'MyInformation', component: () => import('@/views/personal/myInformation/index'), - meta: { title: '鎴戠殑淇℃伅', icon: 'table' } + // meta: { title: '涓汉绠$悊', icon: 'el-icon-s-help' } + meta: { title: '鎴戠殑淇℃伅', icon: 'el-icon-s-help' } }, - { - path: 'myBusiness', - name: 'MyBusiness', - component: () => import('@/views/personal/myBusiness/index'), - meta: { title: '鎴戠殑浼佷笟', icon: 'tree', show: false } - } + // { + // path: 'myBusiness', + // name: 'MyBusiness', + // component: () => import('@/views/personal/myBusiness/index'), + // meta: { title: '鎴戠殑浼佷笟', icon: 'tree', show: false } + // } ] }, { @@ -357,7 +359,7 @@ function createRouter(Routees) { if (JSON.parse(sessionStorage.getItem("user")) != undefined && JSON.parse(sessionStorage.getItem("user")) != null) { let sessionLayerId = JSON.parse(sessionStorage.getItem("user")).sessionLayerId - if (sessionLayerId != 'f5c8bcb7d5a0fd27e2323280f7e98cad') { + if (sessionLayerId != 'c3284d0f94606de1fd2af172aba15bf3') { let role = JSON.parse(sessionStorage.getItem("user")).role let menuFather = baseRouter const dataMenuFather = fn3(menuFather) -- Gitblit v1.9.3