git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C246
This commit is contained in:
parent
14b684f1dd
commit
e8887fa358
1 changed files with 19 additions and 16 deletions
|
|
@ -81,6 +81,22 @@ jQuery(document).ready(function () {
|
|||
EsPromotor = true;
|
||||
}
|
||||
|
||||
if (EsPromotor == false) {
|
||||
|
||||
if (ValidarPermisos('Ingreso y actualización de área de proyecto').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) {
|
||||
$("#tabs").tabs({
|
||||
disabled: [2]
|
||||
});
|
||||
}
|
||||
|
||||
if (ValidarPermisos('Accesar expediente de foro').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) {
|
||||
$("#tabs").tabs({
|
||||
disabled: [3]
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
|
@ -183,21 +199,6 @@ this.getDataModel = function () {
|
|||
$('#btnModificar').disable();
|
||||
|
||||
|
||||
if (EsPromotor == false) {
|
||||
|
||||
if (ValidarPermisos('Ingreso y actualización de área de proyecto').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) {
|
||||
$("#tabs").tabs({
|
||||
disabled: [2]
|
||||
});
|
||||
}
|
||||
|
||||
if (ValidarPermisos('Accesar expediente de foro').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) {
|
||||
$("#tabs").tabs({
|
||||
disabled: [3]
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
CargarUsuarios();
|
||||
}
|
||||
|
|
@ -1649,11 +1650,13 @@ this.Export2Doc = function (element, filename) {
|
|||
|
||||
this.ExportarADoc = function (TipoComentario, filename) {
|
||||
|
||||
var rutaImagenes = 'http://localhost/AYA.SlnSinort/dist/img/';
|
||||
|
||||
var preHtml = "<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:w='urn:schemas-microsoft-com:office:word' xmlns='http://www.w3.org/TR/REC-html40'><head><meta charset='utf-8'><title>SINORT</title></head><body>";
|
||||
var postHtml = "</body></html>";
|
||||
var html = preHtml;
|
||||
|
||||
html = html + '<p><center><img src="http://localhost/AYA.SlnSinort/dist/img/bannersinort.png" style="margin: 0 auto;" align="middle" width="300"></center></p>' ;
|
||||
html = html + '<p><center><img src=" ' + rutaImagenes + 'bannersinort.png" style="margin: 0 auto;" align="middle" width="300"></center></p>' ;
|
||||
html = html + '<br/>'
|
||||
html = html + '<center><h1>SISTEMA DE NORMATIVA Y REGULACION TECNICA DEL AyA</h1></center>'
|
||||
html = html + '<br/>'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue