2026-08-08 13:32:27 +08:00
|
|
|
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
|
|
|
|
|
|
export const truckingRoutes = [
|
|
|
|
|
{
|
|
|
|
|
path: 'trucking',
|
|
|
|
|
name: 'trucking',
|
|
|
|
|
component: () => import('./pages/TruckAppointmentsView.vue'),
|
|
|
|
|
meta: { title: '拖车预约', description: '维护拖车预约及派车状态', permission: 'platform:firstleg:truck-appointment:list' },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'trucking/new',
|
|
|
|
|
name: 'trucking-new',
|
|
|
|
|
component: () => import('./pages/TruckAppointmentCreateView.vue'),
|
|
|
|
|
meta: { title: '新增拖车预约', description: '创建拖车预约', permission: 'platform:firstleg:truck-appointment:create' },
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'trucking/:id',
|
|
|
|
|
name: 'trucking-detail',
|
|
|
|
|
component: () => import('./pages/TruckAppointmentDetailView.vue'),
|
|
|
|
|
props: true,
|
2026-08-13 11:57:44 +08:00
|
|
|
meta: { title: '拖车预约详情', description: '查看和编辑拖车预约', permission: 'platform:firstleg:truck-appointment:list' },
|
2026-08-08 13:32:27 +08:00
|
|
|
},
|
|
|
|
|
] satisfies RouteRecordRaw[]
|