Files
Ubuntu deb3e72750
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s
chore: 以 AI 生鲜配送系统 当前版本作为 SupplierSystem 起点
来源仓库:jxc/ai-fresh-delivery
来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d
快照树:  09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件)

按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据
(生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、
deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值),
整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。
供应商系统后续开发自本提交开始。
2026-10-08 17:35:43 +08:00

193 lines
14 KiB
Plaintext

┌─────────────────────────────────────────────────────────────────────────────┐
│ AI生鲜系统 - 导航结构图 │
└─────────────────────────────────────────────────────────────────────────────┘
【公开路由 - 无需登录】
┌─────────────┐
│ /login │ ← 主登录页
└─────────────┘
┌─────────────────┐
│ /supplier/login │ ← 供应商登录
└─────────────────┘
┌──────────────────┐
│ /purchaser/login │ ← 采购员登录
└──────────────────┘
┌───────────────────┐
│ /delivery/login │ ← 配送员登录
└───────────────────┘
【受保护路由 - 需登录后访问】
登录成功
│
▼
┌───────────────┐
│ Layout │ ← 主布局(侧边栏+内容区)
│ (根路由 /) │
└───────────────┘
│
├──→ ┌─────────────────┐
│ │ /dashboard │ ← 数据看板
│ └─────────────────┘
│
├──→ ┌─────────────────┐
│ │ /order-entry │ ← S01 录单员代录
│ └─────────────────┘
│
├──→ ┌─────────────────┐
│ │ /customer-order│ ← S02 客户自助下单
│ └─────────────────┘
│
├──→ ┌─────────────────┐ ┌─────────────────────┐
│ │ /orders │ ───→ │ /orders │ ← 订单列表
│ │ (父级菜单) │ └─────────────────────┘
│ └─────────────────┘ ┌─────────────────────┐
│ │ /orders/allocation │ ← 智能分配
│ └─────────────────────┘
│ ┌─────────────────────┐
│ │ /orders/bids │ ← 竞价管理
│ └─────────────────────┘
│
├──→ ┌─────────────────┐ ┌─────────────────────────┐
│ │ /customers │ ───→ │ /customers │ ← 客户列表
│ │ (父级菜单) │ └─────────────────────────┘
│ └─────────────────┘ ┌─────────────────────────┐
│ │ /customers/alias-library│ ← 映射库管理
│ └─────────────────────────┘
│
├──→ ┌─────────────────┐ ┌─────────────────────────┐
│ │ /products │ ───→ │ /products/categories │ ← 分类管理
│ │ (父级菜单) │ └─────────────────────────┘
│ └─────────────────┘ ┌─────────────────────────┐
│ │ /products/skus │ ← 商品管理
│ └─────────────────────────┘
│ ┌─────────────────────────┐
│ │ /products/aliases │ ← 映射库
│ └─────────────────────────┘
│
├──→ ┌─────────────────┐
│ │ /suppliers │ ← 供应商管理
│ └─────────────────┘
│
├──→ ┌─────────────────┐
│ │ /inventory │ ← 库存管理
│ └─────────────────┘
│
├──→ ┌─────────────────┐ ┌─────────────────────────┐
│ │ /purchase │ ───→ │ /purchase │ ← 自采列表
│ │ (父级菜单) │ └─────────────────────────┘
│ └─────────────────┘ ┌─────────────────────────┐
│ │ /purchase/preparations │ ← 供应商备货表
│ └─────────────────────────┘
│
├──→ ┌─────────────────┐ ┌─────────────────────────┐
│ │ /inspection │ ───→ │ /inspection │ ← 验收列表
│ │ (父级菜单) │ └─────────────────────────┘
│ └─────────────────┘ ┌─────────────────────────┐
│ │ /inspection/processing │ ← 加工管理
│ └─────────────────────────┘
│
├──→ ┌─────────────────┐
│ │ /delivery │ ← 配送管理
│ └─────────────────┘
│
├──→ ┌─────────────────────┐
│ │ /delivery-persons │ ← 配送员管理
│ └─────────────────────┘
│
├──→ ┌─────────────────┐ ┌─────────────────────────┐
│ │ /finance │ ───→ │ /finance │ ← 财务概览
│ │ (父级菜单) │ └─────────────────────────┘
│ └─────────────────┘ ┌─────────────────────────┐
│ │ /finance/costs │ ← 成本管理
│ └─────────────────────────┘
│ ┌─────────────────────────┐
│ │ /finance/fixed-costs │ ← 固定成本
│ └─────────────────────────┘
│ ┌─────────────────────────┐
│ │/finance/cost-adjustments│ ← 成本调整
│ └─────────────────────────┘
│ ┌─────────────────────────┐
│ │/finance/customer-statements│ ← 客户结算
│ └─────────────────────────┘
│ ┌─────────────────────────┐
│ │/finance/supplier-statements│ ← 供应商结算
│ └─────────────────────────┘
│ ┌─────────────────────────┐
│ │ /finance/invoices │ ← 发票管理
│ └─────────────────────────┘
│
├──→ ┌─────────────────┐
│ │ /after-sales │ ← 售后管理
│ └─────────────────┘
│
├──→ ┌─────────────────┐
│ │ /exceptions │ ← 异常管理
│ └─────────────────┘
│
├──→ ┌─────────────────┐
│ │ /warehouses │ ← 仓库管理
│ └─────────────────┘
│
├──→ ┌─────────────────┐
│ │ /market-monitor │ ← 市场监控
│ └─────────────────┘
│
└──→ ┌─────────────────┐ ┌─────────────────────────┐
│ /system │ ───→ │ /system/config │ ← 系统配置
│ (父级菜单) │ └─────────────────────────┘
└─────────────────┘ ┌─────────────────────────┐
│ /system/users │ ← 用户管理
└─────────────────────────┘
┌─────────────────────────┐
│ /system/roles │ ← 角色权限
└─────────────────────────┘
┌─────────────────────────┐
│ /system/logs │ ← 操作日志
└─────────────────────────┘
┌─────────────────────────┐
│ /system/notifications │ ← 消息通知
└─────────────────────────┘
【图例说明】
┌─────────────┐
│ 路由路径 │ ← 单级菜单(直接访问)
└─────────────┘
┌─────────────┐
│ (父级菜单) │ ← 可展开的多级菜单
└─────────────┘
───→ ← 子菜单关系
【权限说明】
每个路由都有对应的权限控制:
• dashboard: 所有登录用户
• order-entry: order_entry
• customer-order: customer_order
• orders/*: order_manage, allocation_manage, bid_manage
• customers/*: customer_manage
• products/*: category_manage, sku_manage, alias_manage
• suppliers: supplier_manage
• inventory: inventory_manage
• purchase/*: purchase_manage, preparation_manage
• inspection/*: inspection_manage, processing_manage
• delivery: delivery_manage
• delivery-persons: delivery_person_manage (仅超管/管理员)
• finance/*: finance_manage, cost_manage, statement_manage, invoice_manage
• after-sales: aftersales_manage
• exceptions: exception_manage
• warehouses: warehouse_manage
• market-monitor: market_monitor
• system/*: system_manage, user_manage, role_manage, log_view (仅超管/管理员)