git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C443
This commit is contained in:
parent
c0ede1b5f3
commit
89c69093b7
8 changed files with 82 additions and 52 deletions
|
|
@ -6303,7 +6303,7 @@
|
|||
<Content Include="dist\img\fotter.jpg" />
|
||||
<Content Include="dist\img\gota.png" />
|
||||
<Content Include="dist\img\GotaEstadisticas1.png" />
|
||||
<Content Include="dist\img\GotaNormativa.png" />
|
||||
<Content Include="dist\img\GotaNormativa1.png" />
|
||||
<Content Include="dist\img\GotaProyectos.png" />
|
||||
<Content Include="dist\img\icons.png" />
|
||||
<Content Include="dist\img\imgEst.jpg" />
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ var IdPropuestaNormativa;
|
|||
var IdDocumentoAdjunto;
|
||||
var Promotor;
|
||||
var Estado;
|
||||
var Participa = false;
|
||||
|
||||
|
||||
|
||||
|
|
@ -82,7 +83,7 @@ jQuery(document).ready(function () {
|
|||
};
|
||||
IdPropuestaNormativa = ROT47(IDPropuesta.toString());
|
||||
|
||||
getDataModel();
|
||||
|
||||
ObtenerPropuesta();
|
||||
|
||||
if ($("#txtPromotorProyecto").val() == UsuarioSistema) {
|
||||
|
|
@ -93,7 +94,7 @@ jQuery(document).ready(function () {
|
|||
if (Estado == "3")
|
||||
$('#btnDiscusion').enable();
|
||||
}
|
||||
|
||||
getDataModel();
|
||||
if (EsForo) {
|
||||
if (EsPromotor == false) {
|
||||
|
||||
|
|
@ -216,20 +217,24 @@ this.getDataModel = function () {
|
|||
$("#btnAgregarElemento").unbind("click");
|
||||
$("#btnAgregarElemento").click(function () {
|
||||
|
||||
$("#divRespuestaMatriz").empty();
|
||||
$("#lblComentarioMatriz").text("Comentario");
|
||||
$("#txtAsuntoMatriz").val('');
|
||||
$("#txtComentarioMatriz").val('');
|
||||
$("#txtCapituloMatriz").val('');
|
||||
$("#txtApartadoMatriz").val('');
|
||||
$("#txtTextoOriginal").val('');
|
||||
$("#txtTextoPropuesto").val('');
|
||||
$('#btnVerAdjuntosMatriz').prop("disabled", false);
|
||||
EsRespuesta = false;
|
||||
$('#modalElemento-footer').css("display", "block");
|
||||
$('#modalElemento').modal('show');
|
||||
var tableDocMatriz = $('#tableDocMatriz').DataTable();
|
||||
tableDocMatriz.clear().draw();
|
||||
if (EsPromotor == false && Participa == true || EsPromotor == true) {
|
||||
$("#divRespuestaMatriz").empty();
|
||||
$("#lblComentarioMatriz").text("Comentario");
|
||||
$("#txtAsuntoMatriz").val('');
|
||||
$("#txtComentarioMatriz").val('');
|
||||
$("#txtCapituloMatriz").val('');
|
||||
$("#txtApartadoMatriz").val('');
|
||||
$("#txtTextoOriginal").val('');
|
||||
$("#txtTextoPropuesto").val('');
|
||||
$('#btnVerAdjuntosMatriz').prop("disabled", false);
|
||||
EsRespuesta = false;
|
||||
$('#modalElemento-footer').css("display", "block");
|
||||
$('#modalElemento').modal('show');
|
||||
var tableDocMatriz = $('#tableDocMatriz').DataTable();
|
||||
tableDocMatriz.clear().draw();
|
||||
} else {
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
}
|
||||
});
|
||||
|
||||
$("#btnGuardarComentarioMatriz").unbind("click");
|
||||
|
|
@ -387,6 +392,8 @@ this.CargarFormulario = function (data) {
|
|||
|
||||
//CONVOCADOS
|
||||
CargarConvocados(model.ProyectoNormativo.Convocatoria);
|
||||
|
||||
|
||||
//AREA DE TRABAJO
|
||||
CargarForo();
|
||||
|
||||
|
|
@ -440,15 +447,28 @@ this.CargarConvocados = function (data) {
|
|||
|
||||
if (item.Participante !== true && item.Justificacion == null){
|
||||
participanteConfirmado = replaceAll("[$state_color]", "muted", participanteConfirmado);
|
||||
}
|
||||
if (item.Participante !== true && item.Justificacion !== null)
|
||||
if (UsuarioSistema == item.UsuarioSistema)
|
||||
Participa = false;
|
||||
|
||||
|
||||
}else{
|
||||
if (item.Participante !== true && item.Justificacion !== null){
|
||||
participanteConfirmado = replaceAll("[$state_color]", "danger", participanteConfirmado);
|
||||
else
|
||||
}else {
|
||||
participanteConfirmado = replaceAll("[$state_color]", "success", participanteConfirmado);
|
||||
|
||||
if (UsuarioSistema == item.UsuarioSistema)
|
||||
Participa = true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if (item.DiscusionFocalizada == false) {
|
||||
|
||||
|
||||
|
||||
tableParticipantes.row.add(
|
||||
[participanteConfirmado,
|
||||
item.UsuarioSistema,
|
||||
|
|
@ -705,9 +725,9 @@ this.GuardarTareasPendientes = function () {
|
|||
};
|
||||
|
||||
AjaxPostData(uri, model, false, false, null, null, null);
|
||||
//EnviarCorreo();
|
||||
EnviarCorreo();
|
||||
ActualizarConvocados();
|
||||
//location.reload();
|
||||
|
||||
}
|
||||
|
||||
this.EnviarCorreo = function () {
|
||||
|
|
@ -1566,37 +1586,46 @@ this.AbrirAdjuntos = function (id) {
|
|||
|
||||
|
||||
$('#hiddenSubTipoDocumento').val(id);
|
||||
|
||||
|
||||
switch (id) {
|
||||
case 1:
|
||||
SubTipoproyecto = SubDocumento.Matriz.Descripcion;
|
||||
$('#divEnviarDocAux').show();
|
||||
break;
|
||||
case 2:
|
||||
SubTipoproyecto = SubDocumento.Foro.Descripcion;
|
||||
$('#divEnviarDocAux').show();
|
||||
break;
|
||||
case 3:
|
||||
SubTipoproyecto = SubDocumento.DocumentoAuxiliar.Descripcion;
|
||||
$('#divEnviarDocAux').hide();
|
||||
break;
|
||||
case 4:
|
||||
SubTipoproyecto = SubDocumento.Expediente.Descripcion;
|
||||
$('#divEnviarDocAux').hide();
|
||||
break;
|
||||
case 5:
|
||||
SubTipoproyecto = SubDocumento.Calendario.Descripcion;
|
||||
$('#divEnviarDocAux').hide();
|
||||
break;
|
||||
}
|
||||
if (EsForo) {
|
||||
DescTipoproyecto = Proyectos.Foro.Descripcion;
|
||||
} else {
|
||||
DescTipoproyecto = Proyectos.PropuestaNormativa.Descripcion;
|
||||
}
|
||||
ActualizarUpload();
|
||||
$('#modalDocumentosAuxiliares').modal('show');
|
||||
|
||||
switch (id) {
|
||||
case 1:
|
||||
SubTipoproyecto = SubDocumento.Matriz.Descripcion;
|
||||
$('#divEnviarDocAux').show();
|
||||
$('#modalDocumentosAuxiliares').modal('show');
|
||||
break;
|
||||
case 2:
|
||||
SubTipoproyecto = SubDocumento.Foro.Descripcion;
|
||||
$('#divEnviarDocAux').show();
|
||||
$('#modalDocumentosAuxiliares').modal('show');
|
||||
break;
|
||||
case 3:
|
||||
if (EsPromotor == false && Participa == true || EsPromotor == true) {
|
||||
SubTipoproyecto = SubDocumento.DocumentoAuxiliar.Descripcion;
|
||||
$('#divEnviarDocAux').hide();
|
||||
$('#modalDocumentosAuxiliares').modal('show');
|
||||
} else {
|
||||
toastr.warning(Message_NoGrants, Message_Warning);
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
SubTipoproyecto = SubDocumento.Expediente.Descripcion;
|
||||
$('#divEnviarDocAux').hide();
|
||||
$('#modalDocumentosAuxiliares').modal('show');
|
||||
break;
|
||||
case 5:
|
||||
SubTipoproyecto = SubDocumento.Calendario.Descripcion;
|
||||
$('#divEnviarDocAux').hide();
|
||||
$('#modalDocumentosAuxiliares').modal('show');
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
$('#cboxDocAux').change(function () {
|
||||
|
|
|
|||
|
|
@ -8,10 +8,10 @@
|
|||
<form id="formDetallePropuesta" class="form-horizontal" role="form">
|
||||
|
||||
|
||||
<div title="Click para Cerrar" id="carga"
|
||||
<div id="carga"
|
||||
style="cursor:pointer;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;
|
||||
background-image:url(http://AYA-VSRV-APPTT:2525/dist/img/ajax-loader.gif);background-position:center;background-repeat: no-repeat;background-size:10%;background-color
|
||||
:#ecf0f5;width:100%;color:#fff;text-align:center;height:100%;position:fixed;z-index:6;"></div>
|
||||
:#ecf0f5;width:100%;color:black;text-align:center;height:100%;position:fixed;z-index:6;">Cargando datos, Espere por favor!</div>
|
||||
|
||||
@*<div class="panel-body" id="divDescripcion"> <h3> <i class="fa fa-briefcase"></i> [$Propuesta] </h3> </div>*@
|
||||
<div style="background-color: #fff">
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@
|
|||
|
||||
<li class="treeview">
|
||||
<a href="#" >
|
||||
<img class="img-responsive" style="width:40%;" src="~/dist/img/GotaNormativa.png"> <span>Normativa y </br> Reglamentación Técnica </span><span class="pull-right-container">
|
||||
<img class="img-responsive" style="width:40%;" src="~/dist/img/GotaNormativa1.png"> <span>Normativa y </br> Reglamentación Técnica </span><span class="pull-right-container">
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</span>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -257,6 +257,7 @@ a:focus {
|
|||
}
|
||||
.main-header .sidebar-toggle:before {
|
||||
content: "\f0c9";
|
||||
padding-left:0px;
|
||||
}
|
||||
.main-header .sidebar-toggle:hover {
|
||||
color: #fff;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaNormativa.png
vendored
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaNormativa.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 47 KiB |
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaNormativa1.png
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/GotaNormativa1.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
Loading…
Add table
Reference in a new issue