完善后台管理

This commit is contained in:
myTest383
2024-09-25 08:43:44 +08:00
parent b9eb2978c7
commit 39902f6fbf
114 changed files with 222 additions and 32305 deletions

View File

@@ -49,365 +49,6 @@ export const constantRoutes = [
}]
},
{
path: '/baseInfo',
component: Layout,
redirect: null,
meta: {
title: '基础信息'
},
children: [{
path: '/warehouses/warehouse',
name: 'Warehouse',
component: () => import('@/views/baseInfo/warehouses/warehouse/index'),
meta: {
title: '仓库管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/warehouses/warehouseZone',
component: () => import('@/views/baseInfo/warehouses/warehouseZone/warehouseZone.vue'),
name: 'WarehouseZone',
meta: {
title: '仓库区域管理',
noCache: true
}
},
{
path: '/warehouses/warehouseArea',
name: 'WarehouseArea',
component: () => import('@/views/baseInfo/warehouses/warehouseArea/index'),
meta: {
title: '库区管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/warehouses/warehouseAreaType',
name: 'WarehouseAreaType',
component: () => import('@/views/baseInfo/warehouses/warehouseAreaType/index'),
meta: {
title: '库区类型管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/warehouses/goodsShelves',
name: 'GoodsShelves',
component: () => import('@/views/baseInfo/warehouses/goodsShelves/index'),
meta: {
title: '库位管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/supplier/supplier',
name: 'Supplier',
component: () => import('@/views/baseInfo/supplier/supplier/supplier'),
meta: {
title: '供应商管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/supplier/suppliertype',
name: 'Suppliertype',
component: () => import('@/views/baseInfo/supplier/suppliertype/suppliertype'),
meta: {
title: '供应商类型管理',
icon: 'product-add'
},
hidden: true
},
]
},
{
path: '/goods',
component: Layout,
redirect: null,
meta: {
title: '商品管理'
},
children: [{
path: '/brands/index',
name: 'Brands',
component: () => import('@/views/goods/brands/index'),
meta: {
title: '品牌管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/category/index',
name: 'Category',
component: () => import('@/views/goods/category/index'),
meta: {
title: '商品类别',
icon: 'product-add'
},
hidden: true
},
{
path: '/factory/index',
name: 'Factory',
component: () => import('@/views/goods/factory/index'),
meta: {
title: '厂家管理',
icon: 'product-add'
},
hidden: true
},
{
path: '/unit/index',
name: 'Unit',
component: () => import('@/views/goods/unit/index'),
meta: {
title: '计量单位',
icon: 'product-add'
},
hidden: true
},
{
path: '/goods/index',
name: 'Goods',
component: () => import('@/views/goods/goods/index'),
meta: {
title: '商品管理',
icon: 'product-add'
},
hidden: true
},
]
},
{
path: '/inStorage',
component: Layout,
redirect: '/inStorage',
meta: {
title: '入库管理'
},
children: [{
path: '/deliveryNotice/index',
component: () => import('@/views/inStorage/deliveryNotice/index'),
name: 'DeliveryNotice',
meta: {
title: '入库预约',
noCache: true
}
},
{
path: '/receivingGoods/index',
component: () => import('@/views/inStorage/receivingGoods/index'),
name: 'ReceivingGoods',
meta: {
title: '采购入库',
noCache: true
}
},
{
path: '/inspectionGoods/inspectionGoods',
component: () => import('@/views/inStorage/inspectionGoods/inspectionGoods'),
name: 'InspectionGoods',
meta: {
title: '验货入库',
noCache: true
}
},
{
path: '/upShelf/index',
component: () => import('@/views/inStorage/upShelf/index'),
name: 'UpShelf',
meta: {
title: '上架单管理',
noCache: true
}
},
]
},
{
path: '/outStorage',
component: Layout,
redirect: '/outStorage',
meta: {
title: '出库管理'
},
children: [{
path: '/outStorage/index',
component: () => import('@/views/outStorage/outStorage/index'),
name: 'OutStorage',
meta: {
title: '出库单管理',
noCache: true
}
},
{
path: '/toAllocated/index',
component: () => import('@/views/outStorage/toAllocated/index'),
name: 'ToAllocated',
meta: {
title: '待分配',
noCache: true
}
},
{
path: '/zeroPicking/index',
component: () => import('@/views/outStorage/zeroPicking/index'),
name: 'ZeroPicking',
meta: {
title: '零拣打单',
noCache: true
}
},
{
path: '/toOutStorage/index',
component: () => import('@/views/outStorage/toOutStorage/index'),
name: 'ToOutStorage',
meta: {
title: '待出库',
noCache: true
}
},
{
path: '/alreadyOutStorage/index',
component: () => import('@/views/outStorage/alreadyOutStorage/index'),
name: 'AlreadyOutStorage',
meta: {
title: '已出库',
noCache: true
}
},
]
},
{
path: '/storage',
component: Layout,
redirect: '/storage',
meta: {
title: '库存管理'
},
children: [{
path: '/inventory/inventory',
component: () => import('@/views/storage/inventory/inventory.vue'),
name: 'Inventory',
meta: {
title: '库存查询',
noCache: true
}
},
{
path: '/stocktaking/index',
component: () => import('@/views/storage/stocktaking/index'),
name: 'Stocktaking',
meta: {
title: '盘点管理',
noCache: true
}
},
{
path: '/totalStatus/totalInventory',
component: () => import('@/views/storage/totalStatus/totalInventory/totalInventory'),
name: 'TotalStatus',
meta: {
title: '库存总量',
icon: 'product-add',
},
hidden: true
},
{
path: '/totalStatus/warehouseAreaInventory',
component: () => import('@/views/storage/totalStatus/warehouseAreaInventory/warehouseAreaInventory'),
name: 'WarehouseAreaInventory',
meta: {
title: '库位库存',
icon: 'product-add',
},
hidden: true
},
{
path: '/totalStatus/historyInventory',
component: () => import('@/views/storage/totalStatus/historyInventory/historyInventory'),
name: 'HistoryInventory',
meta: {
title: '历史库存',
icon: 'product-add',
},
hidden: true
},
{
path: '/inventoryWarning/regionalWarning',
component: () => import('@/views/storage//inventoryWarning/regionalWarning/regionalWarning'),
name: 'RegionalWarning',
meta: {
title: '区域预警',
icon: 'product-add',
},
hidden: true
},
{
path: '/inventoryAdjust/inventoryAdjust',
component: () => import('@/views/storage/inventoryAdjust/inventoryAdjust/inventoryAdjust'),
name: 'InventoryAdjust',
meta: {
title: '库存调整',
icon: 'product-add',
},
hidden: true
},
{
path: '/inventoryAdjust/inventoryDifferential',
component: () => import('@/views/storage/inventoryAdjust/inventoryDifferential/inventoryDifferential'),
name: 'InventoryDifferential',
meta: {
title: '库存差异量',
icon: 'product-add',
},
hidden: true
},
]
},
{
path: '/reports',
component: Layout,
redirect: '/reports',
meta: {
title: '报表管理'
},
children: [{
path: '/inOutStorage/index',
component: () => import('@/views/reports/inOutStorage/index.vue'),
name: 'InventoryRefer',
meta: {
title: '出入库查询',
noCache: true
}
}, ]
},
{
path: '/system',
component: Layout,
@@ -425,16 +66,6 @@ export const constantRoutes = [
title: '组织管理'
}
},
{
path: '/postManage/postManage',
component: () =>
import('@/views/system/postManage/postManage.vue'),
name: 'PostManage',
meta: {
icon: 'el-icon-menu',
title: '岗位管理'
}
},
{
path: '/userManage/userManage',
component: () =>
@@ -444,7 +75,8 @@ export const constantRoutes = [
icon: 'el-icon-menu',
title: '用户管理'
}
}, {
},
{
path: '/roleAdminister/roleAdminister',
component: () => import('@/views/system/roleAdminister/roleAdminister.vue'),
name: 'RoleAdminister',
@@ -452,7 +84,18 @@ export const constantRoutes = [
icon: 'el-icon-menu',
title: '角色管理'
}
}, {
},
{
path: '/resourcesManage/resourcesManage',
component: () =>
import('@/views/system/resourcesManage/resourcesManage.vue'),
name: 'ResourcesManage',
meta: {
icon: 'el-icon-menu',
title: '资源管理'
}
},
{
path: '/menuManage/menuManage',
component: () => import('@/views/system/menuManage/menuManage.vue'),
name: 'MenuManage',
@@ -461,13 +104,31 @@ export const constantRoutes = [
title: '菜单管理'
}
},
{
path: '/purviewManage/purviewManage',
component: () => import('@/views/system/purviewManage/purviewManage.vue'),
name: 'PurviewManage',
meta: {
icon: 'el-icon-menu',
title: '权限组管理'
}
},
{
path: '/unitAuthorizeManage/unitAuthorizeManage',
component: () => import('@/views/system/unitAuthorizeManage/unitAuthorizeManage.vue'),
name: 'UnitAuthorizeManage',
meta: {
icon: 'el-icon-menu',
title: '单位授权管理'
}
},
{
path: '/dictManage/dictManage',
component: () => import('@/views/system/dictManage/dictManage.vue'),
name: 'DictManage',
meta: {
icon: 'el-icon-menu',
title: '数据字典'
title: '数据字典管理'
}
},
{