Commit 14dd6b97 by Billy Larru

correcion de filtros, no filtraba por todos

parent 64a48788
...@@ -13,9 +13,9 @@ function initDatePicker(selectorName) { ...@@ -13,9 +13,9 @@ function initDatePicker(selectorName) {
$(selectorName).datepicker('setDate', 'now'); $(selectorName).datepicker('setDate', 'now');
} }
function listarRolesPolicias(params = []) { function listarRolesPolicias(objParams = {}) {
debugger debugger
axios.get(URI_ROL_POLICIA, {params}).then((result) => { axios.get(URI_ROL_POLICIA, objParams).then((result) => {
let columns = [ let columns = [
{ {
title: `N°`, title: `N°`,
...@@ -373,7 +373,9 @@ function buscarRoles() { ...@@ -373,7 +373,9 @@ function buscarRoles() {
sede_id sede_id
}); });
listarRolesPolicias(params); console.log(params);
listarRolesPolicias({params});
} }
$().ready(function () { $().ready(function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment