git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C59
This commit is contained in:
parent
2d9fb16397
commit
322a552cab
7 changed files with 176 additions and 1 deletions
|
|
@ -74,6 +74,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="Properties\DataSources\System.Data.DataSet.datasource" />
|
<Content Include="Properties\DataSources\System.Data.DataSet.datasource" />
|
||||||
|
<None Include="Properties\PublishProfiles\AYA.SlnSinort.WCF.pubxml" />
|
||||||
<None Include="Service References\AyAWCF\ServicioUsuarios.disco" />
|
<None Include="Service References\AyAWCF\ServicioUsuarios.disco" />
|
||||||
<None Include="Service References\AyAWCF\configuration91.svcinfo" />
|
<None Include="Service References\AyAWCF\configuration91.svcinfo" />
|
||||||
<None Include="Service References\AyAWCF\configuration.svcinfo" />
|
<None Include="Service References\AyAWCF\configuration.svcinfo" />
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Este archivo es utilizado por el proceso de paquete/publicación de nuestro proyecto Web. Puede personalizar el comportamiento de este proceso
|
||||||
|
editando este archivo MSBuild. Para conocer más acerca de esto, visite http://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||||
|
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||||
|
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||||
|
<SiteUrlToLaunchAfterPublish />
|
||||||
|
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||||
|
<ExcludeApp_Data>False</ExcludeApp_Data>
|
||||||
|
<publishUrl>C:\Proyectos\AYA.SlnSinort.WCF</publishUrl>
|
||||||
|
<DeleteExistingFiles>False</DeleteExistingFiles>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -7593,6 +7593,7 @@
|
||||||
<Content Include="fonts\fontawesome-webfont.eot" />
|
<Content Include="fonts\fontawesome-webfont.eot" />
|
||||||
<Content Include="fonts\FontAwesome.otf" />
|
<Content Include="fonts\FontAwesome.otf" />
|
||||||
<Content Include="Content\DataTables-1.10.0\css\dataTables.jqueryui.scss" />
|
<Content Include="Content\DataTables-1.10.0\css\dataTables.jqueryui.scss" />
|
||||||
|
<None Include="Properties\PublishProfiles\AYA.SlnSinort.pubxml" />
|
||||||
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
|
<None Include="Scripts\jquery-3.3.1.intellisense.js" />
|
||||||
<Content Include="Scripts\jquery-3.3.1.js" />
|
<Content Include="Scripts\jquery-3.3.1.js" />
|
||||||
<Content Include="Scripts\jquery-3.3.1.min.js" />
|
<Content Include="Scripts\jquery-3.3.1.min.js" />
|
||||||
|
|
@ -7714,6 +7715,7 @@
|
||||||
<Content Include="Views\PropuestaNormativa\Index.cshtml" />
|
<Content Include="Views\PropuestaNormativa\Index.cshtml" />
|
||||||
<Content Include="Views\PropuestaNormativa\Foro.cshtml" />
|
<Content Include="Views\PropuestaNormativa\Foro.cshtml" />
|
||||||
<Content Include="Views\PropuestaNormativa\DetallePropuesta.cshtml" />
|
<Content Include="Views\PropuestaNormativa\DetallePropuesta.cshtml" />
|
||||||
|
<Content Include="Views\Shared\_Catalogo.cshtml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="App_Data\" />
|
<Folder Include="App_Data\" />
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,9 @@ namespace AYA.SlnSinort
|
||||||
|
|
||||||
|
|
||||||
//AGREGAR SIGUIENTES SCRIPTS
|
//AGREGAR SIGUIENTES SCRIPTS
|
||||||
|
|
||||||
|
bundles.Add(new ScriptBundle("~/Scripts/Sinort-PropuestaNormativa")
|
||||||
|
.Include("~/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Este archivo es utilizado por el proceso de paquete/publicación de nuestro proyecto Web. Puede personalizar el comportamiento de este proceso
|
||||||
|
editando este archivo MSBuild. Para conocer más acerca de esto, visite http://go.microsoft.com/fwlink/?LinkID=208121.
|
||||||
|
-->
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<WebPublishMethod>FileSystem</WebPublishMethod>
|
||||||
|
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
|
||||||
|
<LastUsedPlatform>Any CPU</LastUsedPlatform>
|
||||||
|
<SiteUrlToLaunchAfterPublish />
|
||||||
|
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
|
||||||
|
<ExcludeApp_Data>False</ExcludeApp_Data>
|
||||||
|
<publishUrl>C:\Proyectos\AYA.SlnSinort</publishUrl>
|
||||||
|
<DeleteExistingFiles>False</DeleteExistingFiles>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
|
@ -1 +1,135 @@
|
||||||
|
//$("#formPropuestaNormativa").EnableValidationToolTip();
|
||||||
|
|
||||||
|
|
||||||
|
//jQuery(document).ready(function () {
|
||||||
|
|
||||||
|
|
||||||
|
// getDataModel();
|
||||||
|
|
||||||
|
|
||||||
|
//});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//this.CargarDataCatalogo = function (Direccion, filtro, model) {
|
||||||
|
|
||||||
|
// $("#txtDescripcion").val(filtro);
|
||||||
|
|
||||||
|
// var uri = IsNullOrEmpty(Direccion) ? $("#btn" + SelectedCatalog).attr("Direccion_API") : $.trim(Direccion);
|
||||||
|
|
||||||
|
// var UseHttpPost = $("#btn" + SelectedCatalog).attr("UseHttpPost");
|
||||||
|
|
||||||
|
// var WebApplication_Name = $("#btn" + SelectedCatalog).attr("WebApplication");
|
||||||
|
|
||||||
|
// if (IsNullOrEmpty(uri)) {
|
||||||
|
// toastr.warning("Debe definir la dirección del WebAPI para el catálogo.", Message_Warning);
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// var Url = IsNullOrEmpty(WebApplication_Name) ? server + uri : window.location.protocol + "//" + window.location.hostname + "/" + WebApplication_Name + "/" + uri;
|
||||||
|
|
||||||
|
// var parametros = arguments;
|
||||||
|
|
||||||
|
// $("#btnBuscar").unbind("click");
|
||||||
|
// $("#btnBuscar").click(function () {
|
||||||
|
// parametros[1] = $("#txtDescripcion").val();
|
||||||
|
// CargarDataCatalogo.apply(this, parametros);
|
||||||
|
// });
|
||||||
|
|
||||||
|
// if (UseHttpPost != "1") {
|
||||||
|
// Url = Url + "?filtro=" + (filtro == null ? "" : encodeURIComponent(filtro));
|
||||||
|
|
||||||
|
// //busca n extras parametros para colocar en el request del get
|
||||||
|
// var countId = 1;
|
||||||
|
// for (var i = 2; i < arguments.length; i++) {
|
||||||
|
// var id = arguments[i];
|
||||||
|
// if (countId == 1)
|
||||||
|
// Url += (id == null ? "" : "&id=" + encodeURIComponent(id));
|
||||||
|
// else
|
||||||
|
// Url += (id == null ? "" : "&id" + countId + "=" + encodeURIComponent(id));
|
||||||
|
// countId++;
|
||||||
|
// }
|
||||||
|
|
||||||
|
// AjaxGetData(Url, true, false, CargarTablaCatalogo);
|
||||||
|
// }
|
||||||
|
// else {
|
||||||
|
|
||||||
|
// model = IsNullOrEmpty(model) ? {} : model;
|
||||||
|
// model.filtro = filtro;
|
||||||
|
|
||||||
|
// AjaxPostData(Url, model, true, false, CargarTablaCatalogo);
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
|
//this.CargarTablaCatalogo = function (data) {
|
||||||
|
|
||||||
|
// if (data != null) {
|
||||||
|
|
||||||
|
// lista = data;
|
||||||
|
|
||||||
|
// var Seleccionar = $("#ucBtnSeleccionar").html();
|
||||||
|
|
||||||
|
// var columnDefinition = [
|
||||||
|
// { "data": null, "width": "10%", className: "center", defaultContent: Seleccionar },
|
||||||
|
// { "data": "codigo", "width": "5%" },
|
||||||
|
// { "data": "descripcion", "width": "85%" }
|
||||||
|
// ];
|
||||||
|
|
||||||
|
// $('#tableCatalogo').TableInit(0, false, true, false, false, columnDefinition, lista);
|
||||||
|
|
||||||
|
// if ($.fn.DataTable.isDataTable('#tableCatalogo')) {
|
||||||
|
|
||||||
|
// LoadMessage();
|
||||||
|
|
||||||
|
// $('#tableCatalogo').DataTable().search('').draw();
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
// $('#divmodalCatalogo').modal('show');
|
||||||
|
|
||||||
|
// ENDREQUEST();
|
||||||
|
//}
|
||||||
|
|
||||||
|
//$('#tableCatalogo').on('click', 'button', function () {
|
||||||
|
|
||||||
|
// var data = $('#tableCatalogo').DataTable().row($(this).parents('tr')).data();
|
||||||
|
|
||||||
|
// //verifica que no es multiple
|
||||||
|
// if ($("#btn" + SelectedCatalog).attr("CatalogoMultiple") != 1) {
|
||||||
|
|
||||||
|
// $("#hidden" + SelectedCatalog).val(data.codigo);
|
||||||
|
// $("#txt" + SelectedCatalog).val(data.descripcion);
|
||||||
|
|
||||||
|
// }
|
||||||
|
// else {
|
||||||
|
|
||||||
|
// var existe = $.grep($("#txt" + SelectedCatalog + " option"), function (item, id) { return $(item).val() == data.codigo });
|
||||||
|
// var MaxItems = $('#btn' + SelectedCatalog).attr("MaxItems");
|
||||||
|
|
||||||
|
// if (existe.length > 0)
|
||||||
|
// toastr.warning("Esta opción ya fue agregada.", Message_Warning);
|
||||||
|
// else if (MaxItems > 0 && MaxItems < ($("#txt" + SelectedCatalog + " option").length + 1))
|
||||||
|
// toastr.warning("Solo se permite ingresar un máximo de <strong>" + MaxItems + "</strong> opciones.", Message_Warning);
|
||||||
|
// else {
|
||||||
|
// $("#txt" + SelectedCatalog)
|
||||||
|
// .append($("<option></option>")
|
||||||
|
// .attr("value", data.codigo)
|
||||||
|
// .text(data.descripcion));
|
||||||
|
|
||||||
|
// $("#txt" + SelectedCatalog).val(-1);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// $("#txt" + SelectedCatalog).trigger("change");
|
||||||
|
// $('#txt' + SelectedCatalog).closest('form').validateElement("#txt" + SelectedCatalog);
|
||||||
|
|
||||||
|
// $('#divmodalCatalogo').modal('hide');
|
||||||
|
|
||||||
|
// if (typeof DataCatalogo !== 'undefined' && $.isFunction(DataCatalogo)) {
|
||||||
|
// DataCatalogo(SelectedCatalog, data);
|
||||||
|
// }
|
||||||
|
|
||||||
|
//});
|
||||||
|
|
|
||||||
1
AYA.SlnSynor/AYA.SlnSynor/Views/Shared/_Catalogo.cshtml
Normal file
1
AYA.SlnSynor/AYA.SlnSynor/Views/Shared/_Catalogo.cshtml
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue