From f8e602910892664470c6c4f304add430e1da0d6e Mon Sep 17 00:00:00 2001 From: SunCheng Date: Thu, 19 Feb 2026 21:52:23 +0800 Subject: [PATCH] refactor(calendar-v2): migrate TransactionList to BillListComponent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用统一的 BillListComponent 替换自定义账单列表 - 保留自定义 header (交易记录标题 + Items 计数 + Smart 按钮) - 移除数据格式转换逻辑,直接传递原始数据 - 简化代码从 403 行减少到 177 行 - 配置: data-source=custom, enable-filter=false, show-delete=false --- .../calendarV2/modules/TransactionList.vue | 262 ++---------------- 1 file changed, 18 insertions(+), 244 deletions(-) diff --git a/Web/src/views/calendarV2/modules/TransactionList.vue b/Web/src/views/calendarV2/modules/TransactionList.vue index 156f79c..f0a1343 100644 --- a/Web/src/views/calendarV2/modules/TransactionList.vue +++ b/Web/src/views/calendarV2/modules/TransactionList.vue @@ -4,14 +4,14 @@ 特殊功能: - 自定义 header(Items 数量、Smart 按钮) - 与日历视图紧密集成 - - 特定的 UI 风格和交互 + - 使用统一的 BillListComponent 展示账单列表 - 注意:此组件不是通用的 BillListComponent,专为 CalendarV2 视图设计。 - 如需通用账单列表功能,请使用 @/components/Bill/BillListComponent.vue + 迁移说明:已迁移至使用 BillListComponent,保留自定义 header 和 Smart 按钮 -->