Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Asistencia
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Billy Larru
Asistencia
Commits
380a1e61
Commit
380a1e61
authored
Aug 21, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filtrando asistencias de policias
parent
8971d075
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
control_asistencia_policias.js
src/main/webapp/js/pages/control_asistencia_policias.js
+13
-2
No files found.
src/main/webapp/js/pages/control_asistencia_policias.js
View file @
380a1e61
...
...
@@ -6,7 +6,7 @@ function init() {
}
function
listarAsistencias
(
objParams
=
{})
{
debugger
axios
.
get
(
URI_POLICIAS_ASISTENCIA
,
objParams
).
then
((
response
)
=>
{
response
.
data
=
formatResponse
(
response
);
debugger
...
...
@@ -207,7 +207,6 @@ function listarEstadoAsistencia() {
border
:
"1px solid #ddd"
,
backgroundColor
:
"#fff"
});
debugger
;
});
}
...
...
@@ -406,6 +405,17 @@ function evtChange() {
}
function
buscarAsistencias
()
{
let
policia_id
=
$
(
"#cboPoliciasFiltro"
).
val
();
let
sede_id
=
$
(
"#cboSedesFiltro"
).
val
();
let
params
=
cleanQueryParams
({
policia_id
,
sede_id
});
listarAsistencias
({
params
});
}
$
().
ready
(
function
()
{
listarPolicias
(
"#cboPoliciasFiltro"
);
listarSedes
(
"#cboSedesFiltro"
);
...
...
@@ -456,6 +466,7 @@ $().ready(function () {
seleccionCriterio
();
$
(
"#btnVerTodos"
).
click
(
listarAsistencias
);
$
(
"#btnVerAsistencias"
).
click
(
buscarAsistencias
);
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment