[FIX] Rischi 12 col: titoli gruppo "Rischio Inerente/Residuo" + soglie alert 9-12 (feedback Simon)
Riscontro Simon sulla tabella Gestione Rischi: - Titoli di gruppo sui tripletti Probabilità/Impatto/Valutazione: da "VALUTAZIONE RISCHIO INERENTE/RESIDUO" a "Rischio Inerente"/"Rischio Residuo" (risks.html thead + i18n.js grp_inherent/grp_residual IT+EN). - Ritirata eccezione #3: banda Alert riportata a spec Simon 15-25/9-12/3-8/1-2. Simon ha ragione: con P,I in 1-5 i prodotti 7/11/13/14 non esistono → nessun buco. alertBand resta >=9 (=9-12 in pratica); aggiornati commento, help.js, manuale, KB (9-14 -> 9-12). - Cache-buster help.js/i18n.js -> 20260730b (i18n va bustato o riscrive il titolo). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
7149e762f8
commit
8799620fba
+7
-6
@@ -406,10 +406,10 @@
|
||||
<tr>
|
||||
<th scope="col" rowspan="2" data-i18n="risks.col_code">Codice rischio</th>
|
||||
<th scope="col" rowspan="2" data-i18n="risks.col_risk">Descrizione rischio</th>
|
||||
<th scope="colgroup" colspan="3" class="grp grp-inh" data-i18n="risks.grp_inherent">VALUTAZIONE RISCHIO INERENTE</th>
|
||||
<th scope="colgroup" colspan="3" class="grp grp-inh" data-i18n="risks.grp_inherent">Rischio Inerente</th>
|
||||
<th scope="col" rowspan="2" data-i18n="risks.col_alert">Alert</th>
|
||||
<th scope="col" rowspan="2" data-i18n="risks.col_inherent">Rischio Inerente</th>
|
||||
<th scope="colgroup" colspan="3" class="grp grp-res" data-i18n="risks.grp_residual">VALUTAZIONE RISCHIO RESIDUO</th>
|
||||
<th scope="colgroup" colspan="3" class="grp grp-res" data-i18n="risks.grp_residual">Rischio Residuo</th>
|
||||
<th scope="col" rowspan="2" data-i18n="risks.col_res_outcome">Esito residuo</th>
|
||||
<th scope="col" rowspan="2" data-i18n="risks.col_residual">Rischio Residuo</th>
|
||||
</tr>
|
||||
@@ -544,8 +544,8 @@
|
||||
<script src="/js/common.js?v=20260729b"></script>
|
||||
<script src="/vendor/lucide/lucide.min.js"></script>
|
||||
<script src="/js/topnav-v3.js?v=20260729"></script>
|
||||
<script src="/js/i18n.js?v=20260730a"></script>
|
||||
<script src="/js/help.js?v=20260730a"></script>
|
||||
<script src="/js/i18n.js?v=20260730b"></script>
|
||||
<script src="/js/help.js?v=20260730b"></script>
|
||||
<script>
|
||||
// ── Auth & Init ──────────────────────────────────────────────
|
||||
if (!checkAuth()) throw new Error('Not authenticated');
|
||||
@@ -682,8 +682,9 @@
|
||||
if (p >= 3) return 'rk-med';
|
||||
return 'rk-low';
|
||||
}
|
||||
// ── Banda ALERT sul punteggio INERENTE (prodotto P×I). Eccezione #3: la banda
|
||||
// 13-14 (scoperta nella spec) è inclusa in "Critica" → 9-14 Critica, 15-25 Prioritaria. ──
|
||||
// ── Banda ALERT sul punteggio INERENTE (prodotto P×I). Soglie da spec Simon:
|
||||
// 15-25 Prioritaria, 9-12 Critica, 3-8 Necessaria, 1-2 Suggerita.
|
||||
// NB: con P,I in 1-5 i prodotti 7/11/13/14 NON esistono → nessun buco (conferma Simon). ──
|
||||
function alertBand(p) {
|
||||
if (p == null) return null;
|
||||
if (p >= 15) return { cls: 'alert-pri', label: 'Azione Prioritaria' };
|
||||
|
||||
Reference in New Issue
Block a user