FichaTecnica Editar Administrado Funcional
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C478
This commit is contained in:
parent
2c19648292
commit
4b53dff112
1 changed files with 16 additions and 11 deletions
|
|
@ -40,13 +40,6 @@ jQuery(document).ready(function () {
|
||||||
} else {
|
} else {
|
||||||
ObtenerFichaTecnicaAlerta();
|
ObtenerFichaTecnicaAlerta();
|
||||||
ObtenerFicha();
|
ObtenerFicha();
|
||||||
if (UsuarioAlerta) {
|
|
||||||
$('#btnDesactivarAlerta').show();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$('#btnAlerta').show();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
CargarEstado();
|
CargarEstado();
|
||||||
|
|
@ -805,8 +798,20 @@ this.CargarFormulario = function (data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 8) {
|
if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 8) {
|
||||||
$('#panelBotones').show();
|
if (ValidarPermisos('Administrador Funcional').length <= 0)
|
||||||
$('#divGuMo').show();
|
DeshabilitarCampos();
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$('#panelBotones').show();
|
||||||
|
$('#divGuMo').show();
|
||||||
|
if (UsuarioAlerta) {
|
||||||
|
$('#btnDesactivarAlerta').show();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$('#btnAlerta').show();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 10) {
|
if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 10) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue