|
@@ -1,58 +1,25 @@
|
|
|
-// import Layout from '@/layout/index';
|
|
|
-
|
|
|
-// const contractManagementRouter = {
|
|
|
-// path: '/warehouseManagement',
|
|
|
-// component: Layout,
|
|
|
-// redirect: '/warehouseManagement',
|
|
|
-// name: 'warehouseManagement',
|
|
|
-// alwaysShow: true, // will always show the root menu
|
|
|
-// meta: {
|
|
|
-// title: 'warehouseManagement',
|
|
|
-// module: 'warehouseManagement',
|
|
|
-// icon: 'cg'
|
|
|
-// },
|
|
|
-// children: [
|
|
|
-// {
|
|
|
-// path: 'warehouseManagementlist',
|
|
|
-// component: () =>
|
|
|
-// import(/* webpackChunkName: "applDetail" */ '@/views/warehouse/list'),
|
|
|
-// name: 'warehouseManagementlist',
|
|
|
-// meta: {
|
|
|
-// title: 'warehouseManagementlist',
|
|
|
-// shortcutEntrance: 'warehouseManagementlist',
|
|
|
-// module: 'warehouseManagement.salesContract.warehouseManagementlist',
|
|
|
-// permissicon: [],
|
|
|
-// keepAlive: true
|
|
|
-// // module: 'procurement.sparepart.applDetail'
|
|
|
-// },
|
|
|
-// hidden: true
|
|
|
-// },
|
|
|
-// ],
|
|
|
-// };
|
|
|
-// export default contractManagementRouter;
|
|
|
import Layout from '@/layout/index';
|
|
|
-
|
|
|
-const contractManagementRouter = {
|
|
|
+const warehouseManagementRouter = {
|
|
|
path: '/warehouse',
|
|
|
component: Layout,
|
|
|
- redirect: '/warehouse',
|
|
|
- name: 'warehouse',
|
|
|
+ redirect: { name: 'warehouseManagementList' },
|
|
|
+ name: 'warehouseManagementList',
|
|
|
alwaysShow: true, // will always show the root menu
|
|
|
meta: {
|
|
|
- title: 'warehouse',
|
|
|
- module: 'warehouse',
|
|
|
+ title: 'warehouseManagementList',
|
|
|
+ module: 'warehouseManagement',
|
|
|
icon: 'cg'
|
|
|
},
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'warehouseManagementlist',
|
|
|
+ path: 'warehouseManagementList',
|
|
|
component: () =>
|
|
|
- import(/* webpackChunkName: "applDetail" */ '@/views/warehouse/warehouseManagementlist'),
|
|
|
- name: 'warehouseManagementlist',
|
|
|
+ import(/* webpackChunkName: "applDetail" */ '@/views/warehouse/warehouseManagementList'),
|
|
|
+ name: 'warehouseManagementList',
|
|
|
meta: {
|
|
|
- title: 'warehouseManagementlist',
|
|
|
- shortcutEntrance: 'warehouse',
|
|
|
- module: 'warehouse.warehouseManagementlist',
|
|
|
+ title: 'warehouseManagementList',
|
|
|
+ shortcutEntrance: 'warehouseManagementList',
|
|
|
+ module: 'warehouseManagement.warehouseManagementList',
|
|
|
permissicon: [],
|
|
|
keepAlive: true
|
|
|
// module: 'procurement.sparepart.applDetail'
|
|
@@ -61,4 +28,5 @@ const contractManagementRouter = {
|
|
|
},
|
|
|
],
|
|
|
};
|
|
|
-export default contractManagementRouter;
|
|
|
+export default warehouseManagementRouter;
|
|
|
+
|