12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import Layout from '@/layout/index.vue'
- import { createNameComponent } from '../createNode'
- const route = [
- {
- path: '/trackManager',
- component: Layout,
- redirect: 'trackManager/waybillManager',
- meta: { title: '运单管理', icon: 'icon-fabu' },
- children: [
- {
- path: 'waybillManager',
- component: createNameComponent(() => import('@/views/trackManager/waybillManager.vue')),
- meta: { title: '运单管理', cache: false, },
- },
- {
- path: 'deviceAbnormality',
- component: createNameComponent(() => import('@/views/trackManager/deviceAbnormality.vue')),
- meta: { title: '设备异常管理', cache: false, },
- },
- {
- path: 'loadDeviation',
- component: createNameComponent(() => import('@/views/trackManager/loadDeviation.vue')),
- meta: { title: '装货地异常管理', cache: false, },
- },
- {
- path: 'abnormalWaybill',
- component: createNameComponent(() => import('@/views/trackManager/abnormalWaybill.vue')),
- meta: { title: '卸货地异常管理', cache: false, },
- },
- // {
- // path: 'publishDetail',
- // component: createNameComponent(() => import('@/views/trackManager/publishDetail.vue')),
- // meta: { title: '发布详情', hideMenuItem: true, cache: false, },
- // },
- ]
- },
- {
- path: '/auditPlaceShip',
- component: Layout,
- redirect: 'trackManager/auditPlaceShip',
- meta: { title: '供应商仓库管理', icon: 'icon-fabu' },
- children: [
- {
- path: 'auditPlaceShip',
- component: createNameComponent(() => import('@/views/trackManager/auditPlaceShip.vue')),
- meta: { title: '待审核仓库列表', cache: false, },
- },
- {
- path: 'placeShip',
- component: createNameComponent(() => import('@/views/trackManager/placeShip.vue')),
- meta: { title: '已通过仓库列表', cache: false, },
- },
- {
- path: 'unPlaceShip',
- component: createNameComponent(() => import('@/views/trackManager/unPlaceShip.vue')),
- meta: { title: '已拒绝仓库列表', cache: false, },
- },
- ]
- },
- // 收发货地范围管理
- {
- path: '/configManager',
- component: Layout,
- redirect: 'trackManager/configManager',
- meta: { title: '收发货地范围管理', icon: 'icon-shezhi' },
- children: [
- {
- path: 'configManager',
- component: createNameComponent(() => import('@/views/configManager/index.vue')),
- meta: { title: '收发货地范围管理', cache: false,icon: 'icon-shezhi' },
- }
- ]
- }
- ]
- export default route
|