|
|
@ -49,69 +49,49 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '业务' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/preregistration/preregistration', |
|
|
|
component: () => import('@/views/operation/preregistration/preregistration.vue'), |
|
|
|
name: 'Preregistration', |
|
|
|
meta: { |
|
|
|
title: '预约登记', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '预约单管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/repairbill/repairbill', |
|
|
|
component: () => import('@/views/operation/repairbill/repairbill.vue'), |
|
|
|
name: 'RepairBill', |
|
|
|
meta: { |
|
|
|
title: '维修开单管理(登记)', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '维修开单管理(登记)', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/repairbill/repairbillBySendWork', |
|
|
|
component: () => import('@/views/operation/repairbill/repairbillBySendWork.vue'), |
|
|
|
name: 'RepairBillBySendWork', |
|
|
|
meta: { |
|
|
|
title: '维修开单管理(派工)', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '维修开单管理(派工)', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/repairbill/repairbillByMaintain', |
|
|
|
component: () => import('@/views/operation/repairbill/repairbillByMaintain.vue'), |
|
|
|
name: 'RepairBillByMaintain', |
|
|
|
meta: { |
|
|
|
title: '维修开单管理(维修)', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '维修开单管理(维修)', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/repairbill/repairbillByBeCompleted', |
|
|
|
component: () => import('@/views/operation/repairbill/repairbillByBeCompleted.vue'), |
|
|
|
name: 'RepairBillByBeCompleted', |
|
|
|
meta: { |
|
|
|
title: '维修开单管理(竣工)', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '维修开单管理(竣工)', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/repairbill/repairbillBySettleAccounts', |
|
|
|
component: () => import('@/views/operation/repairbill/repairbillBySettleAccounts.vue'), |
|
|
|
name: 'RepairBillBySettleAccounts', |
|
|
|
meta: { |
|
|
|
title: '维修开单管理(结算)', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '维修开单管理(结算)', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/repairbill/repairbillBYLeaveFactory', |
|
|
|
component: () => import('@/views/operation/repairbill/repairbillBYLeaveFactory.vue'), |
|
|
|
name: 'RepairBillBYLeaveFactory', |
|
|
|
meta: { |
|
|
|
title: '维修开单管理(出厂)', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
}, |
|
|
|
meta: { title: '维修开单管理(出厂)', noCache: true } |
|
|
|
} |
|
|
|
// {
|
|
|
|
// path: '/workslrsettlement/workslrsettlement',
|
|
|
|
// component: () => import('@/views/operation/workslrsettlement/workslrsettlement.vue'),
|
|
|
@ -127,43 +107,31 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '仓库管理' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/goodsShelves/index', |
|
|
|
component: () => import('@/views/warehouse/goodsShelves/index.vue'), |
|
|
|
name: 'GoodsShelves', |
|
|
|
meta: { |
|
|
|
title: '库位管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '库位管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehouseArea/index', |
|
|
|
component: () => import('@/views/warehouse/warehouseArea/index.vue'), |
|
|
|
name: 'WarehouseArea', |
|
|
|
meta: { |
|
|
|
title: '库区管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '库区管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehouseAreaType/index', |
|
|
|
component: () => import('@/views/warehouse/warehouseAreaType/index.vue'), |
|
|
|
name: 'WarehouseAreaType', |
|
|
|
meta: { |
|
|
|
title: '库区类型管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '库区类型管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehouse/index', |
|
|
|
component: () => import('@/views/warehouse/warehouse/index.vue'), |
|
|
|
name: 'Warehouse', |
|
|
|
meta: { |
|
|
|
title: '仓库管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
meta: { title: '仓库管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
@ -174,51 +142,37 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '商品管理' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/brands/index', |
|
|
|
component: () => import('@/views/goods/brands/index.vue'), |
|
|
|
name: 'Brands', |
|
|
|
meta: { |
|
|
|
title: '品牌管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '品牌管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/category/index', |
|
|
|
component: () => import('@/views/goods/category/index.vue'), |
|
|
|
name: 'Category', |
|
|
|
meta: { |
|
|
|
title: '类别管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '类别管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/factory/index', |
|
|
|
component: () => import('@/views/goods/factory/index.vue'), |
|
|
|
name: 'Factory', |
|
|
|
meta: { |
|
|
|
title: '厂家管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '厂家管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/goods/index', |
|
|
|
component: () => import('@/views/goods/goods/index.vue'), |
|
|
|
name: 'Goods', |
|
|
|
meta: { |
|
|
|
title: '商品管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '商品管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/unit/index', |
|
|
|
component: () => import('@/views/goods/unit/index.vue'), |
|
|
|
name: 'Unit', |
|
|
|
meta: { |
|
|
|
title: '单位管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
}, |
|
|
|
meta: { title: '单位管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
{ |
|
|
@ -228,132 +182,109 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '仓储' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/outStorage/index', |
|
|
|
name: 'OutStorage', |
|
|
|
component: () => import('@/views/storage/outStorage/index'), |
|
|
|
meta: { |
|
|
|
title: '出库管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OutStorage', |
|
|
|
meta: { title: '出库管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/inventory/inventory', |
|
|
|
component: () => import('@/views/storage/inventory/inventory.vue'), |
|
|
|
name: 'Inventory', |
|
|
|
meta: { |
|
|
|
title: '库存查询', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '库存查询', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/inventory/inventoryRefer', |
|
|
|
component: () => import('@/views/storage/inventory/inventoryRefer.vue'), |
|
|
|
name: 'InventoryRefer', |
|
|
|
meta: { |
|
|
|
title: '出入库查询', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '出入库查询', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/stocktaking/index', |
|
|
|
name: 'Stocktaking', |
|
|
|
component: () => import('@/views/storage/stocktaking/index'), |
|
|
|
meta: { |
|
|
|
title: '盘点管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'Stocktaking', |
|
|
|
meta: { title: '盘点管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/allocation/index', |
|
|
|
name: 'Allocation', |
|
|
|
component: () => import('@/views/storage/allocation/index'), |
|
|
|
meta: { |
|
|
|
title: '调拨管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'Allocation', |
|
|
|
meta: { title: '调拨管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/deliveryNotice/index', |
|
|
|
name: 'DeliveryNotice', |
|
|
|
component: () => import('@/views/storage/deliveryNotice/index'), |
|
|
|
meta: { |
|
|
|
title: '到货通知单', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'DeliveryNotice', |
|
|
|
meta: { title: '到货通知单', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/receivingGoods/index', |
|
|
|
name: 'ReceivingGoods', |
|
|
|
component: () => import('@/views/storage/receivingGoods/index'), |
|
|
|
meta: { |
|
|
|
title: '收货单管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'ReceivingGoods', |
|
|
|
meta: { title: '收货单管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/upShelf/index', |
|
|
|
name: 'UpShelf', |
|
|
|
component: () => import('@/views/storage/upShelf/index'), |
|
|
|
meta: { |
|
|
|
title: '上架单管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'UpShelf', |
|
|
|
meta: { title: '上架单管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/oldPartsFactory/index', |
|
|
|
name: 'OldPartsFactory', |
|
|
|
component: () => import('@/views/storage/oldPartsFactory/index'), |
|
|
|
meta: { |
|
|
|
title: '旧件返厂', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OldPartsFactory', |
|
|
|
meta: { title: '旧件返厂', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/oldPartsCope/index', |
|
|
|
name: 'OldPartsCope', |
|
|
|
component: () => import('@/views/storage/oldPartsCope/index'), |
|
|
|
meta: { |
|
|
|
title: '旧件处理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OldPartsCope', |
|
|
|
meta: { title: '旧件处理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/oldPartsRecovery/index', |
|
|
|
name: 'OldPartsRecovery', |
|
|
|
component: () => import('@/views/storage/oldPartsRecovery/index'), |
|
|
|
meta: { |
|
|
|
title: '旧件回收', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OldPartsRecovery', |
|
|
|
meta: { title: '旧件回收', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/oldPartsInStorage/index', |
|
|
|
name: 'OldPartsInStorage', |
|
|
|
component: () => import('@/views/storage/oldPartsInStorage/index'), |
|
|
|
meta: { |
|
|
|
title: '旧件入库', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OldPartsInStorage', |
|
|
|
meta: { title: '旧件入库', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/oldPartsInvertory/index', |
|
|
|
name: 'OldPartsInvertory', |
|
|
|
component: () => import('@/views/storage/oldPartsInvertory/index'), |
|
|
|
meta: { |
|
|
|
title: '旧件库存', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OldPartsInvertory', |
|
|
|
meta: { title: '旧件库存', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/oldPartsInAndOutStorage/index', |
|
|
|
name: 'OldPartsInAndOutStorage', |
|
|
|
component: () => import('@/views/storage/oldPartsInAndOutStorage/index'), |
|
|
|
meta: { |
|
|
|
title: '旧件出入库查询', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
name: 'OldPartsInAndOutStorage', |
|
|
|
meta: { title: '旧件出入库查询', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/storageage/storageage', |
|
|
|
component: () => import('@/views/storage/storageage/storageage'), |
|
|
|
name: 'StorageAge', |
|
|
|
meta: { title: '库龄查询', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/carryover/carryoverstock', |
|
|
|
component: () => import('@/views/storage/carryover/carryoverstock'), |
|
|
|
name: 'CarryoverStock', |
|
|
|
meta: { title: '结转库存查询', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/carryover/carryforwardrecord', |
|
|
|
component: () => import('@/views/storage/carryover/carryforwardrecord'), |
|
|
|
name: 'CarryForwardRecord', |
|
|
|
meta: { title: '结转记录查询', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
|
|
|
@ -364,23 +295,18 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '采购' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/procurement/procurement', |
|
|
|
component: () => import('@/views/purchase/procurement/procurement.vue'), |
|
|
|
name: 'Procurement', |
|
|
|
meta: { |
|
|
|
title: '采购开单', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '采购单管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/purchasereturn/purchasereturn', |
|
|
|
component: () => import('@/views/purchase/purchasereturn/purchasereturn.vue'), |
|
|
|
name: 'PurchaseReturn', |
|
|
|
meta: { |
|
|
|
title: '采购退货', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '采购退货', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
@ -391,68 +317,48 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '报表' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/salesstatement/merchandisesalesdetail', |
|
|
|
component: () => import('@/views/statement/salesstatement/merchandisesalesdetail.vue'), |
|
|
|
name: 'MerchandiseSalesDetail', |
|
|
|
meta: { |
|
|
|
title: '销售明细商品', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '销售明细商品', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/salesstatement/merchandisesalessummary', |
|
|
|
component: () => import('@/views/statement/salesstatement/merchandisesalessummary.vue'), |
|
|
|
name: 'MerchandiseSalesSummary', |
|
|
|
meta: { |
|
|
|
title: '销售汇总商品', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '销售汇总商品', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/salesstatement/salestrendreport', |
|
|
|
component: () => import('@/views/statement/salesstatement/salestrendreport.vue'), |
|
|
|
name: 'SalesTrendReport', |
|
|
|
meta: { |
|
|
|
title: '销售价趋势报表', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '销售价趋势报表', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehousereport/inventorystatistics', |
|
|
|
component: () => import('@/views/statement/warehousereport/inventorystatistics.vue'), |
|
|
|
name: 'InventoryStatistics', |
|
|
|
meta: { |
|
|
|
title: '库存统计', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '库存统计', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/warehousereport/receiptandreceiptrecord', |
|
|
|
component: () => import('@/views/statement/warehousereport/receiptandreceiptrecord.vue'), |
|
|
|
name: 'ReceiptAndReceiptRecord', |
|
|
|
meta: { |
|
|
|
title: '收发存明细报表', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '收发存明细报表', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/purchasereport/detailedpurchasereport', |
|
|
|
component: () => import('@/views/statement/purchasereport/detailedpurchasereport.vue'), |
|
|
|
name: 'DetailedPurchaseReport', |
|
|
|
meta: { |
|
|
|
title: '采购明细报表', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '采购明细报表', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/purchasereport/purchasesummaryreport', |
|
|
|
component: () => import('@/views/statement/purchasereport/purchasesummaryreport.vue'), |
|
|
|
name: 'PurchaseSummaryReport', |
|
|
|
meta: { |
|
|
|
title: '采购汇总报表', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '采购汇总报表', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
@ -463,68 +369,48 @@ export const constantRoutes = [{ |
|
|
|
meta: { |
|
|
|
title: '基础信息' |
|
|
|
}, |
|
|
|
children: [{ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
path: '/maintenanceitem/maintenanceitem', |
|
|
|
component: () => import('@/views/basicinformation/maintenanceitem/maintenanceitem.vue'), |
|
|
|
name: 'MaintenanceItem', |
|
|
|
meta: { |
|
|
|
title: '维修项目管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '维修项目管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/additionitem/additionitem', |
|
|
|
component: () => import('@/views/basicinformation/additionitem/additionitem.vue'), |
|
|
|
name: 'AdditionItem', |
|
|
|
meta: { |
|
|
|
title: '附加项目管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '附加项目管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/setmeal/setmeal', |
|
|
|
component: () => import('@/views/basicinformation/setmeal/setmeal.vue'), |
|
|
|
name: 'Setmeal', |
|
|
|
meta: { |
|
|
|
title: '套餐管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '套餐管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/profession/profession', |
|
|
|
component: () => import('@/views/basicinformation/profession/profession.vue'), |
|
|
|
name: 'Profession', |
|
|
|
meta: { |
|
|
|
title: '工种管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '工种管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/subjects/subjects', |
|
|
|
component: () => import('@/views/basicinformation/subjects/subjects.vue'), |
|
|
|
name: 'Subjects', |
|
|
|
meta: { |
|
|
|
title: '科目管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '科目管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/team/team', |
|
|
|
component: () => import('@/views/basicinformation/team/team.vue'), |
|
|
|
name: 'Team', |
|
|
|
meta: { |
|
|
|
title: '班组管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '班组管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/suppliertype/suppliertype', |
|
|
|
component: () => import('@/views/basicinformation/suppliertype/suppliertype.vue'), |
|
|
|
name: 'SupplierType', |
|
|
|
meta: { |
|
|
|
title: '供应商类型管理', |
|
|
|
noCache: true |
|
|
|
} |
|
|
|
meta: { title: '供应商类型管理', noCache: true } |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: '/supplier/supplier', |
|
|
@ -533,7 +419,7 @@ export const constantRoutes = [{ |
|
|
|
meta: { title: '供应商管理', noCache: true } |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
} |
|
|
|
// 404 page must be placed at the end !!!
|
|
|
|
// { path: '*', redirect: '/404', hidden: true }
|
|
|
|
] |
|
|
|