1232 lines
70 KiB
Text
1232 lines
70 KiB
Text
<%@ Page Title="Criterio Técnico Agua Potable" Language="C#" MasterPageFile="~/formulario.master" AutoEventWireup="true" CodeFile="frwCriterioPA.aspx.cs" Inherits="Forms_Trans_frwCriterioPA" %>
|
|
|
|
|
|
<asp:Content ID="BodyContent" ContentPlaceHolderID="ContenidoFormulario" runat="Server">
|
|
<meta charset="utf-8" />
|
|
<script src="../../Scripts/jquery-ui-1.11.4.js"></script>
|
|
<script src="/../../Scripts/toastr.js" type="text/javascript"></script>
|
|
<link href="/../../Content/toastr.css" rel="stylesheet" />
|
|
<script src="/../../Scripts/bootstrap.js"></script>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link href="../../Content/themes/ui-lightness/jquery-ui.css" rel="stylesheet" />
|
|
<script src="../../Scripts/WebForms/General/cuwBusquedaList.js"></script>
|
|
|
|
|
|
<script src="/../../Scripts/gmaps.js"></script>
|
|
<%--firma digital--%>
|
|
<link href="../../hfda/HermesFDA.css" rel="stylesheet" />
|
|
<script src="../../hfda/msrcrypto.min.js"></script>
|
|
<script src="../../hfda/HermesFDAParams.js"></script>
|
|
<script src="../../hfda/HermesMsg.js"></script>
|
|
<script src="../../hfda/HermesFDARemote.js"></script>
|
|
<script src="../../hfda/HermesFDA.js"></script>
|
|
<script src="../../hfda/HermesFDAChrome.js"></script>
|
|
<script src="../../Scripts/dhtml.js"></script>
|
|
<script src="../../Scripts/debug.js"></script>
|
|
<script src="../../Scripts/common.js"></script>
|
|
|
|
<script language="javascript" type="text/javascript">
|
|
var urlFirmadorWeb = "<%=UrlFirmadorWeb%>";
|
|
function AbrirFirmadorWeb() {
|
|
var ventanaFirmador = window.open('', "_blank",
|
|
"height=650,width=850,location=0,menubar=0,titlebar=0,toolbar=0", false);
|
|
ventanaFirmador.location = urlFirmadorWeb;
|
|
ventanaFirmador.focus();
|
|
var timer = setInterval(
|
|
function () {
|
|
if (ventanaFirmador.closed) {
|
|
clearInterval(timer);
|
|
window.location.reload(true);
|
|
var boton = document.getElementById('<%=btnGuardarPDF.ClientID%>');
|
|
|
|
boton.click();
|
|
}
|
|
},
|
|
500);
|
|
}
|
|
|
|
|
|
|
|
|
|
function abrirPDF(strRuta) {
|
|
//alert(strRuta);
|
|
//window.location = strRuta;
|
|
window.open(strRuta, '', '_blank', 'width=500,height=245,left=350,top=400');
|
|
}
|
|
</script>
|
|
<%--fin firma digital--%>
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var mapa = "";
|
|
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'
|
|
}
|
|
function VentanaAbrirCorreo() {
|
|
document.getElementById('lightCorreo').style.display = 'block';
|
|
document.getElementById('fadeCorreo').style.display = 'block';
|
|
}
|
|
function VentanaCerrarCorreo() {
|
|
document.getElementById('lightCorreo').style.display = 'none';
|
|
document.getElementById('fadeCorreo').style.display = 'none';
|
|
inicializaTab('grid');
|
|
}
|
|
function VentanaCerrarFormularioAP() {
|
|
document.getElementById('lightFormularioAP').style.display = 'none';
|
|
|
|
}
|
|
function inicializaTab(varTab, varMensaje, varDetalleMensaje) {
|
|
|
|
|
|
|
|
$('.nav-tabs a[href="#' + varTab + '"]').tab('show');
|
|
$('#search').on('click', function () {
|
|
// Obtenemos la dirección y la asignamos a una variable
|
|
var address = $('#address').val();
|
|
if (address != '') {
|
|
// Creamos el Objeto Geocoder
|
|
var geocoder = new google.maps.Geocoder();
|
|
|
|
// Hacemos la petición indicando la dirección e invocamos la función
|
|
// geocodeResult enviando todo el resultado obtenido
|
|
geocoder.geocode({ 'address': address }, geocodeResult);
|
|
document.getElementById('mostrarMapa').style.display = 'block';
|
|
}
|
|
});
|
|
|
|
if (varMensaje == 'Error') {
|
|
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"
|
|
};
|
|
|
|
|
|
}
|
|
|
|
if (varMensaje == 'Alerta') {
|
|
toastr["warning"]("Se deben completar los datos del formulario.", "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"
|
|
};
|
|
|
|
}
|
|
if (varMensaje == 'Mensaje') {
|
|
toastr["warning"]("Se deben completar los datos del formulario. El campo pendiente es " + varDetalleMensaje + ".", "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"
|
|
};
|
|
if (varDetalleMensaje == 'Latitud')
|
|
$('#address').focus();
|
|
if (varDetalleMensaje == 'Longitud')
|
|
$('#address').focus();
|
|
}
|
|
if (varMensaje == 'Exitoso') {
|
|
toastr["succes"]("Guardado exitoso.", "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"
|
|
};
|
|
|
|
}
|
|
if (varMensaje == 'revision') {
|
|
toastr["warning"]("El formulario actual tiene una revisión.", "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"
|
|
};
|
|
|
|
}
|
|
if (varMensaje == 'existe') {
|
|
toastr["warning"]("Ya existe un formulario asignado no se puede agregar uno nuevo.", "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"
|
|
};
|
|
|
|
}
|
|
if ($("#ContenidoFormulario_txtLatitud").val() != '' && $("#ContenidoFormulario_txtLongitud").val() != '') {
|
|
myMap($("#ContenidoFormulario_txtLatitud").val(), $("#ContenidoFormulario_txtLongitud").val());
|
|
}
|
|
|
|
if (varTab == 'formulario') {
|
|
window.parent.document.getElementById('MainContent_cuwVentanaEmergenteObservaciones2_btnAbrir').style.display = 'none';
|
|
}
|
|
if (varTab == 'grid') {
|
|
window.parent.document.getElementById('MainContent_cuwVentanaEmergenteObservaciones2_btnAbrir').style.display = 'block';
|
|
}
|
|
}
|
|
function MensajeInformativo(mensaje) {
|
|
toastr["warning"](mensaje, "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"
|
|
};
|
|
}
|
|
|
|
|
|
function CheckPostBack() {
|
|
if (document.getElementById('postbackControl').value == 'True') {
|
|
console.log("QNWIOENQIOWEN");
|
|
}
|
|
}
|
|
|
|
|
|
$(document).ready(function ($) {
|
|
|
|
$("#txtObservacionesCritec").height($("#txtObservacionesCritec")[0].scrollHeight);
|
|
|
|
$('#ContenidoFormulario_grvListaVisitaSolicitud td:nth-child(7) > input[type="image"]').attr('title', 'Ver formulario')
|
|
$('#ContenidoFormulario_grvListaVisitaSolicitud td:nth-child(8) > input[type="image"]').attr('title', 'Enviar a revisión')
|
|
|
|
// document.getElementById('ContenidoFormulario_divDatosInferiores').style.display = 'none';
|
|
$('#search').on('click', function () {
|
|
// Obtenemos la dirección y la asignamos a una variable
|
|
var address = $('#address').val();
|
|
if (address != '') {
|
|
// Creamos el Objeto Geocoder
|
|
var geocoder = new google.maps.Geocoder();
|
|
|
|
// Hacemos la petición indicando la dirección e invocamos la función
|
|
// geocodeResult enviando todo el resultado obtenido
|
|
geocoder.geocode({ 'address': address }, geocodeResult);
|
|
document.getElementById('mostrarMapa').style.display = 'block';
|
|
inicializaTab('formulario', '', '');
|
|
}
|
|
});
|
|
|
|
|
|
});
|
|
|
|
function exportarPDF() {
|
|
|
|
mapa = $("#ContenidoFormulario_mostrarMapa").html();
|
|
$("#map").remove();
|
|
botoneratmp = $("#trBotonera").html();
|
|
$("#botonera").remove();
|
|
$("#aGis").hide();
|
|
|
|
$("#ContenidoFormulario_revPresionMinima").hide();
|
|
$("#ContenidoFormulario_revPresionMaxima").hide();
|
|
$("#ContenidoFormulario_rfvCaudalReservado").hide();
|
|
|
|
var datos = {
|
|
Cuerpo: $('#tblDatosProyecto').html(),
|
|
strNombre: $("#ContenidoFormulario_lblNumSolicitud").text()
|
|
};
|
|
EnviarAjax(datos);
|
|
|
|
|
|
//document.getElementById('botonera').style.display = 'none';
|
|
////HABILITAR EN LA PAGINA DE CONSOLA DE GOOGLE APIS SON DOS DIRECCIONES CON LA CLAVE ESTA Y OTRA MAS ABAJO
|
|
toDataURL("https://maps.googleapis.com/maps/api/staticmap?center=" + $("#ContenidoFormulario_txtLatitud").val() + ", " + $("#ContenidoFormulario_txtLongitud").val() + "&zoom=14&size=400x400&key=AIzaSyAlyGomB7ELwey-ccIFw3j0rgvn3FK05kE&libraries=places&callback=initAutocomplete", function (dataUrl) {
|
|
dataRespuesta = dataUrl
|
|
})
|
|
};
|
|
|
|
function toDataURL(url, callback) {
|
|
var xhr = new XMLHttpRequest();
|
|
xhr.onload = function () {
|
|
var reader = new FileReader();
|
|
reader.onloadend = function () {
|
|
callback(reader.result);
|
|
|
|
|
|
//se crea el tag con la imagen estatica
|
|
var imgMapa = "<img id='Mapaestatico' style='width: 300px; height: 210px;' src='" + reader.result + "'/>";
|
|
$("#ContenidoFormulario_mostrarMapa").append(imgMapa);
|
|
//alert(imgMapa);
|
|
var datos = {
|
|
Cuerpo: $('#tblDatosProyecto').html(),
|
|
strNombre: $("#ContenidoFormulario_lblNumSolicitud").text()
|
|
};
|
|
EnviarAjax(datos);
|
|
}
|
|
reader.readAsDataURL(xhr.response);
|
|
};
|
|
xhr.open('GET', url);
|
|
xhr.responseType = 'blob';
|
|
xhr.send();
|
|
}
|
|
|
|
function EnviarAjax(datos) {
|
|
$.ajax({
|
|
type: 'POST',
|
|
url: "frwCriterioPA.aspx/CrearDocumentoPDF",
|
|
cache: false,
|
|
data: JSON.stringify(datos),
|
|
contentType: 'application/json; charset=utf-8',
|
|
dataType: 'json',
|
|
success: function (response, data) {
|
|
// var win = window.open(response.d, '_blank');
|
|
// alert(response.d);
|
|
$("#Mapaestatico").remove();
|
|
$("#map").show();
|
|
$("#ContenidoFormulario_mostrarMapa").append(mapa);
|
|
$("#trBotonera").append(botoneratmp);
|
|
|
|
$("#aGis").show();
|
|
|
|
$("#ContenidoFormulario_revPresionMinima").show();
|
|
$("#ContenidoFormulario_revPresionMaxima").show();
|
|
$("#ContenidoFormulario_rfvCaudalReservado").show();
|
|
|
|
document.getElementById('botonera').style.display = 'block';
|
|
}
|
|
}).fail(function (jqxhr, textStatus, error) {
|
|
alert('error');
|
|
inicializaTab('grid', 'Exitoso');
|
|
|
|
}).then(function (value) {
|
|
//alert('entonces');
|
|
inicializaTab('grid', 'Exitoso');
|
|
});
|
|
}
|
|
|
|
function habilitarNuevo() {
|
|
document.getElementById('ContenidoFormulario_divDatosSuperiores').style.display = 'none';
|
|
document.getElementById('ContenidoFormulario_divDatosInferiores').style.display = 'block';
|
|
}
|
|
function habilitarGrid() {
|
|
document.getElementById('ContenidoFormulario_divDatosSuperiores').style.display = 'block';
|
|
document.getElementById('ContenidoFormulario_divDatosInferiores').style.display = 'none';
|
|
}
|
|
function myMap(latitud, longitud) {
|
|
if (latitud != "" && longitud != "" && latitud != undefined && longitud != undefined) {
|
|
var mapCanvas = document.getElementById("map");
|
|
var myCenter = new google.maps.LatLng(latitud, longitud);
|
|
var mapOptions = { center: myCenter, zoom: 18 };
|
|
var map = new google.maps.Map(mapCanvas, mapOptions);
|
|
google.maps.event.addListener(map, 'click', function (event) {
|
|
placeMarker(map, event.latLng);
|
|
});
|
|
|
|
document.getElementById('mostrarMapa').style.display = 'block';
|
|
|
|
}
|
|
else {
|
|
document.getElementById('mostrarMapa').style.display = 'none';
|
|
|
|
}
|
|
}
|
|
function buscar() {
|
|
|
|
// Obtenemos la dirección y la asignamos a una variable
|
|
var address = $('#address').val();
|
|
// Creamos el Objeto Geocoder
|
|
var geocoder = new google.maps.Geocoder();
|
|
if (address != '') {
|
|
// Hacemos la petición indicando la dirección e invocamos la función
|
|
// geocodeResult enviando todo el resultado obtenido
|
|
geocoder.geocode({ 'address': address }, geocodeResult);
|
|
document.getElementById('mostrarMapa').style.display = 'block';
|
|
}
|
|
|
|
}
|
|
function anular(e) {
|
|
tecla = (document.all) ? e.keyCode : e.which;
|
|
return (tecla != 13);
|
|
}
|
|
function placeMarker(map, location) {
|
|
//var marker = new google.maps.Marker({
|
|
// position: location,
|
|
// map: map
|
|
//});
|
|
//var infowindow = new google.maps.InfoWindow({
|
|
// content: 'Latitude: ' + location.lat() + '<br>Longitude: ' + location.lng()
|
|
//});
|
|
//infowindow.open(map, marker);
|
|
$("#ContenidoFormulario_txtLongitud").val(location.lng());
|
|
$("#ContenidoFormulario_txtLatitud").val(location.lat());
|
|
}
|
|
|
|
|
|
function geocodeResult(results, status) {
|
|
// Verificamos el estatus
|
|
if (status == 'OK') {
|
|
// Si hay resultados encontrados, centramos y repintamos el mapa
|
|
// esto para eliminar cualquier pin antes puesto
|
|
var mapOptions = {
|
|
center: results[0].geometry.location,
|
|
mapTypeId: google.maps.MapTypeId.ROADMAP
|
|
};
|
|
map = new google.maps.Map($("#map").get(0), mapOptions);
|
|
// fitBounds acercará el mapa con el zoom adecuado de acuerdo a lo buscado
|
|
map.fitBounds(results[0].geometry.viewport);
|
|
// Dibujamos un marcador con la ubicación del primer resultado obtenido
|
|
var markerOptions = { position: results[0].geometry.location }
|
|
//var marker = new google.maps.Marker(markerOptions);
|
|
//marker.setMap(map);
|
|
//var map = new google.maps.Map(map, markerOptions);
|
|
google.maps.event.addListener(map, 'click', function (event) {
|
|
placeMarker(map, event.latLng);
|
|
});
|
|
} else {
|
|
// En caso de no haber resultados o que haya ocurrido un error
|
|
// lanzamos un mensaje con el error
|
|
alert("No se encontro la dirección debido a: " + status);
|
|
}
|
|
}
|
|
function habilitar() {
|
|
|
|
var boton = document.getElementById('<%=btnHabilitar.ClientID%>');
|
|
|
|
boton.click();
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAlyGomB7ELwey-ccIFw3j0rgvn3FK05kE&libraries=places&callback=initAutocomplete"></script>
|
|
|
|
<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: 99%;
|
|
height: 99%;
|
|
padding: 16px;
|
|
border: 1px solid #000;
|
|
background-color: white;
|
|
z-index: 5;
|
|
overflow: auto;
|
|
}
|
|
|
|
.white_content_correo {
|
|
display: none;
|
|
position: absolute;
|
|
top: 10%;
|
|
/*left: 5%;*/
|
|
width: 100%;
|
|
padding: 16px;
|
|
border: 1px solid #000;
|
|
background-color: white;
|
|
z-index: 5;
|
|
overflow: auto;
|
|
}
|
|
|
|
#map {
|
|
width: 600px;
|
|
height: 410px;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
margin: 10px 0 10px 0;
|
|
display: inline-block !important;
|
|
}
|
|
|
|
.nav-tabs > li, .nav-pills > li {
|
|
float: none;
|
|
display: inline-block;
|
|
}
|
|
|
|
.nav-tabs {
|
|
text-align: center;
|
|
}
|
|
|
|
#menu {
|
|
float: left;
|
|
left: 50%;
|
|
list-style-type: none;
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
position: relative;
|
|
}
|
|
|
|
#menu li {
|
|
float: left;
|
|
position: relative;
|
|
right: 50%;
|
|
}
|
|
|
|
.gridViewHeader > th:nth-child(2) {
|
|
text-align: center !important;
|
|
}
|
|
</style>
|
|
|
|
<asp:ScriptManager ID="ScripManager1" EnablePartialRendering="true" EnablePageMethods="True" runat="server">
|
|
</asp:ScriptManager>
|
|
<div id="lightCorreo" class="white_content_correo" width="100%" height="100%">
|
|
<div id="Panel8" class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Enviar a revisión</h3>
|
|
</div>
|
|
<asp:DropDownList ID="ddlEncargadoRevision" runat="server" CssClass="ddlS"></asp:DropDownList>
|
|
<asp:Button ID="btnEnviarRevision" runat="server" Text="Enviar" CssClass="botones" OnClick="btnEnviarRevision_Click" />
|
|
<input id="btnSalirVentana" type="button" title="Salir" value="Salir" onclick="VentanaCerrarCorreo();" />
|
|
</div>
|
|
</div>
|
|
<div id="fadeCorreo" class="black_overlay"></div>
|
|
<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>Formulario de inspección de agua potable</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 Inferiores ********************************************************************************* --%>
|
|
<asp:UpdatePanel ID="updPanel" runat="server">
|
|
<ContentTemplate>
|
|
|
|
|
|
<div align="center" style="height: 90%">
|
|
<ul class="nav nav-tabs" role="tablist" id="menu">
|
|
<li><a href="#grid" data-toggle="tab" onclick="inicializaTab('grid');" aria-expanded="true">Formularios</a></li>
|
|
<li><a href="#formulario" onclick="habilitar();" data-toggle="tab" aria-expanded="false">Nuevo</a></li>
|
|
</ul>
|
|
<div id="myTabContent" class="tab-content" style="padding-top: 5%">
|
|
<div class="tab-pane fade " id="grid">
|
|
<div id="Panel6" class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Lista de formularios</h3>
|
|
</div>
|
|
<div id="divDatosSuperiores" runat="server" style="width: 100%">
|
|
|
|
|
|
<%--Listado de Datos--%>
|
|
<div id="Div1" runat="server" class="tabla">
|
|
<asp:GridView ID="grvListaVisitaSolicitud" runat="server" CellPadding="2" GridLines="None" AutoGenerateColumns="false" AllowPaging="True" PageSize="10"
|
|
OnRowCommand="grvListaVisitaSolicitud_RowCommand" OnPageIndexChanging="grvListaVisitaSolicitud_PageIndexChanging" OnRowDataBound="grvListaVisitaSolicitud_RowDataBound" CssClass="gridViewG" 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:TemplateField>
|
|
|
|
<ItemTemplate>
|
|
<input id="chkItem" type="checkbox" name="chkItem" runat="server"/>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>--%>
|
|
<%-- <asp:ButtonField ImageUrl="~/Images/MiniBotones/btnEditar.png" ButtonType="Image" CommandName="ver"/>--%>
|
|
</Columns>
|
|
<EmptyDataTemplate>
|
|
<div class="gridViewVacio">
|
|
<div class="gridViewCheck">
|
|
</div>
|
|
<div class="gridFilaVacia">
|
|
<div class="textoGrid">
|
|
<asp:Label ID="lblGridView" Text="No se obtuvieron resultados de su búsqueda" runat="server" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</EmptyDataTemplate>
|
|
</asp:GridView>
|
|
<div class="detalleGridView">
|
|
<div class="Izquierda">
|
|
<asp:Label ID="lblTotalDatos" runat="server" Text="Registros: " CssClass="textoDetalleGridView" />
|
|
</div>
|
|
<div class="Derecha">
|
|
<asp:ImageButton ID="btnRefrescar" ImageUrl="~/Images/MiniBotones/btnRefrescar.png" CausesValidation="false" runat="server" OnClick="btnRefrescar_Click" ToolTip="Actualizar" />
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<%--Botonera Superior--%>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="tab-pane fade " id="formulario">
|
|
<div id="Panel7" class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Formulario</h3>
|
|
</div>
|
|
<div id="divDatosInferiores" runat="server" visible="true">
|
|
<%--Consultar--%>
|
|
|
|
|
|
|
|
|
|
|
|
<table id="tblDatosProyecto" style="border-width: medium; border-color: #BFBFBF; text-align: left; margin-left: 30px" 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 style="width: 50%">
|
|
<legend>Datos de campo </legend>
|
|
<div>
|
|
<input type="text" maxlength="100" id="address" onkeydown="if (event.keyCode == 13) { return false; }" placeholder="Dirección" />
|
|
<input type="button" id="search" value="Buscar" onkeypress="buscar();" />
|
|
<a target="_blank" href="http://vprod-app-sig/flexviewers/Catastro_Usuarios/" type="" id="aGis">
|
|
<img src="/Images/MiniBotones/GIS.jpg" title="GIS" width="25" height="25" /></a>
|
|
</div>
|
|
<div runat="server">
|
|
Latitud <asp:TextBox ID="txtLatitud" CssClass="textBox" runat="server" Enabled="true"></asp:TextBox>
|
|
Longitud <asp:TextBox ID="txtLongitud" runat="server" CssClass="textBox" Enabled="true"></asp:TextBox>
|
|
</div>
|
|
</td>
|
|
|
|
<td style="width: 50%; padding-bottom: 150px;">Croquis infraestructura existente
|
|
<div id="mostrarMapa">
|
|
|
|
|
|
<input type="hidden" id="postbackControl" value="<%=Page.IsPostBack.ToString()%>" />
|
|
|
|
|
|
<div id="map" style="position: absolute;"></div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2"></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width: 50%">
|
|
<br />
|
|
<legend>Caracteristicas del servicio</legend>
|
|
<table>
|
|
<tr>
|
|
<td>Existe NIS abasteciendo la propiedad: </td>
|
|
<td>
|
|
<asp:RadioButtonList ID="rblExisteNis" AutoPostBack="true" OnSelectedIndexChanged="rblExisteNis_SelectedIndexChanged" RepeatDirection="Horizontal" Enabled="false" RepeatLayout="Table" runat="server">
|
|
<asp:ListItem Text="Si" Value="true"></asp:ListItem>
|
|
<asp:ListItem Text="No" Value="false"></asp:ListItem>
|
|
</asp:RadioButtonList></td>
|
|
<td> Cual? </td>
|
|
<td>
|
|
<asp:TextBox ID="txtNisExistente" CssClass="textBox" Enabled="false" runat="server"></asp:TextBox></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>Estructura en la propiedad existente: </td>
|
|
<td>
|
|
<asp:RadioButtonList ID="rblEstructuraExistente" RepeatDirection="Horizontal" AutoPostBack="true" OnSelectedIndexChanged="rblEstructuraExistente_SelectedIndexChanged" RepeatLayout="Table" runat="server">
|
|
<asp:ListItem Text="Si" Value="true"></asp:ListItem>
|
|
<asp:ListItem Text="No" Value="false"></asp:ListItem>
|
|
</asp:RadioButtonList></td>
|
|
<td> Tipo de
|
|
<br />
|
|
estructura </td>
|
|
<td>
|
|
<asp:TextBox ID="txtTipoEstructuraExistente" Enabled="false" CssClass="textBox" runat="server"></asp:TextBox></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td>Existe disponibilidad asociada: </td>
|
|
<td>
|
|
<asp:RadioButtonList ID="rblExisteDisponibilidad" RepeatDirection="Horizontal" AutoPostBack="true" OnSelectedIndexChanged="rblExisteDisponibilidad_SelectedIndexChanged" RepeatLayout="Table" runat="server">
|
|
<asp:ListItem Text="Si" Value="true"></asp:ListItem>
|
|
<asp:ListItem Text="No" Value="false"></asp:ListItem>
|
|
</asp:RadioButtonList></td>
|
|
<td> Cual? </td>
|
|
<td>
|
|
<asp:TextBox ID="txtDisponibilidadAsociada" CssClass="textBox" Enabled="false" runat="server"></asp:TextBox></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">En caso de condominio indicar el oficio de recepcion de obras por parte del AyA
|
|
</td>
|
|
|
|
<td></td>
|
|
<td>
|
|
<asp:TextBox ID="txtOficioRecepcion" CssClass="textBox" runat="server"></asp:TextBox></td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
|
|
</td>
|
|
|
|
|
|
<%-- <td style="width:50%" colspan="3">
|
|
|
|
</td>
|
|
|
|
<td >
|
|
|
|
</td>--%>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="5">
|
|
<br />
|
|
<legend>Zonas de presión </legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td colspan="5" style="text-align: left;">
|
|
<table style="text-align: left;">
|
|
<tr>
|
|
<td>Presión Mínima
|
|
<asp:TextBox ID="txtPresionMinima" runat="server"></asp:TextBox>
|
|
mca. </td>
|
|
<td>Presión Máxima
|
|
<asp:TextBox ID="txtPresionMaxima" runat="server"></asp:TextBox>
|
|
mca. </td>
|
|
<td>Sistema asociado
|
|
<asp:TextBox ID="txtSistemaAsociado" MaxLength="300" runat="server"></asp:TextBox>
|
|
</td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<table style="text-align: left;">
|
|
<tr>
|
|
<td> <asp:CompareValidator ID="revPresionMinima" ControlToValidate="txtPresionMinima" Type="Double" runat="server" ErrorMessage="Solo se permiten valores numéricos" ValidationExpression="\d" SetFocusOnError="true" ForeColor="Red"></asp:CompareValidator> </td>
|
|
<td>
|
|
<asp:CompareValidator ID="revPresionMaxima" ControlToValidate="txtPresionMaxima" Type="Double" runat="server" ErrorMessage="Solo se permiten valores numéricos" ValidationExpression="\d" SetFocusOnError="true" ForeColor="Red"></asp:CompareValidator></td>
|
|
<td> </td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
<legend>Caudal </legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td colspan="5" style="text-align: left;">
|
|
<table style="text-align: left;">
|
|
<tr>
|
|
<td style="width: 40%">Propósito (Unidad de medida):
|
|
<asp:Label ID="lblProposito" runat="server"></asp:Label> </td>
|
|
<td><%--Unidad de medida <asp:Label ID="lblUnidadMedida" runat="server" ></asp:Label>--%> </td>
|
|
<td>Caudal reservado
|
|
<asp:TextBox ID="txtCaudalReservado" Enabled="false" runat="server"></asp:TextBox> m³</td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<table style="text-align: left;">
|
|
<tr>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td>
|
|
<asp:CompareValidator ID="rfvCaudalReservado" ControlToValidate="txtCaudalReservado" Type="Double" runat="server" ErrorMessage="Solo se permiten valores numéricos" ValidationExpression="\d" SetFocusOnError="true" ForeColor="Red"></asp:CompareValidator></td>
|
|
<td> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
|
|
<legend>Frente a la propiedad existe tubería de distribución de agua potable</legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:RadioButtonList ID="rblTuberiaDistribucion" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rblTuberiaDistribucion_SelectedIndexChanged" RepeatDirection="Horizontal" RepeatLayout="Table">
|
|
<asp:ListItem Text="Si" Value="true"></asp:ListItem>
|
|
<asp:ListItem Text="No" Value="false"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
</td>
|
|
|
|
<td></td>
|
|
<td>
|
|
</td>
|
|
<td colspan="2"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<div id="dvTuberiaDistribucion" runat="server" style="margin-left: 20px; margin-top: 10px;">
|
|
Material
|
|
|
|
<asp:RadioButtonList ID="rblMaterial" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table">
|
|
<asp:ListItem Text="PVC" Value="PVC"></asp:ListItem>
|
|
<asp:ListItem Text="HF" Value="HF"></asp:ListItem>
|
|
<asp:ListItem Text="AC" Value="AC"></asp:ListItem>
|
|
<asp:ListItem Text="HG" Value="HG"></asp:ListItem>
|
|
<asp:ListItem Text="PEAD" Value="PEAD"></asp:ListItem>
|
|
<asp:ListItem Text="HD" Value="HD"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
</div>
|
|
</td>
|
|
<td colspan="4"></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div id="dvTuberiaDistribucion2" runat="server" style="margin-left: 20px;">
|
|
Diámetro
|
|
|
|
<asp:RadioButtonList ID="rblDiametro" runat="server" RepeatDirection="Horizontal" AutoPostBack="true" OnSelectedIndexChanged="rblDiametro_SelectedIndexChanged" RepeatLayout="Table">
|
|
<asp:ListItem Text="12 mm" Value="12"></asp:ListItem>
|
|
<asp:ListItem Text="19 mm" Value="19"></asp:ListItem>
|
|
<asp:ListItem Text="25 mm" Value="25"></asp:ListItem>
|
|
<asp:ListItem Text="38 mm" Value="38"></asp:ListItem>
|
|
<asp:ListItem Text="50 mm" Value="50"></asp:ListItem>
|
|
<asp:ListItem Text="75 mm" Value="75"></asp:ListItem>
|
|
<asp:ListItem Text="100 mm" Value="100"></asp:ListItem>
|
|
<asp:ListItem Text="150 mm" Value="150"></asp:ListItem>
|
|
<asp:ListItem Text="200 mm" Value="200"></asp:ListItem>
|
|
<asp:ListItem Text="Otro" Value="Otro"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
</div>
|
|
</td>
|
|
<td colspan="4">
|
|
<div id="dvTuberiaDistribucion3" runat="server">
|
|
<asp:TextBox ID="txtOtroDiametro" CssClass="textBox" runat="server"></asp:TextBox>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<br />
|
|
<legend>Existe disponibilidad de agua potable en la zona </legend>
|
|
|
|
<asp:RadioButtonList ID="rblDisponibilidadAP" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rblDisponibilidadAP_SelectedIndexChanged" RepeatDirection="Horizontal" RepeatLayout="Table">
|
|
<asp:ListItem Text="Si" Value="true"></asp:ListItem>
|
|
<asp:ListItem Text="No" Value="false"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
|
|
</td>
|
|
<td colspan="4"></td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div id="siAP" runat="server" style="margin-left: 20px;">
|
|
<br />
|
|
<strong>En caso de marcar NO indique los motivos de la Negación de la Disponibilidad</strong>
|
|
|
|
<table id="tbExisteDisponibilidad">
|
|
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId18" runat="server" Text="Inconsistencia en la información registral aportada por los usuarios (espejo registral, tema)" /></td>
|
|
|
|
</tr>
|
|
<%-- <tr>
|
|
<td><asp:CheckBox ID="chkId19" runat="server" Text="Falta de requisitos en la información presentada por los usuarios, conforme lo establecido en el Art. 18 del RPSC" /></td>
|
|
</tr>--%>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId21" runat="server" Text="Inexistencia de infraestructura de distribución y recolección frente al inmueble solicitante de disponibilidad" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId22" runat="server" Text="Elevación topográfica que impide el abastecimiento del inmueble, pues la supera la cota de abastecimiento del acueducto en la zona" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId23" runat="server" Text="Por ubicación geográfica del inmueble, que lo localiza fuera del área de cobertura de los sistemas de AyA" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId25" runat="server" Text="El inmueble se encuentra dentro de un proyecto Urbanístico con procesos de aprobación, inspección y recepción pendientes ante AyA" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId26" runat="server" Text="Propósitos no atinentes a trámites que tengan como requisito la disponibilidad ante el CFIA (vía APC) " />
|
|
<label style="margin-left: 22px;">(muros, tapias, aceras, entre otras.) Según el manual de subclasificaciones del CFIA, para este trámite no se requiere la disponibilidad ante otras instituciones</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId27" runat="server" Text="El inmueble pertenece a un fraccionamiento otorgado por el gobierno local sin disponibilidad previa" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId30" runat="server" Text="El proyecto no cumple con Normativa Urbana Vigente" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId31" runat="server" Text="No hay Capacidad híbrica." /></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<asp:CheckBox ID="chkId32" runat="server" Text="Otros" AutoPostBack="true" OnCheckedChanged="chkId32_CheckedChanged" />
|
|
<asp:TextBox ID="txtOtraRazon" CssClass="" runat="server" ></asp:TextBox>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="divCCH1" runat="server" style="margin-left: 20px; margin-top: 10px">
|
|
Existe capacidad Hídrica (CCH) según criterio técnico
|
|
|
|
<asp:RadioButtonList ID="rblExisteCCH" runat="server" AutoPostBack="true" OnSelectedIndexChanged="rblExisteCCH_SelectedIndexChanged" RepeatDirection="Horizontal" RepeatLayout="Table">
|
|
<asp:ListItem Text="Si" Value="true"></asp:ListItem>
|
|
<asp:ListItem Text="No" Value="false"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
<div id="divCCH2" runat="server">
|
|
<label>Observaciones de la mejora (extensión del ramal)</label>
|
|
|
|
<asp:TextBox ID="txtObservacionesExtensionRamal" runat="server" TextMode="MultiLine" Columns="50" Rows="4" CssClass="textBoxLargo"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
|
|
</td>
|
|
<td colspan="2"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="5">
|
|
<br />
|
|
<legend>Ubicación del medidor </legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
|
|
¿El inmueble cuenta con prevista hacia red existente?
|
|
<asp:RadioButtonList ID="rblUbicacionMedidor" runat="server" RepeatDirection="Vertical" RepeatLayout="Table">
|
|
<asp:ListItem Text="Sobre vía pública al limite de la propiedad" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Sobre servidumbre de paso e inscrita a favor de AyA" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="Sobre vía pública frente a acceso de servidumbre de paso a favor de terceros" Value="3"></asp:ListItem>
|
|
<asp:ListItem Text="Sobre vía publica frente a acceso de servidumbre de hecho" Value="4"></asp:ListItem>
|
|
<asp:ListItem Text="No aplica" Value="5"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
|
|
</td>
|
|
<td colspan="4">
|
|
<div id="divUbicacion">
|
|
<label>Lindero:</label>
|
|
|
|
<asp:TextBox ID="txtLindero" runat="server"></asp:TextBox><label>(Puntos cardinales)</label>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<br />
|
|
<legend>Prevista </legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
¿El inmueble cuenta conprevista hacia red existente?:
|
|
|
|
<asp:RadioButtonList ID="rblPrevista" runat="server" RepeatDirection="Vertical" RepeatLayout="Table">
|
|
<asp:ListItem Text="No prevista" Value="false"></asp:ListItem>
|
|
<asp:ListItem Text="Prevista" Value="true"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
|
|
</td>
|
|
<td colspan="4">
|
|
<div id="divPrevista">
|
|
El material de la vía existente frente al inmueble es:
|
|
|
|
<asp:RadioButtonList ID="rblTipoPrevista" runat="server" OnSelectedIndexChanged="rblTipoPrevista_SelectedIndexChanged" RepeatDirection="Vertical" RepeatLayout="Table" AutoPostBack="True">
|
|
<asp:ListItem Text="En asfalto" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="En lastre" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="En tierra" Value="3"></asp:ListItem>
|
|
<asp:ListItem Text="Otro" Value="4"></asp:ListItem>
|
|
<asp:ListItem Text="No aplica" Value="5"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
<asp:TextBox ID="txtOtrosPrevista" runat="server" Visible="false" Enabled="false"></asp:TextBox>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<br />
|
|
<legend>Modalidad de medición recomendada: </legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
|
|
|
|
<asp:RadioButtonList ID="rblTipoMedidor" runat="server" RepeatDirection="Vertical" RepeatLayout="Table">
|
|
<asp:ListItem Text="Macromedidor" Value="1"></asp:ListItem>
|
|
<asp:ListItem Text="Individual" Value="2"></asp:ListItem>
|
|
<asp:ListItem Text="No aplica" Value="3"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
|
|
</td>
|
|
<td colspan="4">
|
|
<div id="divTipoMedidor">
|
|
Diámetro propuesto para el dispositivo de medición:
|
|
|
|
<asp:RadioButtonList ID="rblDiametroMedidor" runat="server" RepeatDirection="Horizontal" RepeatLayout="Table">
|
|
<asp:ListItem Text="12,5 mm" Value="12.50"></asp:ListItem>
|
|
<asp:ListItem Text="19 mm" Value="19.00"></asp:ListItem>
|
|
<asp:ListItem Text="25 mm" Value="25.00"></asp:ListItem>
|
|
<asp:ListItem Text="38 mm" Value="38.00"></asp:ListItem>
|
|
<asp:ListItem Text="50 mm" Value="50.00"></asp:ListItem>
|
|
<asp:ListItem Text="75 mm" Value="75.00"></asp:ListItem>
|
|
<asp:ListItem Text="100 mm" Value="100.00"></asp:ListItem>
|
|
<asp:ListItem Text="150 mm" Value="150.00"></asp:ListItem>
|
|
<asp:ListItem Text="No aplica" Value="0.00"></asp:ListItem>
|
|
</asp:RadioButtonList>
|
|
</div>
|
|
</td>
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<br />
|
|
<legend>Observaciones </legend></td>
|
|
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
<br />
|
|
<asp:TextBox ID="txtObservacionesCritec" TextMode="MultiLine" Rows="25" Width="98%" runat="server"></asp:TextBox>
|
|
|
|
</td>
|
|
|
|
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="5" style="text-align: right">
|
|
<div id="trBotonera">
|
|
<div id="botonera">
|
|
<asp:Button ID="btnDenegar" runat="server" OnClick="btnDenegar_Click" Text="Denegar" />
|
|
<asp:Button ID="btnAprobar" runat="server" OnClick="btnAprobar_Click" Text="Aprobar" />
|
|
|
|
<input id="btnExport" type="button" onclick="exportarPDF();" value="Exportar"></input>
|
|
<asp:Button ID="btnNuevo" runat="server" OnClick="btnNuevo_Click" Text="Guardar" />
|
|
<asp:HiddenField ID="CuerpoPDF" runat="server" Value="" />
|
|
|
|
<asp:Button ID="btnHabilitar" runat="server" Text="Get" Style="display: none" OnClick="btnHabilitar_Click" />
|
|
</div>
|
|
</div>
|
|
</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}" />
|
|
|
|
</Columns>
|
|
|
|
</asp:GridView>--%>
|
|
<%-- **********************************************************************Datos Superiores ********************************************************************************* --%>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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 id="imagenMapa" >
|
|
<img id="preview" src="" crossorigin="Anonymous" />
|
|
<canvas id="myCanvas"/>
|
|
</div>--%>
|
|
</div>
|
|
</div>
|
|
|
|
<asp:Button ID="btnGuardarPDF" runat="server" Text="Get" Style="display: none" OnClick="btnGuardarPDF_Click" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
<Triggers>
|
|
<%--<asp:PostBackTrigger ControlID ="ddlProvincia" />--%>
|
|
|
|
<asp:AsyncPostBackTrigger ControlID="rblTuberiaDistribucion" EventName="SelectedIndexChanged" />
|
|
<asp:AsyncPostBackTrigger ControlID="rblTipoPrevista" EventName="SelectedIndexChanged" />
|
|
<asp:AsyncPostBackTrigger ControlID="rblDisponibilidadAP" EventName="SelectedIndexChanged" />
|
|
<asp:AsyncPostBackTrigger ControlID="rblExisteCCH" EventName="SelectedIndexChanged" />
|
|
<asp:AsyncPostBackTrigger ControlID="btnHabilitar" EventName="Click" />
|
|
|
|
|
|
|
|
</Triggers>
|
|
</asp:UpdatePanel>
|
|
</asp:Content>
|
|
|