git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C93
This commit is contained in:
parent
eff4d04956
commit
60437b5080
3 changed files with 8 additions and 10 deletions
|
|
@ -39,11 +39,10 @@ $('#tableSitios').on('click', 'button', function () {
|
|||
|
||||
var data = $('#tableSitios').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
var mtzView = data.Vista.split('/')
|
||||
|
||||
url = $("#hiddenHref").val();
|
||||
url = url.replace("View", mtzView[1]);
|
||||
url = url.replace("Controller", mtzView[0]);
|
||||
url = url.replace("View", "DetallePropuesta");
|
||||
url = url.replace("Controller", "PropuestaNormativa");
|
||||
url = url.replace("[$ID]", data.IdProyectoNormativo);
|
||||
|
||||
document.location.href = url;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
Layout = "~/Views/Shared/_Layout.cshtml";
|
||||
}
|
||||
|
||||
<input type="hidden" id="hiddenHref" value="@string.Concat(Url.Action("View", "Controller", null), ViewBag.QueryEncripted)">
|
||||
<input type="hidden" id="hiddenHref" value="@string.Concat(Url.Action("View", "Controller", null), ViewBag.QueryEncripted)?propuesta=[$ID]">
|
||||
|
||||
<form id="formSitios" class="form-horizontal" role="form">
|
||||
|
||||
<div class="panel-body"> <h3> <i class="fa fa-list-ul"></i> Sitios </h3> </div>
|
||||
|
|
@ -25,11 +26,9 @@
|
|||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="ucbtnVista" style=" display:none;">
|
||||
<button type="button" id="btnseleccionar" class="btn btn-default btn-xs">
|
||||
<i class="fa fa-check"></i> Seleccionar
|
||||
<i class="fa fa-search"></i> Mostrar Detalle
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<div class="form-group " id="divNombreProyecto">
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblNombreProyecto">Proyecto</label>
|
||||
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<input name="txtNombreProyecto" class="form-control imput-xs" id="txtNombreProyecto" readonly type="text" style="cursor:not-allowed" />
|
||||
<input name="txtNombreProyecto" class="form-control imput-xs" id="txtNombreProyecto" type="text" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<div class="form-group " id="divPromotorProyecto">
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblPromotorProyecto">Promotor</label>
|
||||
<div class="input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<input name="txtPromotorProyecto" class="form-control imput-xs" id="txtPromotorProyecto" readonly type="text" style="cursor:not-allowed" />
|
||||
<input name="txtPromotorProyecto" class="form-control imput-xs" id="txtPromotorProyecto" type="text" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue