Files
EmailBill/openspec/changes/archive/2026-02-21-unify-bill-detail-component/tasks.md
SunCheng 749624f290
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 17s
Docker Build & Deploy / Deploy to Production (push) Successful in 6s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s
Docker Build & Deploy / WeChat Notification (push) Successful in 1s
feat: 统一交易详情组件,替换为 TransactionDetailSheet,增强功能并删除旧组件
2026-02-21 12:11:50 +08:00

1011 B
Raw Blame History

1. 增强组件功能

  • 1.1 在 TransactionDetailSheet.vue 中添加建议分类提示功能
  • 1.2 添加建议提示 UI 组件(显示 unconfirmedClassify 和应用按钮)
  • 1.3 实现应用建议分类逻辑(更新 classify 和 type 字段)

2. 迁移页面引用

  • 2.1 修改 TransactionsRecord.vue将 TransactionDetail 组件替换为 TransactionDetailSheet
  • 2.2 更新 TransactionsRecord.vue 中的事件处理save → save, delete → delete
  • 2.3 测试 TransactionsRecord 页面的详情功能

3. 清理旧代码

  • 3.1 确认无其他页面引用 TransactionDetail.vue
  • 3.2 删除 TransactionDetail.vue 组件文件
  • 3.3 更新相关文档(如有)

4. 测试验证

  • 4.1 测试 calendarV2 页面交易详情功能(无回归)
  • 4.2 测试 TransactionsRecord 页面交易详情功能
  • 4.3 测试 CategoryBillPopup 中交易详情功能
  • 4.4 测试建议分类提示功能
  • 4.5 运行前端 lint 检查