73 lines
4.1 KiB
TypeScript
73 lines
4.1 KiB
TypeScript
import { Package, PlaneTakeoff, Ship, Truck } from '@lucide/vue'
|
|
import type { ClientModuleManifest } from '../types.ts'
|
|
|
|
export const crossBorderModule = {
|
|
key: 'cross-border',
|
|
navigationGroup: { title: '出海下单', icon: PlaneTakeoff },
|
|
routes: [
|
|
{
|
|
path: 'cross-border/procurement/create',
|
|
name: 'cross-border-procurement-create',
|
|
component: () => import('./views/ProcurementView.vue'),
|
|
props: { createPage: true },
|
|
release: 'active',
|
|
meta: { title: '海外采购下单', workspaceTitle: '海外采购 · 新建', description: '填写并提交海外采购订单', permission: 'merchant:cross-border:procurement:create' },
|
|
},
|
|
{
|
|
path: 'cross-border/procurement/:orderNo/detail', name: 'cross-border-procurement-detail',
|
|
component: () => import('./views/ProcurementView.vue'), props: { detailPage: true }, release: 'active',
|
|
meta: { title: '海外采购详情', workspaceTitle: '海外采购 · 详情', description: '查看海外采购订单详情', permission: 'merchant:cross-border:procurement:list', keepAlive: false },
|
|
},
|
|
{
|
|
path: 'cross-border/procurement',
|
|
name: 'cross-border-procurement',
|
|
component: () => import('./views/ProcurementView.vue'),
|
|
release: 'active',
|
|
meta: { title: '海外采购', description: '管理海外采购订单', permission: 'merchant:cross-border:procurement:list' },
|
|
navigation: { key: 'cross-border-procurement', icon: Package },
|
|
},
|
|
{
|
|
path: 'cross-border/domestic-trucking/create',
|
|
name: 'cross-border-domestic-trucking-create',
|
|
component: () => import('./views/DomesticTruckingView.vue'),
|
|
props: { createPage: true },
|
|
release: 'active',
|
|
meta: { title: '美国本土卡下单', workspaceTitle: '美国本土卡 · 新建', description: '填写并提交美国本土卡车运输订单', permission: 'merchant:cross-border:domestic-trucking:create' },
|
|
},
|
|
{
|
|
path: 'cross-border/domestic-trucking/:orderNo/detail', name: 'cross-border-domestic-trucking-detail',
|
|
component: () => import('./views/DomesticTruckingView.vue'), props: { detailPage: true }, release: 'active',
|
|
meta: { title: '美国本土卡详情', workspaceTitle: '美国本土卡 · 详情', description: '查看美国本土卡订单详情', permission: 'merchant:cross-border:domestic-trucking:list', keepAlive: false },
|
|
},
|
|
{
|
|
path: 'cross-border/domestic-trucking',
|
|
name: 'cross-border-domestic-trucking',
|
|
component: () => import('./views/DomesticTruckingView.vue'),
|
|
release: 'active',
|
|
meta: { title: '美国本土卡', description: '创建美国本土卡车运输订单', permission: 'merchant:cross-border:domestic-trucking:list' },
|
|
navigation: { key: 'cross-border-domestic-trucking', icon: Truck },
|
|
},
|
|
{
|
|
path: 'cross-border/pallet-shipping/create',
|
|
name: 'cross-border-pallet-shipping-create',
|
|
component: () => import('./views/PalletShippingView.vue'),
|
|
props: { createPage: true },
|
|
release: 'active',
|
|
meta: { title: '美本土散板下单', workspaceTitle: '美本土散板 · 新建', description: '填写并提交美国本土散板运输订单', permission: 'merchant:cross-border:pallet-shipping:create' },
|
|
},
|
|
{
|
|
path: 'cross-border/pallet-shipping/:orderNo/detail', name: 'cross-border-pallet-shipping-detail',
|
|
component: () => import('./views/PalletShippingView.vue'), props: { detailPage: true }, release: 'active',
|
|
meta: { title: '美本土散板详情', workspaceTitle: '美本土散板 · 详情', description: '查看美本土散板运输订单详情', permission: 'merchant:cross-border:pallet-shipping:list', keepAlive: false },
|
|
},
|
|
{
|
|
path: 'cross-border/pallet-shipping',
|
|
name: 'cross-border-pallet-shipping',
|
|
component: () => import('./views/PalletShippingView.vue'),
|
|
release: 'active',
|
|
meta: { title: '美本土散板', description: '创建美国本土散板运输订单', permission: 'merchant:cross-border:pallet-shipping:list' },
|
|
navigation: { key: 'cross-border-pallet-shipping', icon: Ship },
|
|
},
|
|
],
|
|
} satisfies ClientModuleManifest
|