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) {
|
$.each(data, function (key, item) {
|
||||||
|
|
||||||
|
|
||||||
var estado = item[1] == 0 ? true : false
|
if (item[1] == 0) {
|
||||||
|
RolesPantallas = {
|
||||||
|
|
||||||
RolesPantallas = {
|
IdRolesPantallas: item[1],
|
||||||
|
IdRol: IdRoles,
|
||||||
IdRolesPantallas: item[1],
|
IdPantalla: item[2],
|
||||||
IdRol: IdRoles,
|
Estado: true
|
||||||
IdPantalla: item[2],
|
|
||||||
Estado: estado
|
|
||||||
|
|
||||||
|
}
|
||||||
|
ArrayRolesOpciones.push(RolesPantallas);
|
||||||
}
|
}
|
||||||
ArrayRolesOpciones.push(RolesPantallas);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var uri = CatalogosWCF + '/api/InsertarActualizarRolesPantallas';
|
var uri = CatalogosWCF + '/api/InsertarActualizarRolesPantallas';
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue