git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C178
This commit is contained in:
parent
daff486e3d
commit
66fad9b3d3
1 changed files with 9 additions and 8 deletions
|
|
@ -317,17 +317,18 @@ this.GuardarRolesPantallas = function () {
|
|||
$.each(data, function (key, item) {
|
||||
|
||||
|
||||
var estado = item[1] == 0 ? true : false
|
||||
|
||||
RolesPantallas = {
|
||||
if (item[1] == 0) {
|
||||
RolesPantallas = {
|
||||
|
||||
IdRolesPantallas: item[1],
|
||||
IdRol: IdRoles,
|
||||
IdPantalla: item[2],
|
||||
Estado: estado
|
||||
IdRolesPantallas: item[1],
|
||||
IdRol: IdRoles,
|
||||
IdPantalla: item[2],
|
||||
Estado: true
|
||||
|
||||
}
|
||||
ArrayRolesOpciones.push(RolesPantallas);
|
||||
}
|
||||
ArrayRolesOpciones.push(RolesPantallas);
|
||||
|
||||
});
|
||||
|
||||
var uri = CatalogosWCF + '/api/InsertarActualizarRolesPantallas';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue