Rutas Imagenes y Logo SINORT

git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C258
This commit is contained in:
dmendez 2018-07-13 21:41:09 +00:00
parent 658072698c
commit 522ae8d277

View file

@ -1650,13 +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=" ' + rutaImagenes + 'bannersinort.png" style="margin: 0 auto;" align="middle" width="300"></center></p>' ;
html = html + '<p><center><img src="' + RutaLogoSINORT + '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/>'
@ -1671,8 +1671,8 @@ this.ExportarADoc = function (TipoComentario, filename) {
$.each(listaComentariosMatriz, function (key, item) {
html = html + '<p><img src="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/chatbubble-working.png" style="margin: 0 auto;" height="30" width="30"><font face="verdana" color="green">ASUNTO :' + item.Asunto + '</font></p>'
html = html + '<p><img src="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/chatbubbles.png" style="margin: 0 auto;" height="30" width="30">Comentario : ' + item.Comentario + '</p>';
html = html + '<p><img src="' + RutaImagenes + 'chatbubble-working.png" style="margin: 0 auto;" height="30" width="30"><font face="verdana" color="green">ASUNTO :' + item.Asunto + '</font></p>'
html = html + '<p><img src="' + RutaImagenes + 'chatbubbles.png" style="margin: 0 auto;" height="30" width="30">Comentario : ' + item.Comentario + '</p>';
var listaRespuestasComentariosMatriz = $.grep(model.ProyectoNormativo.ComentariosProyecto, function (data) {
@ -1680,8 +1680,8 @@ this.ExportarADoc = function (TipoComentario, filename) {
});
$.each(listaRespuestasComentariosMatriz, function (lstkey, lstitem) {
html = html + '<p><img src="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/ios7-redo.png" style="margin: 0 auto;" height="30" width="30"><font face="verdana" color="blue"> Respuesta ' + lstitem.Comentario + '</font></p>'
html = html + '<p><img src="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/ios7-contact-outline.png" style="margin: 0 auto;" height="30" width="30">' + lstitem.UsuarioSistema + ' - ' + lstitem.FechaCreacion + '</p>'
html = html + '<p><img src="' + RutaImagenes + 'ios7-redo.png" style="margin: 0 auto;" height="30" width="30"><font face="verdana" color="blue"> Respuesta ' + lstitem.Comentario + '</font></p>'
html = html + '<p><img src="' + RutaImagenes + 'ios7-contact-outline.png" style="margin: 0 auto;" height="30" width="30">' + lstitem.UsuarioSistema + ' - ' + lstitem.FechaCreacion + '</p>'
html = html + '<hr/>'
});