diff --git a/base-ui/src/router/index.js b/base-ui/src/router/index.js index 5edeb159..ebb8a73b 100644 --- a/base-ui/src/router/index.js +++ b/base-ui/src/router/index.js @@ -54,76 +54,57 @@ export const constantRoutes = [ }, ] }, - // 客户中心 { - path: '1', + path: 'customer', component: Layout, meta: { title: '客户中心' }, children: [ { - path: 'cgsq/PurchaseApplicationManagement', + path: '/supervise/purchaseapplicationmanagement/purchaseapplicationmanagement', component: () => import('@/views/supervise/purchaseapplicationmanagement/purchaseapplicationmanagement.vue'), - name: 'PurchaseApplicationManagement', + name: 'purchaseapplicationmanagement', meta: {title: '采购申请管理',noCache: true,} }, { - path: 'xzgys', + path: '/supervise/supplierbankinfo/supplierbankinfo', component: () => import('@/views/supervise/supplierbankinfo/supplierbankinfo.vue'), name: 'supplierManagement', meta: {title: '供应商管理',noCache: true} }, { - path: '/404', - component: () => import('@/views/404'), - name: 'manufacturerPreference', - meta: {title: '厂商扣点汇总表',noCache: true} - }, - { - path: 'cgsq', + path: 'dataReporting', component: Layout, meta: {title: '数据上报'}, children: [ { - path: '/404', - component: () => import('@/views/404'), - name: 'manufacturerPreference', - meta: {title: '综合数据上报',noCache: true} - }, - { - path: '/404', - component: () => import('@/views/404'), - name: 'manufacturerPreference', - meta: {title: '入库上报',noCache: true} + path: '/kucun/rkmx/index', + component: () => import('@/views/kucun/rkmx/index.vue'), + name: 'receiptDetailsReporting', + meta: {title: '入库明细上报',noCache: true} }, { - path: '/404', - component: () => import('@/views/404'), - name: 'manufacturerPreference', - meta: {title: '出库上报',noCache: true} + path: '/kucun/kcxxcx/index', + component: () => import('@/views/kucun/kcxxcx/index.vue'), + name: 'inventoryDetailsReporting', + meta: {title: '库存明细上报',noCache: true} }, { - path: '/404', - component: () => import('@/views/404'), - name: 'manufacturerPreference', - meta: {title: '库存上报',noCache: true} + path: '/kucun/pfsjgl/index', + component: () => import('@/views/kucun/pfsjgl/index.vue'), + name: 'wholesaleDataReporting', + meta: {title: '批发数据上报',noCache: true} }, { path: '/404', component: () => import('@/views/404'), name: 'manufacturerPreference', - meta: {title: '销售上报',noCache: true} + meta: {title: '销售明细上报',noCache: true} }, { path: '/404', component: () => import('@/views/404'), name: 'manufacturerPreference', meta: {title: '仓库调拨上报',noCache: true} - }, - { - path: '/404', - component: () => import('@/views/404'), - name: 'manufacturerPreference', - meta: {title: '配送批发上报',noCache: true} } ], }, @@ -180,7 +161,7 @@ export const constantRoutes = [ }, // 审批中心 { - path: '', + path: 'approvalCenter', component: Layout, meta: { title: '审批中心' }, children: [ @@ -211,7 +192,7 @@ export const constantRoutes = [ ] }, { - path: '', + path: 'messageCenter', component: Layout, meta: { title: '消息中心' }, children: [ @@ -230,12 +211,12 @@ export const constantRoutes = [ ] }, { - path: '', + path: 'reportCenter', component: Layout, meta: { title: '报表中心' }, children: [ { - path: 'reportCenter/salesReport', + path: '/reportCenter/salesReport', component: () => import('@/views/reportCenter/salesReport.vue'), name: 'salesReport', meta: {title: '销售报表',noCache: true,} @@ -249,7 +230,7 @@ export const constantRoutes = [ ] }, { - path: '', + path: 'riskControlManagement', component: Layout, meta: { title: '风控管理' }, children: [ @@ -262,15 +243,15 @@ export const constantRoutes = [ ] }, { - path: '', + path: 'systemManagement', component: Layout, meta: { title: '系统管理' }, children: [ { - path: 'risk/thresholdAnalysis', - component: () => import('@/views/risk/thresholdAnalysis.vue'), + path: '/404', + component: () => import('@/views/404'), name: 'thresholdAnalysis', - meta: {title: '阀值分析',noCache: true,} + meta: {title: '用户管理',noCache: true,} } ] },