feat: RLA API v1.0.0 — API complète + exports + thème McKinsey
- 9 endpoints métier : synthese, alertes, en-service, en-cours, par-region, clotures, pilotage-proactif, matrice-risque - Exports PDF (tous rôles) / XLSX PPTX DOCX (superadmin) - services/calc.js : helpers normalisés partagés - services/export-pdf.js : PDF async PDFKit par vue - Thème McKinsey (#1C2B4B / bleu pétrole / gris sobre) - Boutons XLSX/DOCX front (superadmin uniquement) - BASEROW_API_URL → https://baserow.bolbol.tn/api/ - dotenv override: true Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
// config.js - Configuration centralisée
|
||||
const CONFIG = {
|
||||
// Rafraîchissement (en minutes)
|
||||
REFRESH_INTERVAL: 60,
|
||||
|
||||
// Seuils alertes (en %)
|
||||
SEUIL_STANDARD: 70,
|
||||
SEUIL_MODERNISATION: 50,
|
||||
SEUIL_CRITIQUE: 90,
|
||||
|
||||
// Délais alertes (en jours)
|
||||
DELAI_CRITIQUE: 45,
|
||||
DELAI_ATTENTION: 90,
|
||||
|
||||
// Thème par défaut
|
||||
DEFAULT_THEME: 'light',
|
||||
|
||||
// Couleurs régions
|
||||
REGION_COLORS: {
|
||||
'Gabes': '#17A2B8',
|
||||
'Gafsa': '#22C55E',
|
||||
'Kebili': '#9333EA',
|
||||
'Medenine': '#0EA5E9',
|
||||
'Sfax': '#002855',
|
||||
'Tataouine': '#14B8A6',
|
||||
'Tozeur': '#818CF8'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user