From efcf450e8e7e375ef4ffe9f421ec0d34c5378180 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期四, 07 九月 2023 14:02:32 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.218.113:9001/r/lims-before --- src/router/index.js | 57 +++++++++++++++++++++++++++------------------------------ 1 files changed, 27 insertions(+), 30 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b86d642..18015f1 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 } + // } ] }, { @@ -318,11 +320,6 @@ { path: '/404', component: () => import('@/views/404'), - hidden: true -}, -{ - path: '/addCommision', - component: () => import('@/views/inspectionManagement/commissionInspection/addCommision'), hidden: true }, { @@ -421,7 +418,7 @@ Routees = baseRouter } return new Router({ - mode: 'history', // require service support + // mode: 'history', // require service support scrollBehavior: () => ({ y: 0 }), routes: Routees }) -- Gitblit v1.9.3