This commit is contained in:
jnunez 2018-08-06 15:39:03 +00:00
parent c342897a39
commit f8778a1b98
9 changed files with 24 additions and 19 deletions

View file

@ -11,7 +11,7 @@ editando este archivo MSBuild. Para conocer más acerca de esto, visite http://g
<SiteUrlToLaunchAfterPublish />
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<ExcludeApp_Data>False</ExcludeApp_Data>
<publishUrl>C:\Servicios\SinortWCF</publishUrl>
<publishUrl>C:\Instaladores SINORT\WCF SINORT</publishUrl>
<DeleteExistingFiles>False</DeleteExistingFiles>
</PropertyGroup>
</Project>

View file

@ -405,7 +405,7 @@ namespace AYA.SlnSinort.WCF
catalogo.codigo = tareas.PromotorProyectoNormativo;
usuario = UsuarioDAL.BuscarUsuario(catalogo);
email = usuario.EmailUsuario;
correo.DESTINATARIOS = "jnunez@atesacr.com"; ;
correo.DESTINATARIOS = "jnunez@atesacr.com";
correo.CUERPO = body;
respuesta = respuestaAyA.enviarCorreo(correo);

View file

@ -94,12 +94,6 @@
</system.serviceModel>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
<modules runAllManagedModulesForAllRequests="true"/>
<!--
@ -112,5 +106,6 @@
<connectionStrings>
<add name="Contex" connectionString="data source=192.168.1.37;initial catalog=SinortAyA;persist security info=True;user id=sinort;password=sinort2018;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
<!--<add name="Contex" connectionString="data source=10.50.1.98;initial catalog=SINORT;persist security info=True;user id=usersinort;password=usersinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
<!--<add name="Contex" connectionString="data source=AYA-VSRV-BDTT;initial catalog=SINORT;persist security info=True;user id=usersinort;password=us3rsinort;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />-->
</connectionStrings>
</configuration>

View file

@ -16,7 +16,7 @@ namespace AYA.SlnSinort
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Home", action = "Index", id = UrlParameter.Optional }
defaults: new { controller = "Login", action = "Login", id = UrlParameter.Optional }
);
}

View file

@ -6,7 +6,7 @@ var RepositorioLocal = $("#hiddenRepositorioLocal").val();
var UsuarioSistema = $("#hiddenUsuarioSistema").val();
var NombreUsuario = $("#hiddenNombreUsuario").val();
var server = window.location.protocol + "//" + window.location.hostname + "/" + (window.location.pathname.split('/')[1]) + "/";
var server = window.location.protocol + "//" + "localhost" + "/" + (window.location.pathname.split('/')[1]) + "/";
var SinorLoginWCF = "http://localhost/AYA.SlnSinort.WCF/Sinort.svc";
var string_empty = "";
var Atesa = {};

View file

@ -86,7 +86,7 @@
<ul class="dropdown-menu">
<li class="header" id="numGotitasPendientesHeader">[$0]</li>
<li class="footer"><a href="@Url.Action("GotitasPendientes", "Home")">Ver gotitas normativas </a></li>
<li class="footer"><a href=#>Ver gotitas normativas </a></li>
</ul>
</li>

View file

@ -29,7 +29,17 @@
<add key="HttpRepository" value="http://10.50.1.97:6075/DocumentosSinort/" />
<add key="FileUploadHandler" value="http://10.50.1.97:6075/FileUploadHandler" />
<add key="RutaLogoSINORT" value="http://10.50.1.97:6075/dist/img/" />
<add key="RutaImagenes" value="http://10.50.1.97:6075/bower_components/Ionicons/png/512/" />-->
<add key="RutaImagenes" value="http://10.50.1.97:6075/bower_components/Ionicons/png/512/" />
<add key="SinortWCF" value="http://aya-vsrv-wstt:2005/Sinort.svc" />
<add key="SinortCatalogosWCF" value="http://aya-vsrv-wstt:2005/SinortCatalogos.svc" />
<add key="FileRepository" value="C:\DocumentosSinort\" />
<add key="HttpRepository" value="http://AYA-VSRV-APPTT:2525/DocumentosSINORT/" />
<add key="FileUploadHandler" value="http://AYA-VSRV-APPTT:2525/FileUploadHandler" />
<add key="RutaLogoSINORT" value="http://AYA-VSRV-APPTT:2525/dist/img/" />
<add key="RutaImagenes" value="http://AYA-VSRV-APPTT:2525/bower_components/Ionicons/png/512/" />
-->
<add key="MaxSizeFileLoadKB" value="5120" />

View file

@ -27,7 +27,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
var opciones = (from p in Conn.Pantallas
join rp in Conn.RolesPantallas on p.IdPantalla equals rp.IdPantalla
join ru in Conn.RolesUsuario on rp.IdRol equals ru.IdRol
where ru.UsuarioSistema == "josnunez" && rp.Estado == true
where ru.UsuarioSistema == model.UserName && rp.Estado == true
select p).ToList();
pantallas = opciones.ToList();