From a17677dfd01d1477724d0d6dd5af19c1e50db778 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BF=9D=E6=A1=A6?= <1103851924@qq.com> Date: Wed, 20 Apr 2022 14:09:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E9=83=A8=E5=88=86=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E9=85=8D=E7=BD=AE=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/router/module/admin/child/stock.js | 14 ++--- .../src/router/module/admin/child/system.js | 51 ++++++------------- 2 files changed, 20 insertions(+), 45 deletions(-) diff --git a/vue/full/src/router/module/admin/child/stock.js b/vue/full/src/router/module/admin/child/stock.js index d71b39c..83ad114 100644 --- a/vue/full/src/router/module/admin/child/stock.js +++ b/vue/full/src/router/module/admin/child/stock.js @@ -1,16 +1,10 @@ /*路由表:库存管理*/ const router = { - path: 'stock', - meta: {title: '库存管理', icon: 'svg-stock'}, - children: [ - { - path: 'current', - name: 'currentStock', - component: 'admin/stock/current/', - meta: {title: '当前库存'} - } - ] + path: 'current', + name: 'currentStock', + component: 'admin/stock/current/', + meta: {title:'库存管理', icon: 'svg-stock'}, } export default router diff --git a/vue/full/src/router/module/admin/child/system.js b/vue/full/src/router/module/admin/child/system.js index 916a312..53a308a 100644 --- a/vue/full/src/router/module/admin/child/system.js +++ b/vue/full/src/router/module/admin/child/system.js @@ -5,10 +5,16 @@ const router = { meta: {title: '系统管理', icon: 'svg-system'}, children: [ { - path: 'department', - name: 'departmentManagement', - component: 'admin/system/department/', - meta: {title: '部门管理'} + path:'reagent', + name: 'reagentManagement', + component: 'admin/system/reagent/', + meta: {title: '试剂管理'} + }, + { + path:'equipment', + name: 'equipmentManagement', + component: 'admin/system/equipment/', + meta: {title: '设备管理'} }, { path: 'menu', @@ -20,7 +26,7 @@ const router = { path: 'category', name: 'categorySetting', component: 'admin/system/category/', - meta: {title: '商品分类'} + meta: {title: '试剂分类'} }, { path: 'customer', @@ -32,31 +38,7 @@ const router = { path: 'supplier', name: 'supplierManagement', component: 'admin/system/supplier/', - meta: {title: '试剂厂商管理'} - }, - { - path:'equipment', - name: 'equipmentManagement', - component: 'admin/system/equipment/', - meta: {title: '设备管理'} - }, - { - path:'container', - name: 'containerManagement', - component: 'admin/system/container/', - meta: {title: '货柜管理'} - }, - { - path:'reagent', - name: 'reagentManagement', - component: 'admin/system/reagent/', - meta: {title: '试剂管理'} - }, - { - path:'storehouse', - name: 'storehouseManagement', - component: 'admin/system/storehouse/', - meta: {title: '仓库管理'} + meta: {title: '试剂厂商'} }, { path:'location', @@ -65,12 +47,11 @@ const router = { meta: {title: '货位管理'} }, { - path:'dictionary ', - name: 'dictionary Management', - component: 'admin/system/dictionary /', - meta: {title: '字典管理'} + path:'storehouse', + name: 'storehouseManagement', + component: 'admin/system/storehouse/', + meta: {title: '仓库管理'} }, - ] }