192 lines
6.9 KiB
TypeScript
192 lines
6.9 KiB
TypeScript
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: 'PL00000000000000000000000000004A',
|
|
name: 'PlTransportAddress',
|
|
path: 'transport-address',
|
|
component: '/pl/transport-address/index',
|
|
meta: { title: '地址库', keepAlive: true, menuCode: 'pl:transport-address: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: 'PL00000000000000000000000000016',
|
|
name: 'PlPlanArchive',
|
|
path: 'plan-archive',
|
|
component: '/pl/plan-archive/index',
|
|
meta: { title: '运输计划归档', keepAlive: true, menuCode: 'pl:plan-archive: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: 'PL00000000000000000000000000031',
|
|
name: 'PlFreightApproval',
|
|
path: 'freight-approval',
|
|
component: '/pl/freight-approval/index',
|
|
meta: { title: '运费结算审批', keepAlive: true, menuCode: 'pl:freight-approval:list' }
|
|
},
|
|
{
|
|
id: 'PL00000000000000000000000000032',
|
|
name: 'PlFreightDisburse',
|
|
path: 'freight-disburse',
|
|
component: '/pl/freight-disburse/index',
|
|
meta: { title: '运费财务发放', keepAlive: true, menuCode: 'pl:freight-disburse:list' }
|
|
},
|
|
{
|
|
id: 'PL_VEH_RECHARGE_APPLY',
|
|
name: 'PlVehicleRechargeApply',
|
|
path: 'vehicle-recharge-apply',
|
|
component: '/pl/vehicle-recharge-apply/index',
|
|
meta: { title: 'ETC加油申请', keepAlive: true, menuCode: 'pl:vehicle-recharge-apply:list' }
|
|
},
|
|
{
|
|
id: 'PL_VEH_RECHARGE_RECORD',
|
|
name: 'PlVehicleRechargeRecord',
|
|
path: 'vehicle-recharge-record',
|
|
component: '/pl/vehicle-recharge-record/index',
|
|
meta: { title: 'ETC加油发放登记', keepAlive: true, menuCode: 'pl:vehicle-recharge-record:list' }
|
|
},
|
|
{
|
|
id: 'PL_VEH_MAINT_APPLY',
|
|
name: 'PlVehicleMaintenanceApply',
|
|
path: 'vehicle-maintenance-apply',
|
|
component: '/pl/vehicle-maintenance-apply/index',
|
|
meta: { title: '车辆维保申请', keepAlive: true, menuCode: 'pl:vehicle-maintenance-apply:list' }
|
|
},
|
|
{
|
|
id: 'PL_VEH_MAINT_PROCESS',
|
|
name: 'PlVehicleMaintenanceProcess',
|
|
path: 'vehicle-maintenance-process',
|
|
component: '/pl/vehicle-maintenance-process/index',
|
|
meta: { title: '车辆维保处理登记', keepAlive: true, menuCode: 'pl:vehicle-maintenance-process:list' }
|
|
},
|
|
{
|
|
id: 'PL_VEH_UREA_APPLY',
|
|
name: 'PlVehicleUreaApply',
|
|
path: 'vehicle-urea-apply',
|
|
component: '/pl/vehicle-urea-apply/index',
|
|
meta: { title: '车辆尿素申请', keepAlive: true, menuCode: 'pl:vehicle-urea-apply:list' }
|
|
},
|
|
{
|
|
id: 'PL_VEH_UREA_DISBURSE',
|
|
name: 'PlVehicleUreaDisburse',
|
|
path: 'vehicle-urea-disburse',
|
|
component: '/pl/vehicle-urea-disburse/index',
|
|
meta: { title: '车辆尿素发放登记', keepAlive: true, menuCode: 'pl:vehicle-urea-disburse: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' }
|
|
}
|
|
]
|
|
}
|
|
]
|