feat(looseboard): simplify client demand and split route contacts

This commit is contained in:
2026-10-19 15:11:15 +08:00
parent 04a06668a1
commit 34650b06df
5 changed files with 106 additions and 121 deletions
+5 -5
View File
@@ -52,13 +52,13 @@ test('keeps standalone business pages at the client sidebar root', () => {
{ title: '首页', children: undefined },
{
title: '订单中心',
children: ['头程订单', '入库订单', '派送订单'],
children: ['头程订单', '入库订单', '派送订单', '海外采购', '美国本土卡', '美本土散板'],
},
{ title: '报关资料', children: undefined },
{ title: '船期价格', children: undefined },
{
title: '海外仓',
children: ['贴标申请', '仓储转运', '货物废弃', '退货换标', '海外采购', '美国本土卡', '美本土散板'],
children: ['贴标申请', '仓储转运', '货物废弃', '退货换标'],
},
{
title: '费用与账单',
@@ -90,15 +90,15 @@ test('flattens visible leaves with unique paths', () => {
'/orders/first-leg',
'/orders/inbound',
'/orders/delivery',
'/cross-border/procurement',
'/cross-border/domestic-trucking',
'/cross-border/pallet-shipping',
'/first-leg/customs-documents',
'/first-leg/sailing-prices',
'/overseas-warehouse/labeling',
'/overseas-warehouse/storage-transfer',
'/overseas-warehouse/cargo-disposal',
'/overseas-warehouse/return-relabel',
'/cross-border/procurement',
'/cross-border/domestic-trucking',
'/cross-border/pallet-shipping',
'/finance/account',
'/finance/bills',
'/company/profile',