No logs of periodo

This commit is contained in:
Your Name
2025-02-14 16:37:03 -06:00
parent f069d4a698
commit ec88df75be

View File

@@ -140,6 +140,7 @@ const store = reactive({
}, },
body: JSON.stringify(store.current.justificada) body: JSON.stringify(store.current.justificada)
}); });
data = await res.json(); data = await res.json();
} }
catch (error) { catch (error) {
@@ -206,7 +207,7 @@ const store = reactive({
if (fecha_fin) if (fecha_fin)
params['fecha_fin'] = fecha_fin; params['fecha_fin'] = fecha_fin;
params['periodo_id'] = store.filters.todos_los_periodos ? 0 : store.periodo.periodo_id; params['periodo_id'] = store.filters.todos_los_periodos ? 0 : store.periodo.periodo_id;
console.log(store.periodo); // console.log(store.periodo);
const paramsUrl = new URLSearchParams(params).toString(); const paramsUrl = new URLSearchParams(params).toString();
try { try {
const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, { const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, {