235 lines
12 KiB
Text
235 lines
12 KiB
Text
<%@ Page Title="Inspectores" Language="C#" MasterPageFile="~/formulario.master" AutoEventWireup="true" CodeFile="frwVisitaSolicitud.aspx.cs" Inherits="Forms_Trans_frwVisitaSolicitud" %>
|
|
|
|
|
|
<asp:Content ID="BodyContent" ContentPlaceHolderID="ContenidoFormulario" Runat="Server">
|
|
|
|
<script src="/../../Scripts/jquery-1.10.2.js"></script>
|
|
<script src="/../../Scripts/toastr.js" type="text/javascript"></script>
|
|
<link href="/../../Content/toastr.css" rel="stylesheet" />
|
|
<script src="/../../Scripts/bootstrap.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
function VentanaAbrir() {
|
|
document.getElementById('light').style.display = 'block';
|
|
document.getElementById('fade').style.display = 'block';
|
|
}
|
|
function VentanaCerrar() {
|
|
document.getElementById('light').style.display = 'none';
|
|
document.getElementById('fade').style.display = 'none'
|
|
}
|
|
</script>
|
|
<script type="text/javascript">
|
|
function MensajeError() {
|
|
toastr["error"]("Debe seleccionar el tipo de proyecto para esta solicitud.", "SIGDD");
|
|
toastr.options = {
|
|
"closeButton": true,
|
|
"debug": false,
|
|
"newestOnTop": false,
|
|
"progressBar": false,
|
|
"positionClass": "toast-bottom-full-width",
|
|
"preventDuplicates": false,
|
|
"onclick": null,
|
|
"showDuration": "1300",
|
|
"hideDuration": "1000",
|
|
"timeOut": "10000",
|
|
"extendedTimeOut": "1000",
|
|
"showEasing": "swing",
|
|
"hideEasing": "linear",
|
|
"showMethod": "fadeIn",
|
|
"hideMethod": "fadeOut"
|
|
};
|
|
}
|
|
</script>
|
|
<style type="text/css">
|
|
<style type="text/css">
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-family: Verdana;
|
|
background: -webkit-radial-gradient(center, ellipse cover rgb(250, 252, 251) 0%, rgb(223, 240, 247) 100%);
|
|
}
|
|
.black_overlay{
|
|
display: none;
|
|
position: absolute;
|
|
top: 0%;
|
|
left: 0%;
|
|
width: 100%;
|
|
height: 100%;
|
|
/*background-color: black;*/
|
|
z-index:1;
|
|
-moz-opacity: 0.8;
|
|
opacity:.80;
|
|
filter: alpha(opacity=80);
|
|
}
|
|
.white_content {
|
|
display: none;
|
|
position: absolute;
|
|
top: 10%;
|
|
left: 5%;
|
|
width: 90%;
|
|
height: 80%;
|
|
padding: 16px;
|
|
border: 1px solid #000;
|
|
background-color: white;
|
|
z-index:5;
|
|
overflow: auto;
|
|
}
|
|
|
|
</style>
|
|
|
|
<asp:ScriptManager ID="ScripManager1" EnablePartialRendering="true" runat="server">
|
|
</asp:ScriptManager>
|
|
<asp:UpdatePanel ID="updPanel" runat="server">
|
|
<ContentTemplate>
|
|
<asp:UpdateProgress ID="updProgress" runat="server">
|
|
<ProgressTemplate>
|
|
<div>
|
|
<div class="espera">
|
|
|
|
<asp:Image ID="imgEspera" runat="server" ImageUrl="~/Images/Animados/cargando.gif" Style="position:absolute; top:40%; left:45%;
|
|
Width:80px; Height:80px"/>
|
|
<asp:Label ID="lblEspera" runat="server" Text="Espere... " Style="position:absolute; top:57%; left:46%; Width:50px; Height:50px;
|
|
color:#c8c8c8; Font-Size:medium; font-weight:700"></asp:Label>
|
|
</div>
|
|
</div>
|
|
</ProgressTemplate>
|
|
</asp:UpdateProgress>
|
|
<!-- TITULO -->
|
|
<div id="divTitulo" align="center">
|
|
<legend>Traslado de Expedientes</legend>
|
|
<%--<asp:Label ID="lblTitulo" runat="server" CssClass="lblTitulo" Text="Seleccionar Inspector"/>--%>
|
|
</div>
|
|
<!-- INSTRUCCIONES -->
|
|
<div id="divInstrucciones">
|
|
<%-- <asp:Label ID="lblInstrucciones" runat="server" Text=""/>--%>
|
|
</div>
|
|
<!-- SEPARADOR -->
|
|
<div id="divSeparador1" class="divSeparador">
|
|
</div>
|
|
<div align="center" style="width: 100%">
|
|
<%-- **********************************************************************Datos Superiores ********************************************************************************* --%>
|
|
<div id="divDatosSuperiores" runat="server" visible="false">
|
|
<%--Consultar--%>
|
|
<div >
|
|
<div align="center" id=" " >
|
|
|
|
|
|
|
|
<table id="tblDatosProyecto" style="border-width: medium; border-color: #BFBFBF; text-align:left" border="0" class="table-responsive">
|
|
<tr>
|
|
<td colspan="5"><h4 style="text-align:center; color: #000000;">Número de Solicitud:
|
|
<asp:Label ID="lblNumSolicitud" runat="server" Text="Label"></asp:Label>
|
|
</h4></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
Tipo de Inspección</td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
<asp:DropDownList ID="ddlTipoInspeccion" runat="server" AutoPostBack="true" CssClass="ddlS" OnSelectedIndexChanged="ddlTipoInspeccion_SelectedIndexChanged" />
|
|
</td>
|
|
<td> </td>
|
|
|
|
<td colspan="2">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="5">
|
|
Inspector</td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
<asp:DropDownList ID="ddlInspector" runat="server" OnSelectedIndexChanged="ddlInspector_SelectedIndexChanged" />
|
|
</td>
|
|
<td> </td>
|
|
|
|
<td colspan="2">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5" style="text-align:center">
|
|
<asp:Button ID="btnAgregaInsAlc" runat="server" OnClick="btnAgregarProyecto_Click" Text="Agregar" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5" style="text-align:center">
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<asp:GridView ID="grvListaVisitaSolicitud" runat="server" Width="50%" CellPadding="2" PageSize="5" GridLines="None" AutoGenerateColumns="False" AllowPaging="True" OnRowCommand="grvListaVisitaSolicitud_RowCommand" Font-Names="Verdana" Font-Size="16px"> <RowStyle BackColor="#EFF3FB" VerticalAlign="Middle" />
|
|
<AlternatingRowStyle BackColor="White" VerticalAlign="Middle" />
|
|
<PagerStyle CssClass="gridViewPaginacion" ForeColor="#44608c" HorizontalAlign="Center" />
|
|
<HeaderStyle Font-Bold="True" ForeColor="White" CssClass="gridViewHeader" />
|
|
<PagerSettings PageButtonCount="25" />
|
|
<Columns>
|
|
<asp:ButtonField ImageUrl="~/Images/MiniBotones/btnRemover.png"
|
|
ButtonType="Image" CommandName="borrar"></asp:ButtonField>
|
|
<asp:BoundField DataField="PKUSUARIOXDEPENDENCIA" HeaderText="ID" SortExpression="PKUSUARIOXDEPENDENCIA" />
|
|
<asp:BoundField DataField="NOMBRECOMPLETO" HeaderText="Inspector" SortExpression="NOMBRECOMPLETO" Visible="true" >
|
|
|
|
|
|
</asp:BoundField>
|
|
<asp:BoundField DataField="TIPOTIPOINSPECCION" HeaderText="Tipo de inspección" SortExpression="TIPOTIPOINSPECCION" />
|
|
<asp:BoundField DataField="FECHAENTREGADOVISITASOLICITUD" HeaderText="Fecha entregado" SortExpression="FECHAENTREGADOVISITASOLICITUD" DataFormatString="{0:d}" />
|
|
<asp:BoundField DataField="FECHARESUELTOVISITASOLICITUD" HeaderText="Fecha resuelto" SortExpression="FECHARESUELTOVISITASOLICITUD" DataFormatString="{0:d}" />
|
|
<%-- <asp:BoundField DataField="UNIDADMEDIDAPROYECTO" HeaderText="Unidad de medida" SortExpression="UNIDADMEDIDAPROYECTO" />--%>
|
|
</Columns>
|
|
|
|
</asp:GridView>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<br />
|
|
|
|
|
|
<%--Listado de Datos--%>
|
|
|
|
<%-- <td class="tabla" id="tdLista" runat="server" align="center">--%>
|
|
<div id="tdLista" runat="server" class="tabla">
|
|
|
|
|
|
</div>
|
|
|
|
<%--Botonera Superior--%>
|
|
|
|
<div id="tdBotoneraSuperior" runat="server" style="text-align:center" class="tabla">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</asp:Content>
|
|
|