Browse Source

修改router

QuKatie 3 years ago
parent
commit
943eeb1350
1 changed files with 255 additions and 3 deletions
  1. 255 3
      src/router/views/index.js

+ 255 - 3
src/router/views/index.js

@@ -74,13 +74,13 @@ export default [{
       component: () => import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
     }]
   }, {
-    path: '/detailsPageEdit',
+    path: '/basicData/customerInformation/detailsPageEdit',
     component: Layout,
     hidden: true,
     children: [{
-      path: '/detailsPageEdit',
+      path: '/basicData/customerInformation/detailsPageEdit',
       meta: {
-        i18n: 'detailsPageEdit'
+        keepAlive: true,
       },
       component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerInformation/detailsPageEdit')
     }]
@@ -150,6 +150,244 @@ export default [{
       component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/productInformation/index')
     }]
   },
+  //客户分类
+  {
+    path: '/basicData/customerCategory/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/customerCategory/index',
+      name: '客户分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerCategory/index')
+    }]
+  },
+  //客户资料
+  {
+    path: '/basicData/customerInformation/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/customerInformation/index',
+      name: '客户资料',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerInformation/index')
+    }]
+  },
+  //供应商分类
+  {
+    path: '/basicData/customerManagement/supplierType/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/customerManagement/supplierType/index',
+      name: '供应商分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/supplierType/index')
+    }]
+  },
+  //供应商资料
+  {
+    path: '/basicData/customerManagement/supplierMaterial/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/customerManagement/supplierMaterial/index',
+      name: '供应商资料',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/supplierMaterial/index')
+    }]
+  },
+  //公司分类
+  {
+    path: '/basicData/customerManagement/companyType/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/customerManagement/companyType/index',
+      name: '所属公司分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/companyType/index')
+    }]
+  },
+  //公司资料
+  {
+    path: '/basicData/customerManagement/companyMaterial/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/customerManagement/companyMaterial/index',
+      name: '所属公司资料',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/customerManagement/companyMaterial/index')
+    }]
+  },
+  //商品分类
+  {
+    path: '/basicData/commodityCategory/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/commodityCategory/index',
+      name: '商品分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/commodityCategory/index')
+    }]
+  },
+  //商品分类
+  {
+    path: '/basicData/commodityType/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/commodityType/index',
+      name: '商品信息',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/commodityType/index')
+    }]
+  },
+  //费用分类
+  {
+    path: '/basicData/basicFeesType/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/basicFeesType/index',
+      name: '费用分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/basicFeesType/index')
+    }]
+  },
+  //费用详情
+  {
+    path: '/basicData/basicFeesDesc/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/basicFeesDesc/index',
+      name: '费用详情',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/basicFeesDesc/index')
+    }]
+  },
+  //仓库分类
+  {
+    path: '/basicData/basicStorageType/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/basicStorageType/index',
+      name: '仓库分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/basicStorageType/index')
+    }]
+  },
+  //库区明细
+  {
+    path: '/basicData/basicStorageDesc/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/basicStorageDesc/index',
+      name: '库区明细',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/basicStorageDesc/index')
+    }]
+  },
+  //箱分类
+  {
+    path: '/basicData/container/type',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/container/type',
+      name: '箱分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/container/type')
+    }]
+  },
+  //集装箱
+  {
+    path: '/basicData/container/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/container/index',
+      name: '集装箱',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/container/index')
+    }]
+  },
+  //港口分类
+  {
+    path: '/basicData/portinformation/type',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/portinformation/type',
+      name: '港口分类',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/portinformation/type')
+    }]
+  },
+  //港口资料
+  {
+    path: '/basicData/portinformation/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/basicData/portinformation/index',
+      name: '港口资料',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/basicData/portinformation/index')
+    }]
+  },
+  //产品价格
+  {
+    path: '/maintenance/priceLibrary/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/maintenance/priceLibrary/index',
+      name: '产品价格',
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/maintenance/priceLibrary/index')
+    }]
+  },
   //销售详情页
   {
     path: '/businessManagement/salesOrder/index',
@@ -626,6 +864,20 @@ export default [{
       component: () => import( /* webpackChunkName: "views" */ '@/views/statisticAnalysis/profit/index')
     }]
   },
+  //销售利润
+  {
+    path: '/statisticAnalysis/salesProfit/index',
+    component: Layout,
+    hidden: true,
+    children: [{
+      path: '/statisticAnalysis/salesProfit/index',
+      name: "利润分析",
+      meta: {
+        keepAlive: true,
+      },
+      component: () => import( /* webpackChunkName: "views" */ '@/views/statisticAnalysis/salesProfit/index')
+    }]
+  },
   //利润分析
   {
     path: '/statisticAnalysis/royalty/index',