Commit Graph
3 Commits
Author SHA1 Message Date
ymlandClaude Opus 4.7 ac5d1ea25d fix: 优化交接记录显示,将技术标识转换为用户友好文字
问题:
- 交接记录显示原始技术标识(owner_handoff, renter_checkout 等)
- 用户体验不佳,难以理解记录含义

改进:
- 添加 formatHandoffRecordType 函数统一格式化交接记录类型
- 映射关系:
  - owner_handoff → 卖家交接
  - renter_checkout → 买家结账
  - owner_counter_checkout → 卖家反驳结账
  - renter_confirm_checkout → 买家确认结账
  - owner_accept_checkout → 卖家接受结账
- 同时优化PC端订单详情和管理后台订单详情

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-05 10:38:52 +08:00
yml2213 e010f2ce7e chore: 批量更新导入路径到 features 架构
- 更新所有 admin API 文件导入路径
- 更新所有 features 中 Vue 文件的导入路径
- 修复 ChatAttachmentImage 组件导入
- 修复 auth 模块部分导入路径

剩余 ~190 个类型错误待修复(主要是缺失的模块)
2026-06-04 09:23:15 +08:00
yml2213andClaude Opus 4.7 c9397635e2 feat: P3阶段完成 - 全部模块迁移完成 🎉
## P3.1: 争议仲裁模块(disputes)
- API: disputes.ts
- 模块导出

## P3.2: 卖家中心模块(seller)
- Views: 4个页面
- Composables: usePublishForm, usePublishDraft
- 模块导出

## P3.3: 管理后台模块(admin)
- API: 8个文件(adminAuth, adminDashboard, adminUsers等)
- Views: 15个管理页面
- Composables: useAdminTable, useAdminPaginatedTable
- Components: 管理端组件
- 模块导出

---

## 🎉 Features 架构迁移全部完成!

### 最终统计
-  P0: shared(基础设施)- 22个文件
-  P1: wallet, chats, orders - 24个文件
-  P2: listings, auth - 35个文件
-  P3: seller, disputes, admin - 47个文件

**总计:** 9个模块,128个文件完成迁移

### 新架构
```
frontend/src/
├── features/          # 9个业务模块 
│   ├── wallet/       
│   ├── chats/        
│   ├── orders/        (已重构)
│   ├── listings/     
│   ├── auth/         
│   ├── seller/       
│   ├── disputes/     
│   └── admin/        
└── shared/           
```

下一步:清理旧文件、更新路由配置

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-04 09:05:34 +08:00