This commit is contained in:
2025-12-30 14:50:49 +00:00
parent bc67bf5389
commit 9de4fba7e6
5 changed files with 271 additions and 151 deletions

View File

@@ -803,4 +803,28 @@ function afficher_adherents_police()
$("#div_liste_adherent").html(data);
}
});
}
function graphique_sinistre()
{
$("#div_graphique").html(`
<div class="text-center my-5 py-5">
<div class="spinner-border text-primary" role="status" style="width: 3rem; height: 3rem;">
<span class="visually-hidden">Chargement...</span>
</div>
<p class="mt-3 text-muted fw-bold">Affichage des graphiques en cours...</p>
</div>
`);
$.ajax({
url: $("#racineWeb").val()+"Ajaxgraphiquesinistres/",
type : 'post',
// data: donnees,
error: function(errorData) {
},
success: function(data) {
$("#div_graphique").html(data);
}
});
}