git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C438
This commit is contained in:
parent
214018fdda
commit
8861c216b7
24 changed files with 97 additions and 67 deletions
|
|
@ -492,7 +492,8 @@ namespace AYA.SlnSinort.WCF
|
||||||
{
|
{
|
||||||
catalogo.codigo = participantes.UsuarioSistema;
|
catalogo.codigo = participantes.UsuarioSistema;
|
||||||
usuario = UsuarioDAL.BuscarUsuario(catalogo);
|
usuario = UsuarioDAL.BuscarUsuario(catalogo);
|
||||||
body = plantilla.Body.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo).Replace("$FechaMaxima", Convert.ToString(model.ProyectoNormativo.FechaMaximaConfirmarParticipacion)).Replace("$Usuario", usuario.NombreUsuario).Replace("|", "</br>");
|
string fechamaxima = Convert.ToDateTime(model.ProyectoNormativo.FechaMaximaConfirmarParticipacion).ToString("dd/MM/yyyy");
|
||||||
|
body = plantilla.Body.Replace("$NombreProyecto", model.ProyectoNormativo.NombreProyectoNormativo).Replace("$FechaMaxima", fechamaxima).Replace("$Usuario", usuario.NombreUsuario).Replace("|", "</br>");
|
||||||
correo.CUERPO = body;
|
correo.CUERPO = body;
|
||||||
email = usuario.EmailUsuario;
|
email = usuario.EmailUsuario;
|
||||||
correo.DESTINATARIOS = email ;
|
correo.DESTINATARIOS = email ;
|
||||||
|
|
@ -555,7 +556,7 @@ namespace AYA.SlnSinort.WCF
|
||||||
catalogo.codigo = tareas.PromotorProyectoNormativo;
|
catalogo.codigo = tareas.PromotorProyectoNormativo;
|
||||||
usuario = UsuarioDAL.BuscarUsuario(catalogo);
|
usuario = UsuarioDAL.BuscarUsuario(catalogo);
|
||||||
email = usuario.EmailUsuario;
|
email = usuario.EmailUsuario;
|
||||||
correo.DESTINATARIOS = email ;
|
correo.DESTINATARIOS =email;
|
||||||
correo.CUERPO = body;
|
correo.CUERPO = body;
|
||||||
|
|
||||||
respuesta = respuestaAyA.enviarCorreo(correo);
|
respuesta = respuestaAyA.enviarCorreo(correo);
|
||||||
|
|
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
|
|
||||||
<connectionStrings>
|
<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=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=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" />
|
<!-- <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>
|
</connectionStrings>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
||||||
|
|
@ -285,9 +285,10 @@ this.GuardarPropuesta = function () {
|
||||||
if (!confirm("Va a ingresar una nueva propuesta normativa .\n ¿Desea continuar?"))
|
if (!confirm("Va a ingresar una nueva propuesta normativa .\n ¿Desea continuar?"))
|
||||||
{ return; }
|
{ return; }
|
||||||
|
|
||||||
|
LoadMessage();
|
||||||
var uri = SinortWCF + '/api/GuardarProyectoNormativo';
|
var uri = SinortWCF + '/api/GuardarProyectoNormativo';
|
||||||
LeerFormulario();
|
LeerFormulario();
|
||||||
AjaxPostData(uri, model, false, true, GuardarConvocadosPropuestaNormativa, null, null);
|
AjaxPostData(uri, model, false, false, GuardarConvocadosPropuestaNormativa, null, null);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -319,7 +320,7 @@ this.GuardarConvocadosPropuestaNormativa = function (data) {
|
||||||
ListaConvocatoria: ArrayParticipantes
|
ListaConvocatoria: ArrayParticipantes
|
||||||
};
|
};
|
||||||
|
|
||||||
AjaxPostData(uri, model, false, true, GuardarTareasPendientes, null, null);
|
AjaxPostData(uri, model, false, false, GuardarTareasPendientes, null, null);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -357,11 +358,11 @@ this.GuardarTareasPendientes = function () {
|
||||||
ListaTareasPendientes: ArrayConvocados
|
ListaTareasPendientes: ArrayConvocados
|
||||||
};
|
};
|
||||||
|
|
||||||
AjaxPostData(uri, model, false, false, null, null, null);
|
AjaxPostData(uri, model, false, true, null, null, null);
|
||||||
|
|
||||||
EnviarCorreo();
|
EnviarCorreo();
|
||||||
LimpiarPropuesta();
|
LimpiarPropuesta();
|
||||||
location.reload();
|
//location.reload();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -394,12 +395,13 @@ this.LimpiarPropuesta = function () {
|
||||||
$("#txtNombreProyecto").val('');
|
$("#txtNombreProyecto").val('');
|
||||||
$('#hiddenEmisor').val('');
|
$('#hiddenEmisor').val('');
|
||||||
$('#hiddenAplicacion').val('');
|
$('#hiddenAplicacion').val('');
|
||||||
$("#txtPromotorProyecto").val('');
|
|
||||||
$("#txtFechaInicio").val('');
|
$("#txtFechaInicio").val('');
|
||||||
$("#txtFechaFinalizacion").val('');
|
$("#txtFechaFinalizacion").val('');
|
||||||
$("#txtFechaMaximaConfirmarParticipacion").val('');
|
$("#txtFechaMaximaConfirmarParticipacion").val('');
|
||||||
$("#txtEmisor").val('');
|
$("#txtEmisor").val('');
|
||||||
$("#txtAplicacion").val('');
|
$("#txtAplicacion").val('');
|
||||||
|
$("#hiddenusuario").val('');
|
||||||
|
$("#txtUsuario").val('');
|
||||||
tableParticipantes = $('#tableParticipantes').DataTable();
|
tableParticipantes = $('#tableParticipantes').DataTable();
|
||||||
tableParticipantes.clear().draw();
|
tableParticipantes.clear().draw();
|
||||||
}
|
}
|
||||||
|
|
@ -436,7 +438,7 @@ this.EnviarCorreo = function () {
|
||||||
model.ProyectoNormativo = PropuestaNormativa;
|
model.ProyectoNormativo = PropuestaNormativa;
|
||||||
model.ListaConvocatoria = ArrayParticipantes;
|
model.ListaConvocatoria = ArrayParticipantes;
|
||||||
model.PlantillaEmail = Plantilla;
|
model.PlantillaEmail = Plantilla;
|
||||||
AjaxPostData(uri, model, false, false, null, null, null);
|
AjaxPostData(uri, model, false, true, null, null, null);
|
||||||
|
|
||||||
ENDREQUEST();
|
ENDREQUEST();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ this.CargarSitios = function () {
|
||||||
|
|
||||||
var uri = CatalogosWCF + '/api/ObtenerSitios';
|
var uri = CatalogosWCF + '/api/ObtenerSitios';
|
||||||
model =
|
model =
|
||||||
AjaxPostData(uri, Item, true, true, CargarTablaSitios, null, null);
|
AjaxPostData(uri, Item, true, false, CargarTablaSitios, null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.CargarTablaSitios = function (data) {
|
this.CargarTablaSitios = function (data) {
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,7 @@ this.CargarTablaTareasPendientes = function (data) {
|
||||||
|
|
||||||
|
|
||||||
var option = $("#ucbtnSeleccionar").html();
|
var option = $("#ucbtnSeleccionar").html();
|
||||||
var option2 = $("#ucbtnVer").html();
|
var option2 = item.TipoTareaPendiente == "Solicitud" ? $("#ucbtnVer").html() : "";
|
||||||
|
|
||||||
tableTareasPendientes.row.add([item.IdTareasPendientes,
|
tableTareasPendientes.row.add([item.IdTareasPendientes,
|
||||||
item.Descripcion,
|
item.Descripcion,
|
||||||
|
|
@ -125,7 +125,7 @@ $('#tableTareasPendientes').on('click', 'button', function () {
|
||||||
InfoIContenidoRelacionado = data[2];
|
InfoIContenidoRelacionado = data[2];
|
||||||
InfoIFechaVencimiento = data[10];
|
InfoIFechaVencimiento = data[10];
|
||||||
InfoITipoTareaPendiente = data[6];
|
InfoITipoTareaPendiente = data[6];
|
||||||
InfoIUsuarioAsignado = "josnunez";
|
InfoIUsuarioAsignado = UsuarioSistema;
|
||||||
InfoIdProyectoNormativo = data[7];
|
InfoIdProyectoNormativo = data[7];
|
||||||
InfoNombreProyectoNormativo = data[8];
|
InfoNombreProyectoNormativo = data[8];
|
||||||
InfoPromotor = data[9];
|
InfoPromotor = data[9];
|
||||||
|
|
@ -140,7 +140,7 @@ $('#tableTareasPendientes').on('click', 'button', function () {
|
||||||
|
|
||||||
$('#modalConvocatoria').modal('show');
|
$('#modalConvocatoria').modal('show');
|
||||||
|
|
||||||
var instrucciones = "Convocatoria de participantes a propuesta normativa iniciado por cuenta del sistema en " + DateFormatNoTime(data[3]) + ". \nComentario :Confirme su participación en el proceso de consulta."
|
var instrucciones = "Convocatoria de participantes a propuesta normativa iniciado por cuenta del sistema en " + DateFormatNoTime(data[10]) + ". \nComentario :Confirme su participación en el proceso de consulta."
|
||||||
|
|
||||||
$('#txtInstrucciones').html(instrucciones);
|
$('#txtInstrucciones').html(instrucciones);
|
||||||
}
|
}
|
||||||
|
|
@ -547,7 +547,7 @@ this.GuardarRespuestaConvocatoria = function () {
|
||||||
var uri = SinortWCF + '/api/InsertarActualizarTareasPendientes';
|
var uri = SinortWCF + '/api/InsertarActualizarTareasPendientes';
|
||||||
|
|
||||||
LeerFormulario();
|
LeerFormulario();
|
||||||
AjaxPostData(uri, model, false, false, ActualizarConvocado, null, null);
|
AjaxPostData(uri, model, false, true, ActualizarConvocado, null, null);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<table id="tableMantenimiento" class="table table-condensed dataTable no-footer">
|
<table id="tableMantenimiento" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-4">Catálogo</th>
|
<th class="col-sm-4">Catálogo</th>
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<br />
|
<br />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
@ -143,8 +143,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<table id="GridRolesOpciones" class="table table-condensed dataTable no-footer">
|
<table id="GridRolesOpciones" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
@ -223,7 +224,7 @@
|
||||||
|
|
||||||
@*---------------------Roles Usuarios---------------------------------------------------------*@
|
@*---------------------Roles Usuarios---------------------------------------------------------*@
|
||||||
<div class="modal fade" id="modalRolesUsuario" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
<div class="modal fade" id="modalRolesUsuario" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" style="display: none;">
|
||||||
<div class="modal-dialog modal-lg" style="width:50%;">
|
<div class="modal-dialog modal-lg" style="max-height:90%;overflow-y: auto;">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<h4><i class="fa fa-bars"></i> Usuarios</h4>
|
<h4><i class="fa fa-bars"></i> Usuarios</h4>
|
||||||
|
|
@ -250,10 +251,11 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<table id="GridRolesUsuarios" class="table table-condensed dataTable no-footer">
|
<table id="GridRolesUsuarios" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th class="col-sm-1"></th>
|
<th class="col-sm-1"></th>
|
||||||
<th class="col-sm-4">Usuario</th>
|
<th class="col-sm-4">Usuario</th>
|
||||||
|
|
@ -282,12 +284,12 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@*<div id="ucItemsHabiliar" style="display:none;">
|
@*<div id="ucItemsHabiliar" style="display:none;">
|
||||||
<button type="button" id="btnhabilitar" class="btn btn-default btn-xs" onclick="javascript: HabilitarUsuario([$CodItem], [$value])">
|
<button type="button" id="btnhabilitar" class="btn btn-default btn-xs" onclick="javascript: HabilitarUsuario([$CodItem], [$value])">
|
||||||
<i class=" fa [$icon]"></i> [$opcion]
|
<i class=" fa [$icon]"></i> [$opcion]
|
||||||
</button>
|
</button>
|
||||||
</div>*@
|
</div>*@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table id="TableItems" class="display">
|
<table id="TableItems" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,9 @@
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<table id="tableUsuario" class="table table-condensed dataTable no-footer">
|
<table id="tableUsuario" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-4">Usuario</th>
|
<th class="col-sm-4">Usuario</th>
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<table id="tableSitios" class="table table-condensed dataTable no-footer">
|
|
||||||
|
<table id="tableSitios" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-1">ID</th>
|
<th class="col-sm-1">ID</th>
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,8 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<table id="tableTareasPendientes" class="table table-condensed dataTable no-footer">
|
|
||||||
|
<table id="tableTareasPendientes" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -117,7 +117,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="tableParticipantes" class="display">
|
<table id="tableParticipantes" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Participante</th>
|
<th>Participante</th>
|
||||||
|
|
@ -184,7 +184,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divMatrizCambios">
|
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divMatrizCambios">
|
||||||
<table id="tableMatriz" class="display">
|
<table id="tableMatriz" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-6">Asunto</th>
|
<th class="col-sm-6">Asunto</th>
|
||||||
|
|
@ -204,29 +204,32 @@
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h4 class="panel-title">
|
<h4 class="panel-title">
|
||||||
<i class="fa fa fa-folder-open-o"></i> <label id="lbTituloAccion">Documentos Auxliares</label>
|
<i class="fa fa fa-folder-open-o"></i> <label id="lbTituloAccion">Documentos Auxliares</label>
|
||||||
|
<button type="button" id="btnVerAdjuntos" class="btn btn-success btn-medium btn-margin-catalogo" onclick="javascript: AbrirAdjuntos(3)">
|
||||||
|
<i class=" fa fa-paperclip"></i>
|
||||||
|
</button>
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
||||||
<div class="form-group " id="divAbrirDocAux">
|
@*<div class="form-group " id="divAbrirDocAux">
|
||||||
<label class="col-sm-4 control-label ControlsForms">Adjuntar</label>
|
<label class="col-sm-4 control-label ControlsForms">Adjuntar</label>
|
||||||
<div class="col-sm-8">
|
<div class="col-sm-8">
|
||||||
<button type="button" id="btnVerAdjuntos" class="btn btn-success btn-medium btn-margin-catalogo" onclick="javascript: AbrirAdjuntos(3)">
|
<button type="button" id="btnVerAdjuntos" class="btn btn-success btn-medium btn-margin-catalogo" onclick="javascript: AbrirAdjuntos(3)">
|
||||||
<i class=" fa fa-paperclip"></i>
|
<i class=" fa fa-paperclip"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>*@
|
||||||
|
|
||||||
|
|
||||||
<div class="col-sm-12" style="height:200px; overflow-y:auto;">
|
<div class="col-sm-12" style="height:200px; overflow-y:auto;">
|
||||||
<table id="tableDocAuxiliares" class="display">
|
<table id="tableDocAuxiliares" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th class="col-sm-4">Nombre</th>
|
<th class="col-sm-4">Nombre</th>
|
||||||
<th class="col-sm-4">Creado por</th>
|
<th class="col-sm-6">Creado por</th>
|
||||||
<th class="col-sm-1"></th>
|
<th></th>
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
@ -256,7 +259,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divComentarios">
|
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divComentarios">
|
||||||
<table id="tableForo" class="display">
|
<table id="tableForo" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-6">Asunto</th>
|
<th class="col-sm-6">Asunto</th>
|
||||||
|
|
@ -316,14 +319,15 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<table id="tableDocExpediente" class="display">
|
<table id="tableDocExpediente" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
<th class="col-sm-1"></th>
|
||||||
<th class="col-sm-4">Nombre</th>
|
<th class="col-sm-4">Nombre</th>
|
||||||
<th class="col-sm-4">Creado por</th>
|
<th class="col-sm-4">Creado por</th>
|
||||||
<th class="col-sm-1"></th>
|
<th class="col-sm-1"></th>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|
@ -367,13 +371,13 @@
|
||||||
|
|
||||||
<div id="ucOpcionesDocumentos" style="display:none;">
|
<div id="ucOpcionesDocumentos" style="display:none;">
|
||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-group" >
|
||||||
<button type="button" class="btn btn-info dropdown-toggle btn-xs" data-toggle="dropdown">
|
<button type="button" class="btn btn-info dropdown-toggle btn-xs" data-toggle="dropdown">
|
||||||
<i class="fa fa-wrench"></i> Opciones <span class="caret"></span>
|
<i class="fa fa-wrench"></i> <span class="caret"></span>
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu" role="menu">
|
<ul class="dropdown-menu" role="menu" >
|
||||||
<li><a href="javascript: AbrirDocAdjuntos([$ruta]);"><i class="fa [$icon]"></i> Abrir</a></li>
|
<li ><a href="javascript: AbrirDocAdjuntos([$ruta]);"><i class="fa [$icon]"></i></a></li>
|
||||||
<li><a href="javascript: RemoverAdjunto([$nombre],[$id]);"><i class="fa fa-trash"></i> Eliminar</a></li>
|
<li ><a href="javascript: RemoverAdjunto([$nombre],[$id]);"><i class="fa fa-trash"></i></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -381,11 +385,28 @@
|
||||||
|
|
||||||
<div id="ucAbrirDocumento" style="display:none;">
|
<div id="ucAbrirDocumento" style="display:none;">
|
||||||
<span>
|
<span>
|
||||||
<button type="button" id="btnAbrirAdjuntos" class="btn btn-default btn-xs">
|
<button type="button" id="btnAbrirAdjuntos" class="btn btn-default btn-xs" onclick="AbrirDocAdjuntos([$ruta])">
|
||||||
<i class="fa [$icon]"></i>
|
<i class="fa [$icon]"></i>
|
||||||
</button>
|
</button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div id="ucEliminarDocumento" style="display:none;">
|
||||||
|
<span>
|
||||||
|
<button type="button" id="btnAbrirAdjuntos" class="btn btn-default btn-xs" onclick="RemoverAdjunto([$nombre], [$id])">
|
||||||
|
<i class="fa fa-trash"></i>
|
||||||
|
</button>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
@*<div id="ucAbrirDocumento" style="display:none;">
|
||||||
|
<span>
|
||||||
|
<button type="button" id="btnAbrirAdjuntos" class="btn btn-default btn-xs">
|
||||||
|
<i class="fa [$icon]"></i>
|
||||||
|
</button>
|
||||||
|
</span>
|
||||||
|
</div>*@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="ucBtnSeleccionarCatalogo" style="display:none;">
|
<div id="ucBtnSeleccionarCatalogo" style="display:none;">
|
||||||
<button type="button" id="btnSeleccionarCatalogo" class="btn btn-default btn-xs">
|
<button type="button" id="btnSeleccionarCatalogo" class="btn btn-default btn-xs">
|
||||||
|
|
@ -496,7 +517,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@*---------------------Comentario ---------------------------------------------------------*@
|
@*---------------------Comentario ---------------------------------------------------------*@
|
||||||
<div class="form-group " id="divComentarioDocAux">
|
<div class="form-group " id="divComentarioDocAux" style="display:none">
|
||||||
<label class="col-sm-4 control-label ControlsForms" id="lblComentarioDocAux">Comentario</label>
|
<label class="col-sm-4 control-label ControlsForms" id="lblComentarioDocAux">Comentario</label>
|
||||||
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||||
<textarea name="txtComentarioDocAux" rows="5" cols="39" id="txtComentarioDocAux" style="resize: none"></textarea>
|
<textarea name="txtComentarioDocAux" rows="5" cols="39" id="txtComentarioDocAux" style="resize: none"></textarea>
|
||||||
|
|
@ -612,7 +633,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<table id="tableDocForo" class="display">
|
<table id="tableDocForo" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
@ -749,7 +770,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<table id="tableDocMatriz" class="display">
|
<table id="tableDocMatriz" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
@ -863,7 +884,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<table id="tableDocEvento" class="display">
|
<table id="tableDocEvento" class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
|
|
||||||
|
|
@ -143,10 +143,10 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<table id="tableParticipantes" class="table table-condensed dataTable no-footer">
|
<table id="tableParticipantes" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-4">Usuario</th>
|
<th class="col-sm-4">Usuario</th>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<table id="tableSitios" class="table table-condensed dataTable no-footer">
|
|
||||||
|
<table id="tableSitios" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-1">ID</th>
|
<th class="col-sm-1">ID</th>
|
||||||
|
|
|
||||||
|
|
@ -256,10 +256,10 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<table id="tableParticipantes" class="table table-condensed dataTable no-footer">
|
<table id="tableParticipantes" class="table table-striped dataTable no-footer">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="col-sm-4">Usuario</th>
|
<th class="col-sm-4">Usuario</th>
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@
|
||||||
<add key="HttpRepository" value="http://AYA-VSRV-APPTT:2525/DocumentosSINORT/" />
|
<add key="HttpRepository" value="http://AYA-VSRV-APPTT:2525/DocumentosSINORT/" />
|
||||||
<add key="FileUploadHandler" value="http://AYA-VSRV-APPTT:2525/FileUploadHandler" />
|
<add key="FileUploadHandler" value="http://AYA-VSRV-APPTT:2525/FileUploadHandler" />
|
||||||
<add key="RutaLogoSINORT" value="http://AYA-VSRV-APPTT:2525/dist/img/" />
|
<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="RutaImagenes" value="http://AYA-VSRV-APPTT:2525/bower_components/Ionicons/png/512/" /> -->
|
||||||
|
|
||||||
<add key="MaxSizeFileLoadKB" value="5120" />
|
<add key="MaxSizeFileLoadKB" value="5120" />
|
||||||
<add key="MaxCountFileLoad" value="3" />
|
<add key="MaxCountFileLoad" value="3" />
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />
|
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />
|
||||||
<add key="FileUploadHandler" value="http://localhost/AYA.SlnSinort/FileUploadHandler" />
|
<add key="FileUploadHandler" value="http://localhost/AYA.SlnSinort/FileUploadHandler" />
|
||||||
<add key="RutaLogoSINORT" value="http://localhost/AYA.SlnSinort/dist/img/" />
|
<add key="RutaLogoSINORT" value="http://localhost/AYA.SlnSinort/dist/img/" />
|
||||||
<add key="RutaImagenes" value="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/" />
|
<add key="RutaImagenes" value="http://localhost/AYA.SlnSinort/bower_components/Ionicons/png/512/" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<system.web>
|
<system.web>
|
||||||
<sessionState timeout="20">
|
<sessionState timeout="20">
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@ namespace AYA.SlnSinortModel.DAL.Sinort
|
||||||
{
|
{
|
||||||
model.Convocado.UsuarioModificacion = model.UserName;
|
model.Convocado.UsuarioModificacion = model.UserName;
|
||||||
model.Convocado.FechaModificacion = DateTime.Now;
|
model.Convocado.FechaModificacion = DateTime.Now;
|
||||||
|
model.Convocado.FechaCreacion = Actual.FechaCreacion;
|
||||||
Conn.Entry(Actual).State = System.Data.Entity.EntityState.Detached;
|
Conn.Entry(Actual).State = System.Data.Entity.EntityState.Detached;
|
||||||
Conn.Convocatoria.Attach(model.Convocado);
|
Conn.Convocatoria.Attach(model.Convocado);
|
||||||
Conn.Entry(model.Convocado).State = System.Data.Entity.EntityState.Modified;
|
Conn.Entry(model.Convocado).State = System.Data.Entity.EntityState.Modified;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue