Commit Graph

13 Commits

Author SHA1 Message Date
Frudrax Cheng d8d305c051 feat: add project work order UI 2026-06-04 10:26:05 +08:00
Frudrax Cheng 2bf43ac3e3 Fix Safari site image upload headers 2026-06-02 11:10:57 +08:00
Frudrax Cheng a19204d4b5 Upload site images during aftersales confirmation 2026-06-02 11:04:38 +08:00
Frudrax Cheng b9bc8f5419 Refactor employee management 2026-05-28 10:05:56 +08:00
Frudrax Cheng f61004ba12 Show aftersales stats and recent orders on dashboard
- Adds a second row of cards (total / pending / closed / rejected)
- New "最近售后工单" table linking to detail pages
- DashboardStats type extended; dashboardApi maps backend overview

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 11:04:25 +08:00
Frudrax Cheng eab66bc3e9 Add user management page and technician picker for reassign
- New /admin/users page (admin only) for creating technicians,
  editing role/email, resetting passwords, deleting users
- AftersalesDetail reassign modal now uses a searchable Select
  populated from /api/users/assignable instead of raw user ID input
- Menu entry only shown to admins

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 10:58:02 +08:00
Frudrax Cheng 6fef517556 Add aftersales work order frontend pages
- Public scan-to-confirm page (/aftersales/:sn) with phone last-4 verification
- Admin list + detail pages with state machine, QR generation, reassign, force-close
- PublicLayout extracted from PublicQuery so both pages share logo + 备案 chrome
- PublicQuery auto-redirects scanned zjbf-sh-* serials to the aftersales page
- AdminLayout: new 售后工单 menu entry

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 10:51:25 +08:00
cynosura 11f3eda668 Change department to position 2026-03-02 14:02:16 +08:00
cynosura 76d5cdf542 Remove Generate.tsx 2026-03-02 13:36:21 +08:00
cynosura 76ea5a2e06 Add employee code assignment function 2026-03-02 12:58:05 +08:00
cynosura aa81871cfe fix(auth): improve login error feedback for better UX 2026-02-06 16:58:12 +08:00
cynosura a506ebfccd fix: add error feedback for failed login attempts 2026-02-06 16:53:17 +08:00
cynosura 5fc7b33b3b Initial commit 2026-02-06 14:06:49 +08:00