import Layout from '@/page/index/' export default [ { path: '/login', name: '登录页', component: () => import(/* webpackChunkName: "page" */ '@/page/login/index'), meta: { keepAlive: true, isTab: false, isAuth: false, }, }, { path: '/lock', name: '锁屏页', component: () => import(/* webpackChunkName: "page" */ '@/page/lock/index'), meta: { keepAlive: true, isTab: false, isAuth: false, }, }, { path: '/404', component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/404'), name: '404', meta: { keepAlive: true, isTab: false, isAuth: false, }, }, { path: '/403', component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/403'), name: '403', meta: { keepAlive: true, isTab: false, isAuth: false, }, }, { path: '/500', component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/500'), name: '500', meta: { keepAlive: true, isTab: false, isAuth: false, }, }, { path: '/', name: '主页', redirect: '/wel', }, { path: '/myiframe', component: Layout, redirect: '/myiframe', children: [ { path: '/video-setting', name: '设备管理', component: () => import(/* webpackChunkName: "page" */ '@/views/management/video-setting/index'), props: true, }, { path: '/generalProcess', name: '通用流程设置', component: () => import(/* webpackChunkName: "page" */ '@/views/process/generalProcess/index'), props: true, }, { path: '/processNode', name: '流程设置', component: () => import(/* webpackChunkName: "page" */ '@/views/process/processNode/index'), props: true, }, { path: '/nodeConfig', name: '节点配置', component: () => import(/* webpackChunkName: "page" */ '@/views/process/processNode/nodeConfig'), props: true, }, { path: ':routerPath', name: 'iframe', component: () => import(/* webpackChunkName: "page" */ '@/components/iframe/main'), props: true, }, ], }, { path: '/test', name: '测试', component: () => import('@/views/test'), }, { path: '/warehouse-maintenance', name: '仓库维护', component: () => import(/* webpackChunkName: "page" */ '@/views/basic-configuration/warehouse-maintenance/index'), meta: { keepAlive: true, isTab: false, isAuth: false, }, }, { path: '/Internet-of-things/Industry-management', component: Layout, redirect: '/Internet-of-things/Industry-management/index', children: [ { path: 'index', name: '行业管理', component: () => import(/* webpackChunkName: "page" */ '@/views/Internet-of-things/Industry-management/index'), props: true, }, ], }, { path: '/Internet-of-things/Industry-management', component: Layout, redirect: '/Internet-of-things/Industry-management/details', children: [ { path: 'details', name: '行业详情', component: () => import(/* webpackChunkName: "page" */ '@/views/Internet-of-things/Industry-management/details'), props: true, }, ], }, { path: '/Internet-of-things/product-management', component: Layout, redirect: '/Internet-of-things/product-management/index', children: [ { path: 'index', name: '产品管理', component: () => import(/* webpackChunkName: "page" */ '@/views/Internet-of-things/product-management/index'), props: true, }, ], }, { path: '/Internet-of-things/equipment-management', component: Layout, redirect: '/Internet-of-things/equipment-management/index', children: [ { path: 'index', name: '设备管理', component: () => import(/* webpackChunkName: "page" */ '@/views/Internet-of-things/equipment-management/index'), props: true, }, ], }, { path: '/product-material/product', component: Layout, redirect: '/product-material/product/index', children: [ { path: 'index', name: '产品维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/product/index'), props: true, }, ], }, { path: '/product-material/material', component: Layout, redirect: '/product-material/material/index', children: [ { path: 'index', name: '物料维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/material/index'), props: true, }, ], }, { path: '/product-material/spu', component: Layout, redirect: '/product-material/spu/index', children: [ { path: 'index', name: 'spu维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/spu/index'), props: true, }, ], }, { path: '/product-material/warehouse', component: Layout, redirect: '/product-material/warehouse/index', children: [ { path: 'index', name: '仓库维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/warehouse/index'), props: true, }, ], }, { path: '/product-material/supply', component: Layout, redirect: '/product-material/supply/index', children: [ { path: 'index', name: '供应商维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/supply/index'), props: true, }, ], }, { path: '/product-material/supply', component: Layout, redirect: '/product-material/supply/priceMaintenance', children: [ { path: 'priceMaintenance', name: '供应商价格维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/supply/priceMaintenance'), props: true, }, ], }, { path: '/product-material/customer', component: Layout, redirect: '/product-material/customer/index', children: [ { path: 'index', name: '客户维护', component: () => import(/* webpackChunkName: "page" */ '@/views/product-material/customer/index'), props: true, }, ], }, { path: '/purchase-management/subscribe', component: Layout, redirect: '/purchase-management/subscribe/index', children: [ { path: 'index', name: '申购管理', component: () => import(/* webpackChunkName: "page" */ '@/views/purchase-management/subscribe/index'), props: true, }, ], }, { path: '/purchase-management/purchase', component: Layout, redirect: '/purchase-management/purchase/index', children: [ { path: 'index', name: '待采购', component: () => import(/* webpackChunkName: "page" */ '@/views/purchase-management/purchase/index'), props: true, }, ], }, { path: '/purchase-management/deliver-goods', component: Layout, redirect: '/purchase-management/deliver-goods/index', children: [ { path: 'index', name: '已采购', component: () => import(/* webpackChunkName: "page" */ '@/views/purchase-management/deliver-goods/index'), props: true, }, ], }, { path: '/purchase-management/returnsManagement', component: Layout, redirect: '/purchase-management/returnsManagement/index', children: [ { path: 'index', name: '退货管理', component: () => import(/* webpackChunkName: "page" */ '@/views/purchase-management/returnsManagement/index'), props: true, }, ], }, { path: '/purchase-management/settlement', component: Layout, redirect: '/purchase-management/settlement/purchaseSettlement', children: [ { path: 'purchaseSettlement', name: '采购结算', component: () => import(/* webpackChunkName: "page" */ '@/views/purchase-management/settlement/purchaseSettlement'), props: true, }, ], }, { path: '/order-management/order', component: Layout, redirect: '/order-management/order/index', children: [ { path: 'index', name: '销售订单', component: () => import(/* webpackChunkName: "page" */ '@/views/order-management/order/index'), props: true, }, ], }, { path: '/order-management/order', component: Layout, redirect: '/order-management/order/JDorder', children: [ { path: 'JDorder', name: '京东订单', component: () => import(/* webpackChunkName: "page" */ '@/views/order-management/order/JDorder'), props: true, }, ], }, { path: '/order-management/afterSales', component: Layout, redirect: '/order-management/afterSales/index', children: [ { path: 'index', name: '售后管理', component: () => import(/* webpackChunkName: "page" */ '@/views/order-management/afterSales/index'), props: true, }, ], }, { path: '/inventory-management/query', component: Layout, redirect: '/inventory-management/query/index', children: [ { path: 'index', name: '库存查询', component: () => import(/* webpackChunkName: "page" */ '@/views/inventory-management/query/index'), props: true, }, ], }, { path: '/inventory-management/check', component: Layout, redirect: '/inventory-management/check/index', children: [ { path: 'index', name: '库存盘点', component: () => import(/* webpackChunkName: "page" */ '@/views/inventory-management/check/index'), props: true, }, ], }, { path: '/inventory-management/combination', component: Layout, redirect: '/inventory-management/combination/index', children: [ { path: 'index', name: '产品组合', component: () => import(/* webpackChunkName: "page" */ '@/views/inventory-management/combination/index'), props: true, }, ], }, { path: '/inventory-management/bill', component: Layout, redirect: '/inventory-management/bill/index', children: [ { path: 'index', name: '单据查看', component: () => import(/* webpackChunkName: "page" */ '@/views/inventory-management/bill/index'), props: true, }, ], }, { path: '/inbound-outbound/inbound/cgInbound', component: Layout, redirect: '/inbound-outbound/inbound/cgInbound/index', children: [ { path: 'index', name: '采购入库', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/inbound/cgInbound/index'), props: true, }, ], }, { path: '/inbound-outbound/inbound/manualInbound', component: Layout, redirect: '/inbound-outbound/inbound/manualInbound/index', children: [ { path: 'index', name: '手动入库', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/inbound/manualInbound/index'), props: true, }, ], }, { path: '/inbound-outbound/inbound', component: Layout, redirect: '/inbound-outbound/inbound/qualityTesting', children: [ { path: 'qualityTesting', name: '入库质检', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/inbound/qualityTesting'), props: true, }, ], }, { path: '/inbound-outbound/arrivalInspection', component: Layout, redirect: '/inbound-outbound/arrivalInspection/index', children: [ { path: 'index', name: '到货质检', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/arrivalInspection/index'), props: true, }, ], }, { path: '/inbound-outbound/abnormalManage', component: Layout, redirect: '/inbound-outbound/abnormalManage/index', children: [ { path: 'index', name: '异常管理', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/abnormalManage/index'), props: true, }, ], }, { path: '/inbound-outbound/outbound/salesOutbound', component: Layout, redirect: '/inbound-outbound/outbound/salesOutbound/index', children: [ { path: 'index', name: '销售订单出库', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/outbound/salesOutbound/index'), props: true, }, ], }, { path: '/inbound-outbound/outbound/JDoutbound', component: Layout, redirect: '/inbound-outbound/outbound/JDoutbound/index', children: [ { path: 'index', name: '京东订单出库', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/outbound/JDoutbound/index'), props: true, }, ], }, { path: '/inbound-outbound/outbound/manualOutbound', component: Layout, redirect: '/inbound-outbound/outbound/manualOutbound/index', children: [ { path: 'index', name: '手动出库', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/outbound/manualOutbound/index'), props: true, }, ], }, { path: '/inbound-outbound/transfer', component: Layout, redirect: '/inbound-outbound/transfer/index', children: [ { path: 'index', name: '调仓', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/transfer/index'), props: true, }, ], }, { path: '/inbound-outbound/flow', component: Layout, redirect: '/inbound-outbound/flow/index', children: [ { path: 'index', name: '出入库流水', component: () => import(/* webpackChunkName: "page" */ '@/views/inbound-outbound/flow/index'), props: true, }, ], }, { path: '/process/backlog', component: Layout, redirect: '/process/backlog/index', children: [ { path: 'index', name: '流程审批', component: () => import(/* webpackChunkName: "page" */ '@/views/process/backlog/index'), props: true, }, ], }, { path: '/process/examinationApproval', component: Layout, redirect: '/process/examinationApproval/index', children: [ { path: 'index', name: '办理', component: () => import(/* webpackChunkName: "page" */ '@/views/process/examinationApproval/index'), props: true, }, ], }, //```````````````````````````````````````````````````````````````````` { path: '/equipment', component: Layout, redirect: '/equipment/index', children: [ { path: 'index', name: '设备', component: () => import(/* webpackChunkName: "page" */ '@/views/equipment/index'), props: true, }, ], }, { path: '*', redirect: '/404', }, ]