Merged
This commit is contained in:
@@ -99,13 +99,8 @@ const store = reactive({
|
||||
},
|
||||
printEstados() {
|
||||
if (store.filters.estados.length > 0)
|
||||
<<<<<<< HEAD
|
||||
document.querySelector('#estados').innerHTML = store.filters.estados.map((estado) => `<span class="mx-2 badge badge-${store.estados.getEstado(estado).estado_color}">
|
||||
<i class="${store.estados.getEstado(estado).estado_icon}"></i> ${store.estados.getEstado(estado).nombre}
|
||||
=======
|
||||
document.querySelector('#estados').innerHTML = store.filters.estados.map((estado) => `<span class="mx-2 badge badge-${store.estados.getEstado(estado).estado_color}">
|
||||
<i class="${store.estados.getEstado(estado).estado_icon}"></i> ${store.estados.getEstado(estado).nombre}
|
||||
>>>>>>> 7688f1aac1824c234bc5f19b154e9ad1f4808d4f
|
||||
</span>`).join('');
|
||||
else
|
||||
document.querySelector('#estados').innerHTML = `Todos los registros`;
|
||||
@@ -213,10 +208,7 @@ const store = reactive({
|
||||
params['fecha_inicio'] = fecha_inicio;
|
||||
if (fecha_fin)
|
||||
params['fecha_fin'] = fecha_fin;
|
||||
<<<<<<< HEAD
|
||||
params['periodo_id'] = store.filters.todos_los_periodos ? 1 : 0;
|
||||
=======
|
||||
>>>>>>> 7688f1aac1824c234bc5f19b154e9ad1f4808d4f
|
||||
const paramsUrl = new URLSearchParams(params).toString();
|
||||
try {
|
||||
const res = await fetch(`action/action_auditoria.php?${paramsUrl}`, {
|
||||
|
||||
@@ -29,8 +29,6 @@ const check = () => {
|
||||
}
|
||||
|
||||
['scroll', 'resize'].forEach(e => window.addEventListener(e, check))
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const links = document.querySelectorAll('a');
|
||||
@@ -39,5 +37,4 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
// event.preventDefault();
|
||||
});
|
||||
});
|
||||
});
|
||||
>>>>>>> 7688f1aac1824c234bc5f19b154e9ad1f4808d4f
|
||||
});
|
||||
Reference in New Issue
Block a user