feat(dealer): 更新经销商资本和订单页面功能

- 在 ShopDealerCapitalParam 接口中新增 userId 和 month 字段
- 在 ShopDealerOrder 接口添加商品名称字段 title
- 修改资本页面默认日期为年月格式,并调整相关查询逻辑
- 调整订单页面收益显示文案及逻辑,支持多级佣金展示
- 修改首页跳转链接,将“收益明细”改为“电费订单”并指向订单页面
This commit is contained in:
2025-10-19 13:59:58 +08:00
parent e1e25bad3c
commit 159869a381
5 changed files with 23 additions and 21 deletions

View File

@@ -209,7 +209,7 @@ const DealerIndex: React.FC = () => {
border: 'none'
} as React.CSSProperties}
>
<Grid.Item text="收益明细" onClick={() => navigateToPage('/dealer/capital/index')}>
<Grid.Item text="电费订单" onClick={() => navigateToPage('/dealer/orders/index')}>
<View className="text-center">
<View className="w-12 h-12 bg-blue-50 rounded-xl flex items-center justify-center mx-auto mb-2">
<Shopping color="#3b82f6" size="20"/>