feat(mangel): Mangel-Ticket-System (Roadmap Phase 2)
Eigener Workflow für Schäden/Defekte, getrennt von Fehlbestand (Mengen- Abweichung Soll/Ist). Status: neu → in_bearbeitung → ersatzteil_bestellt/ reparatur_geplant → erledigt. entitaet_typ/entitaet_id optional (Objektposition oder Geräteinstanz), analog zum bestehenden historie.entitaet_typ-Muster, objekt_id immer gesetzt für Dashboard-Abfragen. Ein offener Mangel mit prioritaet=hoch macht das Objekt "nicht einsatzbereit" (neuer Grund mangel_kritisch_offen in dashboard.einsatzbereitschaft) - niedrige/normale Mängel blockieren nicht. Melden/Lesen: alle Mitarbeiter+. Status ändern: Materialverantwortliche+. Neue Seite /maengel für alle eingeloggten Nutzer (Nav-Link "Mängel"). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KC8HYvv6UkCVYheYiTw9DD
This commit is contained in:
@@ -3898,3 +3898,30 @@ Keine Commits in dieser Session.
|
||||
- frontend/src/pages/LoginPage.tsx | 11 ++++++++++-
|
||||
|
||||
---
|
||||
## 2026-09-05 11:07 – 11:07 (0m)
|
||||
**Beschreibung:** Claude Code Session
|
||||
**Projekt:** frontend
|
||||
|
||||
### Commits
|
||||
Keine Commits in dieser Session.
|
||||
|
||||
### Geänderte Dateien
|
||||
- backend/alembic/versions/0012_personal_qualifikationen.py | 86 ++++++++++++++++++++++++
|
||||
- backend/app/api/v1/api.py | 2 +
|
||||
- backend/app/api/v1/endpoints/benutzer.py | 6 ++
|
||||
- backend/app/api/v1/endpoints/personal.py | 213 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
- backend/app/models/auth.py | 1 +
|
||||
- backend/app/models/objekt.py | 3 +
|
||||
- backend/app/models/personal.py | 86 ++++++++++++++++++++++++
|
||||
- backend/app/schemas/benutzer.py | 4 ++
|
||||
- backend/app/schemas/personal.py | 82 +++++++++++++++++++++++
|
||||
- backend/app/services/personal.py | 53 +++++++++++++++
|
||||
- backend/tests/test_personal.py | 139 +++++++++++++++++++++++++++++++++++++++
|
||||
- frontend/DEVLOG.md | 60 +++++++++++++++++
|
||||
- frontend/src/api/types.ts | 26 ++++++++
|
||||
- frontend/src/pages/AdminPage.tsx | 29 +++++++--
|
||||
- frontend/src/pages/admin/BenutzerSection.tsx | 45 +++++++++++--
|
||||
- frontend/src/pages/admin/EinheitSection.tsx | 136 ++++++++++++++++++++++++++++++++++++++
|
||||
- frontend/src/pages/admin/QualifikationSection.tsx | 204 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user