Commit 46d4b465 by Billy Larru

arreglando el listado de policias en el modal nuevoRol de policias

parent 14dd6b97
......@@ -15,7 +15,7 @@ function initDatePicker(selectorName) {
function listarRolesPolicias(objParams = {}) {
debugger
axios.get(URI_ROL_POLICIA, objParams).then((result) => {
axios.get(URI_ROL_POLICIA, objParams).then((response) => {
let columns = [
{
title: `N°`,
......@@ -91,7 +91,7 @@ function listarRolesPolicias(objParams = {}) {
let footer = false
makeDatatable({
data: result.data,
data: response.data,
columns: columns,
columnDefs: columnDefs,
wrapsNameDatatable: wrapsNameDatatable,
......@@ -308,7 +308,7 @@ function mostrarModalNuevoRol() {
listarTipoRoles();
listarFrecuenciaRol();
listarSedes("#cboSedesModal");
listarPolicias();
listarPolicias("#cboPolicias");
$('.selectpicker').selectpicker({
......
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