156 lines
No EOL
4.4 KiB
Markdown
156 lines
No EOL
4.4 KiB
Markdown
# GMAO Collège - Documentation Complète
|
|
|
|
## 🔐 AUTHENTIFICATION (`/auth/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/auth/login` | Public | Connexion utilisateur (mot de passe) |
|
|
| `/auth/logout` | Auth | Déconnexion |
|
|
| `/auth/change-password` | Auth | Changement mot de passe personnel |
|
|
|
|
---
|
|
|
|
## 🏠 DASHBOARD (`/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/` | Auth | Tableau de bord : stats interventions, alertes, planning du jour |
|
|
|
|
---
|
|
|
|
## 🔧 INTERVENTIONS (`/interventions/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/interventions/` | Auth | **Liste interventions** : réparations, maintenances |
|
|
| `/interventions/create` | Technicien+ | Créer intervention |
|
|
| `/interventions/<id>` | Auth | **Détail intervention** |
|
|
| `/interventions/<id>/edit` | Technicien+ | Modifier intervention |
|
|
| `/interventions/planning` | Auth | **Planning préventif** |
|
|
|
|
---
|
|
|
|
## 📅 PLANNING (`/planning/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/planning/` | Auth | **Calendrier général** |
|
|
| `/planning/schedule` | Auth | **Mes horaires** |
|
|
| `/planning/leaves` | Auth | **Mes congés** |
|
|
| `/planning/closures` | Auth | **Fermetures** |
|
|
|
|
---
|
|
|
|
## 🏢 ÉQUIPEMENTS (`/equipements/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/equipements/` | Auth | Liste équipements |
|
|
| `/equipements/batiments` | Auth | **Bâtiments** |
|
|
| `/equipements/salles` | Auth | **Salles** (avec types) |
|
|
| `/equipements/categories` | Auth | Catégories |
|
|
|
|
---
|
|
|
|
## 🏗️ LOTS (`/lots/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/lots/` | Auth | **Liste lots** (52) |
|
|
| `/lots/<id>` | Auth | **Détail lot** |
|
|
|
|
---
|
|
|
|
## ⚙️ SERVICES (`/services/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/services/` | Auth | **Liste services** (3) |
|
|
| `/services/<id>` | Auth | **Détail service** |
|
|
|
|
---
|
|
|
|
## 📊 DEBUG FICHIER (`/debug-file/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/debug-file/` | Auth | **Upload Excel/PDF** + chatbot |
|
|
|
|
---
|
|
|
|
## 🏢 ENTREPRISES (`/entreprises/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/entreprises/` | Auth | **Liste entreprises** (19) |
|
|
| `/entreprises/<id>` | Auth | **Détail entreprise** + techniciens |
|
|
|
|
---
|
|
|
|
## 🔩 PIÈCES (`/pieces/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/pieces/` | Auth | Gestion pièces détachées |
|
|
|
|
---
|
|
|
|
## 🧪 PRONOTE (`/pronote/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/pronote/connect` | Admin | **Connexion QR Code** |
|
|
| `/pronote/sync-salles` | Admin | **Import salles** |
|
|
| `/pronote/planning/<id>` | Auth | **Planning salle** |
|
|
|
|
---
|
|
|
|
## 🎓 FORMATIONS (`/formations/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/formations/` | Auth | **Liste formations** |
|
|
| `/formations/my-trainings` | Auth | **Mes formations** |
|
|
| `/formations/<id>/register` | Auth | S'inscrire |
|
|
|
|
---
|
|
|
|
## 📞 TÉLÉPHONE P520 (`/telephone/`)
|
|
| Page | Rôle | Fonctionnalité |
|
|
|------|------|----------------|
|
|
| `/telephone/` | Auth | **Dashboard P520** : 19 extensions |
|
|
| `/telephone/api/extensions` | Auth | **API JSON** : statuts temps réel |
|
|
| `/telephone/config` | Auth | **Configuration** : exclude extensions, refresh, delay |
|
|
| `/telephone/api/watchdog/toggle` | Auth | **API ON/OFF** du watchdog |
|
|
| `/telephone/api/watchdog/status` | Auth | **Statut watchdog** actuel |
|
|
|
|
Statuts: Disponible, Absent, DND, Pause déjeuner, Hors service
|
|
|
|
---
|
|
|
|
## 📱 MENU DESKTOP
|
|
- `/` Tableaude bord
|
|
- `/interventions/` Interventions
|
|
- `/planning/` Planning
|
|
- `/equipements/` Équipements
|
|
- `/entreprises/` Entreprises
|
|
- `/formations/` Formations
|
|
- `/telephone/` Téléphone P520
|
|
- `/pieces/` Pièces
|
|
|
|
## 📱 MENU MOBILE (Admin)
|
|
- `/equipements/salles`
|
|
- `/types-salles`
|
|
- `/pronote/connect`
|
|
- `/formations/` / `/formations/my-trainings`
|
|
- `/telephone/`
|
|
- `/lots/`
|
|
- `/services/`
|
|
- `/ent/config`
|
|
- `/ent/inbox`
|
|
- `/ent/staff`
|
|
|
|
---
|
|
|
|
## 📊 Modèle de données
|
|
```
|
|
Building → Room → RoomType
|
|
RoomSchedule (Plannings Pronote)
|
|
Company (techniciens 3 contacts)
|
|
Lot ↔ EquipmentCategory ↔ Service
|
|
Training ↔ TrainingParticipant
|
|
Intervention, Part, Equipment
|
|
```
|
|
|
|
## 🎯 Données
|
|
- 52 lots, 116 catégories, 19 entreprises
|
|
- 21 types de salles, 3 services
|
|
- P520: 19 extensions, v37.22.0.139 |