提交
This commit is contained in:
1 parent
c3be9d1dce
commit
299609706c
328 files changed
+144899
-13873
No files matched your search
@@ -0,0 +1,121 @@
|
||||
import { AppRouteRecord } from '@/types/router'
|
||||
|
||||
/**
|
||||
* 运输管理路由
|
||||
*/
|
||||
export const plRoutes: AppRouteRecord[] = [
|
||||
{
|
||||
id: 'PL000000000000000000000000000001',
|
||||
name: 'TransportPlan',
|
||||
path: '/pl',
|
||||
component: '/index/index',
|
||||
meta: { title: '运输管理', icon: 'ri:truck-line', keepAlive: false, roles: ['admin'] },
|
||||
children: [
|
||||
{
|
||||
id: 'PL00000000000000000000000000002',
|
||||
name: 'PlCarrier',
|
||||
path: 'carrier',
|
||||
component: '/pl/carrier/index',
|
||||
meta: { title: '承运商管理', keepAlive: true, menuCode: 'pl:carrier:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000003',
|
||||
name: 'PlVehicle',
|
||||
path: 'vehicle',
|
||||
component: '/pl/vehicle/index',
|
||||
meta: { title: '车辆管理', keepAlive: true, menuCode: 'pl:vehicle:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000003S',
|
||||
name: 'PlSelfVehicle',
|
||||
path: 'self-vehicle',
|
||||
component: '/pl/self-vehicle/index',
|
||||
meta: { title: '山峡自有车辆', keepAlive: true, menuCode: 'pl:self-vehicle:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000004',
|
||||
name: 'PlPersonnel',
|
||||
path: 'personnel',
|
||||
component: '/pl/personnel/index',
|
||||
meta: { title: '人员管理', keepAlive: true, menuCode: 'pl:driver:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000004R',
|
||||
name: 'PlDriverRedirect',
|
||||
path: 'driver',
|
||||
redirect: '/pl/personnel',
|
||||
meta: { title: '司机管理', isHide: true, menuCode: 'pl:driver:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000010',
|
||||
name: 'PlPlan',
|
||||
path: 'plan',
|
||||
component: '/pl/plan/index',
|
||||
meta: { title: '运输计划', keepAlive: true, menuCode: 'pl:plan:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000015',
|
||||
name: 'PlPlanCert',
|
||||
path: 'plan-cert',
|
||||
component: '/pl/plan-cert/index',
|
||||
meta: { title: '危化品证上传', keepAlive: true, menuCode: 'pl:plan-cert:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000011',
|
||||
name: 'PlPlanCreate',
|
||||
path: 'plan/create',
|
||||
component: '/pl/plan/form',
|
||||
meta: { title: '新增计划', keepAlive: false, isHide: true, menuCode: 'pl:plan:add' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000012',
|
||||
name: 'PlPlanEdit',
|
||||
path: 'plan/edit/:id',
|
||||
component: '/pl/plan/form',
|
||||
meta: { title: '编辑计划', keepAlive: false, isHide: true, menuCode: 'pl:plan:edit' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000013',
|
||||
name: 'PlPlanDetail',
|
||||
path: 'plan/detail/:id',
|
||||
component: '/pl/plan/detail',
|
||||
meta: { title: '计划详情', keepAlive: false, isHide: true, menuCode: 'pl:plan:query' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000014',
|
||||
name: 'PlPlanArrange',
|
||||
path: 'plan/arrange/:id',
|
||||
component: '/pl/plan/arrange',
|
||||
meta: { title: '运输安排', keepAlive: false, isHide: true, menuCode: 'pl:plan:arrange' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000020',
|
||||
name: 'PlTransport',
|
||||
path: 'transport',
|
||||
component: '/pl/transport/index',
|
||||
meta: { title: '运输管理', keepAlive: true, isHide: true, menuCode: 'pl:transport:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000030',
|
||||
name: 'PlFreight',
|
||||
path: 'freight',
|
||||
component: '/pl/freight/index',
|
||||
meta: { title: '运费结算', keepAlive: true, menuCode: 'pl:freight:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000040',
|
||||
name: 'PlInventory',
|
||||
path: 'inventory',
|
||||
component: '/pl/inventory/ledger',
|
||||
meta: { title: '库存台账', keepAlive: true, isHide: true, menuCode: 'pl:inventory:list' }
|
||||
},
|
||||
{
|
||||
id: 'PL00000000000000000000000000050',
|
||||
name: 'PlDocumentReminder',
|
||||
path: 'document-reminder',
|
||||
component: '/pl/inventory/document-reminder',
|
||||
meta: { title: '证件提醒', keepAlive: true, menuCode: 'pl:document:list' }
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user