No logs of periodo
This commit is contained in:
@@ -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}`, {
|
||||||
|
|||||||
Reference in New Issue
Block a user