优化构架

This commit is contained in:
2026-08-03 18:52:30 +08:00
parent 35c713a7ca
commit fed46f42ef
59 changed files with 691 additions and 325 deletions
+33
View File
@@ -0,0 +1,33 @@
import { ClipboardList, Package, ReceiptText, Truck } from '@lucide/vue'
import type { ClientModuleManifest } from '../types.ts'
export const orderManagementModule = {
key: 'order-management',
navigationGroup: { title: '订单管理', icon: ClipboardList },
routes: [
{
path: 'orders/my',
name: 'orders-my',
component: () => import('./views/MyOrdersView.vue'),
release: 'prototype',
meta: { title: '我的订单', description: '统一查询各类业务订单', permission: 'merchant:order:list' },
navigation: { key: 'orders-my', icon: ReceiptText },
},
{
path: 'orders/inbound',
name: 'orders-inbound',
component: () => import('./views/InboundOrdersView.vue'),
release: 'prototype',
meta: { title: '入库订单列表', description: '查询海外仓入库订单', permission: 'merchant:warehouse:inbound:list' },
navigation: { key: 'orders-inbound', icon: Package },
},
{
path: 'orders/delivery',
name: 'orders-delivery',
component: () => import('./views/DeliveryOrdersView.vue'),
release: 'prototype',
meta: { title: '派送订单列表', description: '查询海外仓派送订单', permission: 'merchant:warehouse:delivery:list' },
navigation: { key: 'orders-delivery', icon: Truck },
},
],
} satisfies ClientModuleManifest
@@ -1,5 +1,5 @@
<script setup lang="ts">
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
</script>
<template><PrototypeFeatureView title="派送订单列表" description="查询海外仓派送订单" /></template>
@@ -1,5 +1,5 @@
<script setup lang="ts">
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
</script>
<template><PrototypeFeatureView title="入库订单列表" description="查询海外仓入库订单" /></template>
@@ -1,5 +1,5 @@
<script setup lang="ts">
import PrototypeFeatureView from '@/views/prototype/PrototypeFeatureView.vue'
import PrototypeFeatureView from '@/components/common/PrototypeFeatureView.vue'
</script>
<template><PrototypeFeatureView title="我的订单" description="统一查询各类业务订单" /></template>