git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C461
This commit is contained in:
parent
a93ed96221
commit
c215e50a8a
3 changed files with 43 additions and 8 deletions
|
|
@ -630,6 +630,7 @@ namespace AYA.SlnSinort.WCF
|
|||
correo.ASUNTO = plantilla.Subject.Replace("$Asunto", model.ProyectoNormativo.Matriz);
|
||||
body = plantilla.Body.Replace("$Descripcion", model.ProyectoNormativo.DescTipoProyecto).Replace("|", "</br>");
|
||||
correo.CUERPO = body;
|
||||
correo.RUTAADJUNTOS = "";
|
||||
|
||||
foreach (var participantes in model.ListaConvocatoria)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -815,11 +815,11 @@ this.VerificarRolUsuario = function () {
|
|||
|
||||
if ($("#txtUsuario").val() != "") {
|
||||
|
||||
model = {
|
||||
var model1 = {
|
||||
codigo: $('#hiddenUsuario').val()
|
||||
}
|
||||
var uri = CatalogosWCF + '/api/BuscarUsuarioRol';
|
||||
AjaxPostData(uri, model, false, false, AgregarUsuario, null, null);
|
||||
AjaxPostData(uri, model1, false, false, AgregarUsuario, null, null);
|
||||
}
|
||||
else {
|
||||
toastr.warning("Debe seleccionar un usuario", Message_Warning);
|
||||
|
|
@ -827,7 +827,7 @@ this.VerificarRolUsuario = function () {
|
|||
}
|
||||
this.AgregarUsuario = function (data) {
|
||||
|
||||
if (data.pantallas.count > 0) {
|
||||
if (data.pantallas.length > 0) {
|
||||
|
||||
if (!confirm("¿Desea convocar a un nuevo usuario?")) {
|
||||
ENDREQUEST(); return;
|
||||
|
|
@ -888,11 +888,11 @@ this.VerificarRolUsuarioExterno = function () {
|
|||
|
||||
if ($("#txtUsuarioExterno").val() != "") {
|
||||
|
||||
model = {
|
||||
var model1 = {
|
||||
codigo: $('#hiddenUsuario').val()
|
||||
}
|
||||
var uri = CatalogosWCF + '/api/BuscarUsuarioRol';
|
||||
AjaxPostData(uri, model, false, false, AgregarUsuario, null, null);
|
||||
AjaxPostData(uri, model1, false, false, AgregarUsuario, null, null);
|
||||
}
|
||||
else {
|
||||
toastr.warning("Debe seleccionar un usuario", Message_Warning);
|
||||
|
|
@ -901,7 +901,7 @@ this.VerificarRolUsuarioExterno = function () {
|
|||
|
||||
this.AgregarUsuarioExterno = function (data) {
|
||||
|
||||
if (data.pantallas.count > 0) {
|
||||
if (data.pantallas.length > 0) {
|
||||
|
||||
if (!confirm("¿Desea convocar a un nuevo usuario?")) {
|
||||
ENDREQUEST(); return;
|
||||
|
|
@ -1125,6 +1125,38 @@ this.EnviarCorreoCierreProyecto = function () {
|
|||
|
||||
}
|
||||
|
||||
this.EnviarCorreoEventoCalendario = function () {
|
||||
|
||||
var ArrayParticipante = [];
|
||||
|
||||
Convocatoria = {
|
||||
UsuarioSistema: $("#hiddenUsuarioDiscusion").val() != '' ? $("#hiddenUsuarioDiscusion").val() : $("#hiddenUsuarioDiscusionExterno").val()
|
||||
}
|
||||
ArrayParticipante.push(Convocatoria);
|
||||
|
||||
|
||||
var PropuestaNormativa = {
|
||||
NombreProyectoNormativo: $("#txtNombreProyecto").val(),
|
||||
Matriz: url
|
||||
}
|
||||
|
||||
var Plantilla = {
|
||||
NombrePlatilla: 'Correo Discusion Focalizada'
|
||||
}
|
||||
|
||||
var Asunto = {
|
||||
AsuntoDiscusionFocalizada: $("#txtAsuntoDiscusion").val()
|
||||
}
|
||||
var uri = SinortWCF + '/api/EnviarCorreo';
|
||||
var model = {};
|
||||
model.ProyectoNormativo = PropuestaNormativa;
|
||||
model.ListaConvocatoria = ArrayParticipante;
|
||||
model.PlantillaEmail = Plantilla;
|
||||
model.Convocado = Asunto;
|
||||
AjaxPostData(uri, model, false, true, ActualizarConvocados, null, null);
|
||||
|
||||
|
||||
}
|
||||
|
||||
this.GuardarComentario = function () {
|
||||
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@
|
|||
<add key="MaxCountFileLoad" value="3" />
|
||||
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
|
||||
<add key="SinortCatalogosWCF" value="http://localhost/AYA.SlnSinort.WCF/SinortCatalogos.svc" />
|
||||
<add key="FileRepository" value="C:\DocumentosSinort\" />
|
||||
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />
|
||||
<add key="FileRepository" value="\\10.50.1.97\Aplicaciones\SINORT(6075)\Raiz\DocumentosSinort\" />
|
||||
<add key="HttpRepository" value="http://10.50.1.97:6075/DocumentosSinort/" />
|
||||
<!--<add key="FileRepository" value="C:\DocumentosSinort\" />
|
||||
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />-->
|
||||
<add key="FileUploadHandler" value="http://localhost/AYA.SlnSinort/FileUploadHandler" />
|
||||
<add key="RutaLogoSINORT" value="http://localhost/AYA.SlnSinort/dist/img/" />
|
||||
<add key="RutaImagenes" value="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue