Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
securityRemake
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
Juan Guevara Mayta
securityRemake
Commits
9b04723f
Commit
9b04723f
authored
Jan 20, 2024
by
Mauro Paolo Josue Zuñiga Mallqui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIXED] REPARACIÓN EN BOTONES DE LA TABLA
parent
cc37056f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
usuario.js
src/main/webapp/js/pages/usuario.js
+6
-6
No files found.
src/main/webapp/js/pages/usuario.js
View file @
9b04723f
...
@@ -99,7 +99,7 @@ cargarCargos = () => {
...
@@ -99,7 +99,7 @@ cargarCargos = () => {
}
}
function
reactivarUsuario
()
{
function
reactivarUsuario
()
{
$
(
'#tblUsuario
tbody
'
).
on
(
'click'
,
'.reactivar'
,
function
()
{
$
(
'#tblUsuario'
).
on
(
'click'
,
'.reactivar'
,
function
()
{
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
codigo
=
data
[
"codigoUsuario"
];
var
codigo
=
data
[
"codigoUsuario"
];
...
@@ -355,7 +355,7 @@ function validCaracForm() {
...
@@ -355,7 +355,7 @@ function validCaracForm() {
}
}
function
editarUsuario
()
{
function
editarUsuario
()
{
$
(
'#tblUsuario
tbody
'
).
on
(
'click'
,
'.editar'
,
function
()
{
$
(
'#tblUsuario'
).
on
(
'click'
,
'.editar'
,
function
()
{
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
numeral
=
data
[
"numeral"
];
var
numeral
=
data
[
"numeral"
];
...
@@ -566,7 +566,7 @@ function editarUsuario() {
...
@@ -566,7 +566,7 @@ function editarUsuario() {
label
:
"<i class='fa fa-check bigger-110'></i> Aceptar"
,
label
:
"<i class='fa fa-check bigger-110'></i> Aceptar"
,
className
:
"btn bg-orange border-orange-600 btn-xs"
,
className
:
"btn bg-orange border-orange-600 btn-xs"
,
callback
:
function
()
{
callback
:
function
()
{
$
(
`#tblUsuario
tbody
.click
${
numeral
}
`
).
click
();
$
(
`#tblUsuario .click
${
numeral
}
`
).
click
();
}
}
}
}
}
}
...
@@ -612,7 +612,7 @@ eliminarUsuario = (json) => {
...
@@ -612,7 +612,7 @@ eliminarUsuario = (json) => {
}
}
function
clickEliminarUsuario
()
{
function
clickEliminarUsuario
()
{
$
(
'#tblUsuario
tbody
'
).
on
(
'click'
,
'.eliminar'
,
function
()
{
$
(
'#tblUsuario'
).
on
(
'click'
,
'.eliminar'
,
function
()
{
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
codigo
=
data
[
"codigoUsuario"
];
var
codigo
=
data
[
"codigoUsuario"
];
...
@@ -1002,7 +1002,7 @@ function soloAlfanumerico(input) {
...
@@ -1002,7 +1002,7 @@ function soloAlfanumerico(input) {
}
}
function
asignarUsuarioProyecto
()
{
function
asignarUsuarioProyecto
()
{
$
(
'#tblUsuario
tbody
'
).
on
(
'click'
,
'.asignar'
,
function
(
e
)
{
$
(
'#tblUsuario'
).
on
(
'click'
,
'.asignar'
,
function
(
e
)
{
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
codigo
=
data
[
"codigoUsuario"
];
var
codigo
=
data
[
"codigoUsuario"
];
...
@@ -1056,7 +1056,7 @@ function asignarUsuarioProyecto() {
...
@@ -1056,7 +1056,7 @@ function asignarUsuarioProyecto() {
}
}
function
verDetalleUsuario
()
{
function
verDetalleUsuario
()
{
$
(
'#tblUsuario
tbody
'
).
on
(
'click'
,
'.verDetalle'
,
function
()
{
$
(
'#tblUsuario'
).
on
(
'click'
,
'.verDetalle'
,
function
()
{
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
table
=
$
(
"#tblUsuario"
).
DataTable
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
data
=
table
.
row
(
$
(
this
).
parents
(
'tr'
)).
data
();
var
codigo
=
data
[
"codigoUsuario"
];
var
codigo
=
data
[
"codigoUsuario"
];
...
...
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