123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589 |
- 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',
- },
- ]
|