This commit is contained in:
2023-09-05 15:08:32 +00:00
parent 8eec1a97ba
commit c2c0637b87
9 changed files with 311 additions and 227 deletions

View File

@@ -171,10 +171,15 @@ const store = reactive({
if (fecha_fin)
params['fecha_fin'] = fecha_fin;
const paramsUrl = new URLSearchParams(params).toString();
const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, {
method: 'GET',
});
this.data = await res.json();
try {
const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, {
method: 'GET',
});
this.data = await res.json();
}
catch (error) {
alert('Error al cargar los datos');
}
this.loading = false;
store.current.page = 1;
},