Commit Graph

9 Commits

Author SHA1 Message Date
Frudrax Cheng 79b1287932 Document aftersales company boundary 2026-05-28 10:29:24 +08:00
Frudrax Cheng 06da68e41b Add employee serial QR query support 2026-05-28 10:24:49 +08:00
Frudrax Cheng b9bc8f5419 Refactor employee management 2026-05-28 10:05:56 +08:00
Frudrax Cheng aace7ef6e5 docs: align aftersales README and AGENTS conventions 2026-05-28 09:15:34 +08:00
Frudrax Cheng 1d944b0fd3 Replace phone verification with canvas signature on confirm page
Adds a canvas-based SignaturePad component used on the customer
confirm page. Authorize now requires a non-empty signature; reject
opens a required reason modal. The archived signature is shown to
the customer after confirming and on the admin detail page.

Also fixes the confirm page being clipped at the top when its
content exceeds the viewport: the public layout used
height:100vh + overflow:hidden which cropped the centered card.
Switched to min-height:100vh so tall content can scroll naturally.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-26 18:02:18 +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 18803d07be feat: improve user interface layout for better accessibility 2026-02-06 16:18:54 +08:00
cynosura 5fc7b33b3b Initial commit 2026-02-06 14:06:49 +08:00