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
301644a2
Commit
301644a2
authored
Aug 25, 2018
by
Billy Larru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arreglando login
parent
626ce74f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
108 additions
and
107 deletions
+108
-107
proyectar_asistencia_policias.js
src/main/webapp/js/pages/proyectar_asistencia_policias.js
+4
-5
index.jsp
src/main/webapp/vistas/index.jsp
+104
-102
No files found.
src/main/webapp/js/pages/proyectar_asistencia_policias.js
View file @
301644a2
...
...
@@ -52,8 +52,7 @@ function defaultConfigHandsonTable() {
function
mostrarVistaPrevia
()
{
axios
.
get
(
URI_ROL_POLICIA
).
then
((
response
)
=>
{
response
.
data
=
formatResponse
(
response
);
debugger
if
(
response
.
data
.
status
)
{
handsonTable
.
destroy
();
let
container
=
document
.
getElementById
(
"tblProyectado"
);
...
...
@@ -72,16 +71,16 @@ function mostrarVistaPrevia() {
fecha_salida
:
dr
.
fecha_salida
,
sede_id
:
d
.
sede_id
,
sede_descripcion
:
d
.
sede_descripcion
,
};
};
filas
.
push
(
objFila
);
});
});
handsonTable
=
new
Handsontable
(
container
,
{
data
:
response
.
data
.
data
,
data
:
filas
,
stretchH
:
'all'
,
rowHeaders
:
true
,
colHeaders
:
[
'DNI'
,
'Apellidos y Nombres'
,
'Sede'
,
'Horario'
,
'Rol'
,
'Fecha Entrada'
,
'Hora entrada'
,
'Hora Salida'
,
'Fecha Salida'
],
...
...
src/main/webapp/vistas/index.jsp
View file @
301644a2
This diff is collapsed.
Click to expand it.
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