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>
This commit is contained in:
@@ -90,6 +90,7 @@ src/
|
||||
- `dashboardApi` - Dashboard statistics
|
||||
- `employeeSerialApi` - Employee serial management
|
||||
- `aftersalesApi` - Aftersales work orders (admin + public)
|
||||
- `usersApi` - User management (admin only); also exposes `assignable` for technician/admin picker
|
||||
- Auth token automatically added via axios interceptor
|
||||
- All API calls return typed responses based on `src/types/index.ts`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user