优化构架
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user