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 {
|
||||
ObtenerFichaTecnicaAlerta();
|
||||
ObtenerFicha();
|
||||
if (UsuarioAlerta) {
|
||||
$('#btnDesactivarAlerta').show();
|
||||
}
|
||||
else {
|
||||
$('#btnAlerta').show();
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
CargarEstado();
|
||||
|
|
@ -805,8 +798,20 @@ this.CargarFormulario = function (data) {
|
|||
}
|
||||
|
||||
if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 8) {
|
||||
if (ValidarPermisos('Administrador Funcional').length <= 0)
|
||||
DeshabilitarCampos();
|
||||
else
|
||||
{
|
||||
$('#panelBotones').show();
|
||||
$('#divGuMo').show();
|
||||
if (UsuarioAlerta) {
|
||||
$('#btnDesactivarAlerta').show();
|
||||
}
|
||||
else {
|
||||
$('#btnAlerta').show();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (data.FichaTecnica != null && data.FichaTecnica.IdEstado == 10) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue