23 lines
1.0 KiB
TypeScript
23 lines
1.0 KiB
TypeScript
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
export const containerLoadingRoutes = [
|
|
{
|
|
path: 'container-loading',
|
|
name: 'container-loading',
|
|
component: () => import('./pages/ContainersView.vue'),
|
|
meta: { title: '货柜与排柜', description: '维护货柜资料并进入智能排柜工作台', permission: 'platform:firstleg:container:list' },
|
|
},
|
|
{
|
|
path: 'container-loading/:containerId',
|
|
name: 'container-detail',
|
|
component: () => import('./pages/ContainerDetailView.vue'),
|
|
meta: { title: '货柜详情', description: '查看货柜资料、履约轨迹、单证与异常', permission: 'platform:firstleg:container:list', showPageHeading: false },
|
|
},
|
|
{
|
|
path: 'container-loading/:containerId/smart-loading',
|
|
name: 'smart-loading-workbench',
|
|
component: () => import('./pages/SmartLoadingWorkbenchView.vue'),
|
|
meta: { title: '智能排柜', description: '生成、调整并确认可解释的装柜计划', permission: 'platform:firstleg:smart-loading:list' },
|
|
},
|
|
] satisfies RouteRecordRaw[]
|