git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C482
This commit is contained in:
parent
161a14d52d
commit
d2095ee4e5
42 changed files with 656 additions and 295 deletions
|
|
@ -6319,6 +6319,7 @@
|
|||
<Content Include="dist\img\GotaNormativa1.png" />
|
||||
<Content Include="dist\img\GotaProyectos.png" />
|
||||
<Content Include="dist\img\icons.png" />
|
||||
<Content Include="dist\img\imagenprincipal.jpg" />
|
||||
<Content Include="dist\img\imgEst.jpg" />
|
||||
<Content Include="dist\img\imgEst1.png" />
|
||||
<Content Include="dist\img\imgNormReg.jpg" />
|
||||
|
|
@ -7429,7 +7430,7 @@
|
|||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort1.disco" />
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort.disco" />
|
||||
<Content Include="Sinort-Scripts\Aplicacion.js" />
|
||||
<Content Include="Sinort-Scripts\Contenido.js" />
|
||||
<Content Include="Sinort-Scripts\DocumentoTecnico.js" />
|
||||
|
|
@ -7486,23 +7487,23 @@
|
|||
<Generator>MSDiscoCodeGenerator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</Content>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort1.wsdl" />
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort6.xsd">
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort.wsdl" />
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort61.xsd">
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort1.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort62.xsd">
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort2.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort63.xsd">
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort3.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort64.xsd">
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort4.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort65.xsd">
|
||||
<None Include="Service References\ServicioSinortWCF\Sinort5.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Web References\Vision2020\wsapi.disco" />
|
||||
|
|
@ -7620,10 +7621,10 @@
|
|||
<WebReferences Include="Web References\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WebReferenceUrl Include="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx">
|
||||
<WebReferenceUrl Include="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx">
|
||||
<UrlBehavior>Dynamic</UrlBehavior>
|
||||
<RelPath>Web References\Vision2020\</RelPath>
|
||||
<UpdateFromURL>http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx</UpdateFromURL>
|
||||
<UpdateFromURL>http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx</UpdateFromURL>
|
||||
<ServiceLocationURL>
|
||||
</ServiceLocationURL>
|
||||
<CachedDynamicPropName>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
|
@ -51,7 +52,23 @@ namespace AYA.SlnSinort.Controllers
|
|||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
[AllowAnonymous]
|
||||
[HttpPost]
|
||||
public JsonResult VisualizarDocumentos(LoginJSON model)
|
||||
{
|
||||
Documento oDoc = new Documento();
|
||||
string strResultado = "";
|
||||
try
|
||||
{
|
||||
strResultado = oDoc.Visor_Documento(model.Usuario, model.Contrasena);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
return Json(strResultado, JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
|
@ -79,5 +80,23 @@ namespace AYA.SlnSinort.Controllers.NormativaReglamentacionTecnica
|
|||
return View();
|
||||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
[HttpPost]
|
||||
public JsonResult VisualizarDocumentos(LoginJSON model)
|
||||
{
|
||||
Documento oDoc = new Documento();
|
||||
string strResultado = "";
|
||||
try
|
||||
{
|
||||
strResultado = oDoc.Visor_Documento(model.Usuario,model.Contrasena);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
return Json(strResultado, JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using AYA.SlnSinortModel.Entidades;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
|
@ -32,6 +33,23 @@ namespace AYA.SlnSinort.Controllers.PropuestaNormativa
|
|||
InitControllers();
|
||||
return View();
|
||||
}
|
||||
[AllowAnonymous]
|
||||
[HttpPost]
|
||||
public JsonResult VisualizarDocumentos(LoginJSON model)
|
||||
{
|
||||
Documento oDoc = new Documento();
|
||||
string strResultado = "";
|
||||
try
|
||||
{
|
||||
strResultado = oDoc.Visor_Documento(model.Usuario, model.Contrasena);
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
}
|
||||
return Json(strResultado, JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -72,8 +72,8 @@ namespace AYA.SlnSinort.Controllers.Reportes
|
|||
|
||||
dtta.Fill(dts.DataTable1, emisor, documentotecnico, aplicacion, contenido, subcontenido, grupotematico, subgrupotematico, versionvigente, fechai, fechaf);
|
||||
|
||||
reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc";
|
||||
//reportViewer.LocalReport.ReportPath = @"\\10.50.1.97\Aplicaciones\SINORT(6075)\Raiz\DocumentosSinort\repFichaTecnica.rdlc";
|
||||
//reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc";
|
||||
reportViewer.LocalReport.ReportPath = @"\\10.50.1.97\Aplicaciones\SINORT(6075)\Raiz\DocumentosSinort\repFichaTecnica.rdlc";
|
||||
//reportViewer.LocalReport.ReportPath = @"D:\Aplicaciones\SINORT\Raiz\DocumentosSinort\repFichaTecnica.rdlc";
|
||||
reportViewer.LocalReport.DataSources.Clear();
|
||||
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", dts.Tables["Datatable1"]));
|
||||
|
|
@ -96,8 +96,8 @@ namespace AYA.SlnSinort.Controllers.Reportes
|
|||
|
||||
dtta.Fill(dts.DataTable1, "", "", "", "", "", "", "", "", fechainicio, fechafin);
|
||||
|
||||
reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc";
|
||||
//reportViewer.LocalReport.ReportPath = @"D:\Aplicaciones\SINORT\Raiz\DocumentosSinort\repFichaTecnica.rdlc";
|
||||
//reportViewer.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc";
|
||||
reportViewer.LocalReport.ReportPath = @"\\10.50.1.97\Aplicaciones\SINORT(6075)\Raiz\DocumentosSinort\repFichaTecnica.rdlc";
|
||||
reportViewer.LocalReport.DataSources.Clear();
|
||||
reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", dts.Tables["Datatable1"]));
|
||||
|
||||
|
|
|
|||
|
|
@ -513,7 +513,7 @@ public partial class Documento : System.Web.UI.Page
|
|||
id_Obj = row["ide_obj"].ToString();
|
||||
|
||||
string strResultado = wsVision2020Descarga.Descargar_Documento(const_strUsuario, const_strClave, const_strArchivadores, const_strGaveta, id_Carpeta, id_Obj,true) ;
|
||||
valor_retornado += GetFileName(strResultado.Replace(@"|", "")) + "|";
|
||||
valor_retornado += GetFileName(strResultado.Replace(@"|", ""));
|
||||
descargado = DescargarArchivo2020(strResultado, strCedula);
|
||||
//System.Threading.Thread.Sleep(4000);//ESPERAR POR DOS SEGUNDOS MIENTRAS SE DESCARGA EL DOCUMENTO
|
||||
//using (var client = new System.Net.WebClient())
|
||||
|
|
@ -555,7 +555,8 @@ public partial class Documento : System.Web.UI.Page
|
|||
{
|
||||
WebRequest request = WebRequest.Create(url);
|
||||
WebResponse response = request.GetResponse();
|
||||
string targetUrl = Server.MapPath("../../DocsRespuesta/" + strCedula + "/");
|
||||
string targetUrl = @"C:\DocumentosSinort\";
|
||||
//Server.MapPath("../../DocsRespuesta/" + strCedula + "/");
|
||||
if (!Directory.Exists(targetUrl))
|
||||
Directory.CreateDirectory(targetUrl);
|
||||
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ namespace webAgenciaVirtual
|
|||
|
||||
//String pathMail = ConfigurationManager.AppSettings["RutaPdf"].ToString() + txtCedulaPropietario.Text.Trim() + @"\" + ViewState["PKFORMULARIO"].ToString() + @"\";
|
||||
|
||||
if (!Directory.Exists(Serverpath))
|
||||
Directory.CreateDirectory(Serverpath);
|
||||
//if (!Directory.Exists(Serverpath))
|
||||
// Directory.CreateDirectory(Serverpath);
|
||||
|
||||
|
||||
var postedFile = context.Request.Files[0];
|
||||
|
|
@ -36,12 +36,12 @@ namespace webAgenciaVirtual
|
|||
string ext = Path.GetExtension(postedFile.FileName);
|
||||
string file;
|
||||
file = postedFile.FileName.Replace(" ", "_");
|
||||
string fileDirectory = Serverpath;
|
||||
string fileDirectory;
|
||||
string[] Arraynombre = new string[2];
|
||||
Arraynombre = file.Split('.');
|
||||
var nom = Arraynombre[0];
|
||||
file = nom + fecha + ext;
|
||||
fileDirectory = file;
|
||||
fileDirectory = nom + fecha;
|
||||
|
||||
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ namespace webAgenciaVirtual
|
|||
fileData = binaryReader.ReadBytes(context.Request.Files[0].ContentLength);
|
||||
}
|
||||
|
||||
string strResultado = oDoc.Archivar_Documento(file, nom, fileData);
|
||||
string strResultado = oDoc.Archivar_Documento(fileDirectory, file, fileData);
|
||||
|
||||
if (strResultado != string.Empty)
|
||||
context.Response.Write("Error");
|
||||
|
|
@ -63,16 +63,6 @@ namespace webAgenciaVirtual
|
|||
context.Response.Write("Success");
|
||||
|
||||
|
||||
if (context.Request.QueryString["fileName"] != null)
|
||||
{
|
||||
//file = context.Request.QueryString["fileName"].Replace(" ", "_");
|
||||
//if (File.Exists(fileDirectory + "\\" + file))
|
||||
//{
|
||||
// File.Delete(fileDirectory + "\\" + file);
|
||||
//}
|
||||
}
|
||||
|
||||
|
||||
|
||||
context.Response.AddHeader("Vary", "Accept");
|
||||
try
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace AYA.SlnSinort.Properties {
|
|||
[global::System.Configuration.ApplicationScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx")]
|
||||
public string AYA_SlnSinort_Vision2020_wsapi {
|
||||
get {
|
||||
return ((string)(this["AYA_SlnSinort_Vision2020_wsapi"]));
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<Profiles />
|
||||
<Settings>
|
||||
<Setting Name="AYA_SlnSinort_Vision2020_wsapi" Type="(Web Service URL)" Scope="Application">
|
||||
<Value Profile="(Default)">http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx</Value>
|
||||
<Value Profile="(Default)">http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx</Value>
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:DataTable1" ZOrder="1" X="754" Y="170" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
<Shape ID="DesignTable:DataTable1" ZOrder="1" X="562" Y="165" Height="286" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="235" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
|
|
@ -19,17 +19,17 @@
|
|||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="http://aya-vsrv-wstt:2005/Sinort.svc" Protocol="http" SourceId="1" />
|
||||
<MetadataSource Address="https://wcfserver.aya.go.cr:4000/Sinort.svc" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="Sinort6.xsd" MetadataType="Schema" ID="0ef0483a-10d8-400c-8aea-0bc9a1fd4924" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd1" />
|
||||
<MetadataFile FileName="Sinort61.xsd" MetadataType="Schema" ID="84e49177-b02f-4f8f-b86f-70a0eb01c136" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd0" />
|
||||
<MetadataFile FileName="Sinort62.xsd" MetadataType="Schema" ID="ff5d3548-465c-4152-9fd4-5363ed3692d4" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd3" />
|
||||
<MetadataFile FileName="Sinort63.xsd" MetadataType="Schema" ID="d4024ce7-8e4b-46bc-89b4-a6f112907265" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd2" />
|
||||
<MetadataFile FileName="Sinort64.xsd" MetadataType="Schema" ID="40f99e7f-9820-4813-8fd2-d116a106b04a" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd5" />
|
||||
<MetadataFile FileName="Sinort65.xsd" MetadataType="Schema" ID="8cd5a77f-baa9-4214-9488-0b3a4834ba9c" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd4" />
|
||||
<MetadataFile FileName="Sinort1.wsdl" MetadataType="Wsdl" ID="2f75e238-0e8e-449f-b176-f61b976df56d" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?wsdl" />
|
||||
<MetadataFile FileName="Sinort1.disco" MetadataType="Disco" ID="53962db3-fcca-45b2-8704-54742188083b" SourceId="1" SourceUrl="http://aya-vsrv-wstt:2005/Sinort.svc?disco" />
|
||||
<MetadataFile FileName="Sinort.xsd" MetadataType="Schema" ID="1ef29f51-3420-40ac-9a0d-dcc21010b061" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd3" />
|
||||
<MetadataFile FileName="Sinort1.xsd" MetadataType="Schema" ID="f2878fc7-f6fb-43f8-ab91-1f1e32301917" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd5" />
|
||||
<MetadataFile FileName="Sinort2.xsd" MetadataType="Schema" ID="a5ff2647-e634-400d-a1ef-c42615b0c57d" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd4" />
|
||||
<MetadataFile FileName="Sinort.wsdl" MetadataType="Wsdl" ID="17a7bc99-d725-4b2f-9684-fbba507c34e9" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?wsdl" />
|
||||
<MetadataFile FileName="Sinort3.xsd" MetadataType="Schema" ID="f045e43c-4ad7-4df6-b48f-89834f89fb06" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd0" />
|
||||
<MetadataFile FileName="Sinort4.xsd" MetadataType="Schema" ID="7cd60d56-3364-4d76-8c5c-93f8d8cbfa1b" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd2" />
|
||||
<MetadataFile FileName="Sinort5.xsd" MetadataType="Schema" ID="c1a462d0-96ce-4f91-a9ba-0ea97a74de3a" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd1" />
|
||||
<MetadataFile FileName="Sinort.disco" MetadataType="Disco" ID="a13ee74c-e341-415a-b61e-483c71a7a7d3" SourceId="1" SourceUrl="https://wcfserver.aya.go.cr:4000/Sinort.svc?disco" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://aya-vsrv-wstt:2005/Sinort.svc?wsdl" docRef="http://aya-vsrv-wstt:2005/Sinort.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<contractRef ref="https://wcfserver.aya.go.cr:4000/Sinort.svc?wsdl" docRef="https://wcfserver.aya.go.cr:4000/Sinort.svc" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
</discovery>
|
||||
|
|
@ -1,20 +1,39 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Sinort" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsdl:definitions xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Sinort" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
<wsp:Policy wsu:Id="WSHttpBinding_ISinort_policy">
|
||||
<wsp:ExactlyOne>
|
||||
<wsp:All>
|
||||
<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
|
||||
<wsp:Policy>
|
||||
<sp:TransportToken>
|
||||
<wsp:Policy>
|
||||
<sp:HttpsToken RequireClientCertificate="false" />
|
||||
</wsp:Policy>
|
||||
</sp:TransportToken>
|
||||
<sp:AlgorithmSuite>
|
||||
<wsp:Policy>
|
||||
<sp:Basic256 />
|
||||
</wsp:Policy>
|
||||
</sp:AlgorithmSuite>
|
||||
<sp:Layout>
|
||||
<wsp:Policy>
|
||||
<sp:Strict />
|
||||
</wsp:Policy>
|
||||
</sp:Layout>
|
||||
</wsp:Policy>
|
||||
</sp:TransportBinding>
|
||||
<wsaw:UsingAddressing />
|
||||
</wsp:All>
|
||||
</wsp:ExactlyOne>
|
||||
</wsp:Policy>
|
||||
<wsdl:types>
|
||||
<xsd:schema targetNamespace="http://tempuri.org/Imports">
|
||||
<xsd:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd0" namespace="http://tempuri.org/" />
|
||||
<xsd:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xsd:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Entidades" />
|
||||
<xsd:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Atesa.Utilitarios" />
|
||||
<xsd:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xsd:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Sinort" />
|
||||
<xsd:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd0" namespace="http://tempuri.org/" />
|
||||
<xsd:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xsd:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Entidades" />
|
||||
<xsd:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Atesa.Utilitarios" />
|
||||
<xsd:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xsd:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Sinort" />
|
||||
</xsd:schema>
|
||||
</wsdl:types>
|
||||
<wsdl:message name="ISinort_GuardarProyectoNormativo_InputMessage">
|
||||
|
|
@ -1070,9 +1089,9 @@
|
|||
</wsdl:binding>
|
||||
<wsdl:service name="Sinort">
|
||||
<wsdl:port name="WSHttpBinding_ISinort" binding="tns:WSHttpBinding_ISinort">
|
||||
<soap12:address location="http://aya-vsrv-wstt:2005/Sinort.svc/soap" />
|
||||
<soap12:address location="https://wcfserver.aya.go.cr:4000/Sinort.svc/soap" />
|
||||
<wsa10:EndpointReference>
|
||||
<wsa10:Address>http://aya-vsrv-wstt:2005/Sinort.svc/soap</wsa10:Address>
|
||||
<wsa10:Address>https://wcfserver.aya.go.cr:4000/Sinort.svc/soap</wsa10:Address>
|
||||
</wsa10:EndpointReference>
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Atesa.Utilitarios" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Atesa.Utilitarios" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xs:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xs:complexType name="AtesaJSON">
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="PermisosUsuario" nillable="true" type="q1:ArrayOfstring" />
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Entidades" />
|
||||
<xs:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Sinort" />
|
||||
<xs:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Entidades" />
|
||||
<xs:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Sinort" />
|
||||
<xs:element name="GuardarProyectoNormativo">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Entidades" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Entidades" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Sinort" />
|
||||
<xs:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Atesa.Utilitarios" />
|
||||
<xs:import schemaLocation="http://aya-vsrv-wstt:2005/Sinort.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xs:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/AYA.SlnSinortModel.Sinort" />
|
||||
<xs:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/Atesa.Utilitarios" />
|
||||
<xs:import schemaLocation="https://wcfserver.aya.go.cr:4000/Sinort.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xs:complexType name="ProyectoNormativoJSON">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension base="tns:BaseJson">
|
||||
|
|
@ -2,9 +2,9 @@
|
|||
<configurationSnapshot xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="WSHttpBinding_ISinort"><security mode="None" /></Data>" bindingType="wsHttpBinding" name="WSHttpBinding_ISinort" />
|
||||
<binding digest="System.ServiceModel.Configuration.WSHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="WSHttpBinding_ISinort"><security mode="Transport"><transport clientCredentialType="None" /></security></Data>" bindingType="wsHttpBinding" name="WSHttpBinding_ISinort" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="http://aya-vsrv-wstt:2005/Sinort.svc/soap" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISinort" contract="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="http://aya-vsrv-wstt:2005/Sinort.svc/soap" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISinort" contract="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />" contractName="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="https://wcfserver.aya.go.cr:4000/Sinort.svc/soap" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISinort" contract="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="https://wcfserver.aya.go.cr:4000/Sinort.svc/soap" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISinort" contract="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />" contractName="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="PGguYY4Nm0OatALtU0LIJrdpVAg=">
|
||||
<SavedWcfConfigurationInformation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Version="9.1" CheckSum="9PR2unnQZEp3Eq9M9Z6AE1E+BVM=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="wsHttpBinding" name="WSHttpBinding_ISinort">
|
||||
<properties>
|
||||
|
|
@ -82,13 +82,13 @@
|
|||
<serializedValue>System.ServiceModel.Configuration.WSHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.SecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
<serializedValue>Transport</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.WSHttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.WSHttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Windows</serializedValue>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
|
|
@ -127,10 +127,10 @@
|
|||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="WSHttpBinding_ISinort" contract="ServicioSinortWCF.ISinort" bindingType="wsHttpBinding" address="http://aya-vsrv-wstt:2005/Sinort.svc/soap" bindingConfiguration="WSHttpBinding_ISinort">
|
||||
<endpoint name="WSHttpBinding_ISinort" contract="ServicioSinortWCF.ISinort" bindingType="wsHttpBinding" address="https://wcfserver.aya.go.cr:4000/Sinort.svc/soap" bindingConfiguration="WSHttpBinding_ISinort">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>http://aya-vsrv-wstt:2005/Sinort.svc/soap</serializedValue>
|
||||
<serializedValue>https://wcfserver.aya.go.cr:4000/Sinort.svc/soap</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@ var NombreUsuario = $("#hiddenNombreUsuario").val();
|
|||
var LinkPropuesta = "http://10.50.1.97:6075/PropuestaNormativa/DetallePropuesta?";
|
||||
var LinkSolicitudTarea = "http://10.50.1.97:6075/Home/TareasPendientes";
|
||||
var LinkSolicitudResponder = "http://10.50.1.97:6075/NormativaReglamentacionTecnica/VerSolicitudes?";
|
||||
var LinkBusquedaFichaTecnica = "http://10.50.1.97:6075/Home/Normativa_Reglamentacion_Tecnica?solicitud=`"
|
||||
var LinkBusquedaFichaTecnica = "http://localhost/AYA.SlnSinort/Home/Normativa_Reglamentacion_Tecnica?solicitud=`";
|
||||
//"http://localhost/AYA.SlnSinort/Home/Normativa_Reglamentacion_Tecnica?solicitud=`";
|
||||
//"http://10.50.1.97:6075/Home/Normativa_Reglamentacion_Tecnica?solicitud=`"
|
||||
//aya-vsrv-apptt:2525
|
||||
//http://aya-vsrv-apptt:2525/Home/TareasPendientes
|
||||
//http://aya-vsrv-wstt:2005/Sinort.svc
|
||||
|
|
|
|||
|
|
@ -13,128 +13,128 @@ jQuery(document).ready(function () {
|
|||
$('#tableDocGotita').TableInit(0, false, false, false, false, null, null);
|
||||
$('#tableDocGotita').DataTable().column(0).visible(false);
|
||||
$('#tableDocGotita').DataTable().column(4).visible(false);
|
||||
|
||||
$('#txtDescripcion').richText({
|
||||
// text formatting
|
||||
bold: true,
|
||||
italic: true,
|
||||
underline: true,
|
||||
// text alignment
|
||||
leftAlign: true,
|
||||
centerAlign: true,
|
||||
rightAlign: true,
|
||||
// lists
|
||||
ol: true,
|
||||
ul: true,
|
||||
// title
|
||||
heading: true,
|
||||
// fonts
|
||||
fonts: true,
|
||||
fontList: ["Arial",
|
||||
"Arial Black",
|
||||
"Comic Sans MS",
|
||||
"Courier New",
|
||||
"Geneva",
|
||||
"Georgia",
|
||||
"Helvetica",
|
||||
"Impact",
|
||||
"Lucida Console",
|
||||
"Tahoma",
|
||||
"Times New Roman",
|
||||
"Verdana"],
|
||||
fontColor: true,
|
||||
fontSize: true,
|
||||
// uploads
|
||||
imageUpload: false,
|
||||
fileUpload: false,
|
||||
videoEmbed: false,
|
||||
$('#tableDocGotita').DataTable().column(5).visible(false);
|
||||
//$('#txtDescripcion').richText({
|
||||
// // text formatting
|
||||
// bold: true,
|
||||
// italic: true,
|
||||
// underline: true,
|
||||
// // text alignment
|
||||
// leftAlign: true,
|
||||
// centerAlign: true,
|
||||
// rightAlign: true,
|
||||
// // lists
|
||||
// ol: true,
|
||||
// ul: true,
|
||||
// // title
|
||||
// heading: true,
|
||||
// // fonts
|
||||
// fonts: true,
|
||||
// fontList: ["Arial",
|
||||
// "Arial Black",
|
||||
// "Comic Sans MS",
|
||||
// "Courier New",
|
||||
// "Geneva",
|
||||
// "Georgia",
|
||||
// "Helvetica",
|
||||
// "Impact",
|
||||
// "Lucida Console",
|
||||
// "Tahoma",
|
||||
// "Times New Roman",
|
||||
// "Verdana"],
|
||||
// fontColor: true,
|
||||
// fontSize: true,
|
||||
// // uploads
|
||||
// imageUpload: false,
|
||||
// fileUpload: false,
|
||||
// videoEmbed: false,
|
||||
|
||||
|
||||
// link
|
||||
urls: false,
|
||||
// tables
|
||||
table: false,
|
||||
// code
|
||||
removeStyles: false,
|
||||
code: false,
|
||||
// colors
|
||||
colors: [],
|
||||
// dropdowns
|
||||
fileHTML: '',
|
||||
imageHTML: '',
|
||||
// translations
|
||||
translations: {
|
||||
'title': 'Title',
|
||||
'white': 'White',
|
||||
'black': 'Black',
|
||||
'brown': 'Brown',
|
||||
'beige': 'Beige',
|
||||
'darkBlue': 'Dark Blue',
|
||||
'blue': 'Blue',
|
||||
'lightBlue': 'Light Blue',
|
||||
'darkRed': 'Dark Red',
|
||||
'red': 'Red',
|
||||
'darkGreen': 'Dark Green',
|
||||
'green': 'Green',
|
||||
'purple': 'Purple',
|
||||
'darkTurquois': 'Dark Turquois',
|
||||
'turquois': 'Turquois',
|
||||
'darkOrange': 'Dark Orange',
|
||||
'orange': 'Orange',
|
||||
'yellow': 'Yellow',
|
||||
'imageURL': 'Image URL',
|
||||
'fileURL': 'File URL',
|
||||
'linkText': 'Link text',
|
||||
'url': 'URL',
|
||||
'size': 'Size',
|
||||
'responsive': '<a href="https://www.jqueryscript.net/tags.php?/Responsive/">Responsive</a>',
|
||||
'text': 'Text',
|
||||
'openIn': 'Open in',
|
||||
'sameTab': 'Same tab',
|
||||
'newTab': 'New tab',
|
||||
'align': 'Align',
|
||||
'left': 'Left',
|
||||
'center': 'Center',
|
||||
'right': 'Right',
|
||||
'rows': 'Rows',
|
||||
'columns': 'Columns',
|
||||
'add': 'Add',
|
||||
'pleaseEnterURL': 'Please enter an URL',
|
||||
'videoURLnotSupported': 'Video URL not supported',
|
||||
'pleaseSelectImage': 'Please select an image',
|
||||
'pleaseSelectFile': 'Please select a file',
|
||||
'bold': 'Bold',
|
||||
'italic': 'Italic',
|
||||
'underline': 'Underline',
|
||||
'alignLeft': 'Align left',
|
||||
'alignCenter': 'Align centered',
|
||||
'alignRight': 'Align right',
|
||||
'addOrderedList': 'Add ordered list',
|
||||
'addUnorderedList': 'Add unordered list',
|
||||
'addHeading': 'Add Heading/title',
|
||||
'addFont': 'Add font',
|
||||
'addFontColor': 'Add font color',
|
||||
'addFontSize': 'Add font size',
|
||||
'addImage': 'Add image',
|
||||
'addVideo': 'Add video',
|
||||
'addFile': 'Add file',
|
||||
'addURL': 'Add URL',
|
||||
'addTable': 'Add table',
|
||||
'removeStyles': 'Remove styles',
|
||||
'code': 'Show HTML code',
|
||||
'undo': 'Deshacer',
|
||||
'redo': 'Rehacer',
|
||||
'close': 'Close'
|
||||
},
|
||||
// dev settings
|
||||
useSingleQuotes: false,
|
||||
height: 150,
|
||||
width: 200,
|
||||
heightPercentage: 0,
|
||||
id: "",
|
||||
class: "",
|
||||
useParagraph: false
|
||||
});
|
||||
// // link
|
||||
// urls: false,
|
||||
// // tables
|
||||
// table: false,
|
||||
// // code
|
||||
// removeStyles: false,
|
||||
// code: false,
|
||||
// // colors
|
||||
// colors: [],
|
||||
// // dropdowns
|
||||
// fileHTML: '',
|
||||
// imageHTML: '',
|
||||
// // translations
|
||||
// translations: {
|
||||
// 'title': 'Title',
|
||||
// 'white': 'White',
|
||||
// 'black': 'Black',
|
||||
// 'brown': 'Brown',
|
||||
// 'beige': 'Beige',
|
||||
// 'darkBlue': 'Dark Blue',
|
||||
// 'blue': 'Blue',
|
||||
// 'lightBlue': 'Light Blue',
|
||||
// 'darkRed': 'Dark Red',
|
||||
// 'red': 'Red',
|
||||
// 'darkGreen': 'Dark Green',
|
||||
// 'green': 'Green',
|
||||
// 'purple': 'Purple',
|
||||
// 'darkTurquois': 'Dark Turquois',
|
||||
// 'turquois': 'Turquois',
|
||||
// 'darkOrange': 'Dark Orange',
|
||||
// 'orange': 'Orange',
|
||||
// 'yellow': 'Yellow',
|
||||
// 'imageURL': 'Image URL',
|
||||
// 'fileURL': 'File URL',
|
||||
// 'linkText': 'Link text',
|
||||
// 'url': 'URL',
|
||||
// 'size': 'Size',
|
||||
// 'responsive': '<a href="https://www.jqueryscript.net/tags.php?/Responsive/">Responsive</a>',
|
||||
// 'text': 'Text',
|
||||
// 'openIn': 'Open in',
|
||||
// 'sameTab': 'Same tab',
|
||||
// 'newTab': 'New tab',
|
||||
// 'align': 'Align',
|
||||
// 'left': 'Left',
|
||||
// 'center': 'Center',
|
||||
// 'right': 'Right',
|
||||
// 'rows': 'Rows',
|
||||
// 'columns': 'Columns',
|
||||
// 'add': 'Add',
|
||||
// 'pleaseEnterURL': 'Please enter an URL',
|
||||
// 'videoURLnotSupported': 'Video URL not supported',
|
||||
// 'pleaseSelectImage': 'Please select an image',
|
||||
// 'pleaseSelectFile': 'Please select a file',
|
||||
// 'bold': 'Bold',
|
||||
// 'italic': 'Italic',
|
||||
// 'underline': 'Underline',
|
||||
// 'alignLeft': 'Align left',
|
||||
// 'alignCenter': 'Align centered',
|
||||
// 'alignRight': 'Align right',
|
||||
// 'addOrderedList': 'Add ordered list',
|
||||
// 'addUnorderedList': 'Add unordered list',
|
||||
// 'addHeading': 'Add Heading/title',
|
||||
// 'addFont': 'Add font',
|
||||
// 'addFontColor': 'Add font color',
|
||||
// 'addFontSize': 'Add font size',
|
||||
// 'addImage': 'Add image',
|
||||
// 'addVideo': 'Add video',
|
||||
// 'addFile': 'Add file',
|
||||
// 'addURL': 'Add URL',
|
||||
// 'addTable': 'Add table',
|
||||
// 'removeStyles': 'Remove styles',
|
||||
// 'code': 'Show HTML code',
|
||||
// 'undo': 'Deshacer',
|
||||
// 'redo': 'Rehacer',
|
||||
// 'close': 'Close'
|
||||
// },
|
||||
// // dev settings
|
||||
// useSingleQuotes: false,
|
||||
// height: 150,
|
||||
// width: 200,
|
||||
// heightPercentage: 0,
|
||||
// id: "",
|
||||
// class: "",
|
||||
// useParagraph: false
|
||||
//});
|
||||
|
||||
|
||||
});
|
||||
|
|
@ -157,12 +157,6 @@ this.GuardarGotitaNormativa = function () {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (IsNullOrEmpty(modelDocumentoAdjunto)) {
|
||||
toastr.warning("Antes de continuar; debe de ingresar un Documento Adjunto.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
if (!confirm("Va a ingresar una nueva Gotita Normativa .\n ¿Desea continuar?"))
|
||||
{ return; }
|
||||
|
||||
|
|
@ -229,8 +223,8 @@ this.GuardarAdjuntos = function (nombre) {
|
|||
Comentario: $("#txtComentarioDocAux").val(),
|
||||
IdTipoDocumento: Idetipoproyecto,
|
||||
DescTipoDocumento: DescTipoproyecto,
|
||||
RutaFisica: RepositorioLocal + ruta,
|
||||
RutaDescarga: RepositorioVirtual + ruta,
|
||||
RutaFisica: nom + FechaDocumentos,
|
||||
RutaDescarga: ruta,
|
||||
TipoArchivo: Arraynombre.pop(),
|
||||
TipoExpediente: null
|
||||
}
|
||||
|
|
@ -275,7 +269,11 @@ function ActualizarUpload() {
|
|||
|
||||
success: function (response, status) {
|
||||
|
||||
GuardarAdjuntos(NombreDocumento);
|
||||
if (response.indexOf('Success') > -1) {
|
||||
GuardarAdjuntos(NombreDocumento);
|
||||
} else {
|
||||
toastr.warning("Error al adjuntar el archivo", Message_Warning);
|
||||
}
|
||||
$('#progress .progress-bar').css(
|
||||
'width', '0%');
|
||||
ENDREQUEST();
|
||||
|
|
@ -333,13 +331,14 @@ this.CargarGridDocumento = function (data) {
|
|||
|
||||
$('#tableDocGotita').DataTable().column(0).visible(false);
|
||||
$('#tableDocGotita').DataTable().column(4).visible(false);
|
||||
|
||||
$('#tableDocGotita').DataTable().column(5).visible(false);
|
||||
var tableDocGota = $('#tableDocGotita').DataTable();
|
||||
tableDocGota.clear().draw();
|
||||
tableDocGota.row.add([lista.IdDocumentoAdjunto,
|
||||
option,
|
||||
lista.Nombre,
|
||||
lista.UsuarioCreacion,
|
||||
lista.RutaFisica,
|
||||
lista.RutaDescarga]).draw();
|
||||
|
||||
|
||||
|
|
@ -350,14 +349,40 @@ $('#tableDocGotita').on('click', 'button', function () {
|
|||
|
||||
var data = $('#tableDocGotita').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
window.open(data[4]);
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: data[4],
|
||||
Contrasena: data[5]
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
|
||||
|
||||
});
|
||||
this.AbrirDocumento = function (data) {
|
||||
var doc = RepositorioVirtual + data;
|
||||
if (data != "No existe") {
|
||||
window.open(doc);
|
||||
} else {
|
||||
toastr.warning("Problema al abrir el adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
this.EliminarAdjunto = function () {
|
||||
|
||||
if (!confirm("¿Desea eliminar el documento adjunto?")) return;
|
||||
|
||||
if (modelDocumentoAdjunto != null ) {
|
||||
|
||||
var uri = SinortWCF + '/api/EliminarbaseAdjunto';
|
||||
|
||||
var docs = {
|
||||
Id: modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto
|
||||
};
|
||||
|
||||
AjaxPostData(uri, docs, false, true, null, null, null);
|
||||
|
||||
model.Adjuntos = null;
|
||||
modelDocumentoAdjunto = null;
|
||||
var tableDocGotita = $('#tableDocGotita').DataTable();
|
||||
|
|
@ -365,5 +390,7 @@ this.EliminarAdjunto = function () {
|
|||
$('#txtComentarioDocAux').val('');
|
||||
$('#txtDescripcionDocAux').val('');
|
||||
$('#fileupload').prop("disabled", false);
|
||||
ENDREQUEST();
|
||||
}
|
||||
}
|
||||
//fin adjuntos
|
||||
|
|
|
|||
|
|
@ -4,12 +4,18 @@ var InfoIdGotitaNormativa;
|
|||
var InfoINombre;
|
||||
var InfoIDescripcion;
|
||||
var InfoIFechaCaducidad;
|
||||
var InfoDocumento = "";
|
||||
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
$('#tableGotitasPendientes').TableInit(0, false, true, true, false, null, null);
|
||||
$('#tableGotitasPendientes').DataTable().column(0).visible(false);
|
||||
$('#tableGotitasPendientes').DataTable().column(3).visible(false);
|
||||
$('#tableGotitasPendientes').DataTable().column(5).visible(false);
|
||||
$('#tableDocGotita').TableInit(0, false, false, false, false, null, null);
|
||||
$('#tableDocGotita').DataTable().column(0).visible(false);
|
||||
$('#tableDocGotita').DataTable().column(4).visible(false);
|
||||
$('#tableDocGotita').DataTable().column(5).visible(false);
|
||||
getDataModel();
|
||||
|
||||
|
||||
|
|
@ -57,7 +63,8 @@ this.CargarTablaGotitasPendientes = function (data) {
|
|||
item.Nombre,
|
||||
DateFormatNoTime(item.FechaCaducidad),
|
||||
item.Descripcion,
|
||||
option2]).draw();
|
||||
option2,
|
||||
item.IdDocumentoAdjunto]).draw();
|
||||
|
||||
});
|
||||
|
||||
|
|
@ -79,6 +86,7 @@ $('#tableGotitasPendientes').on('click', 'button', function () {
|
|||
InfoINombre = data[1];
|
||||
InfoIDescripcion = data[3];
|
||||
InfoIFechaCaducidad = data[2];
|
||||
InfoDocumento = data[5];
|
||||
|
||||
if (this.id == 'btnver') {
|
||||
|
||||
|
|
@ -94,9 +102,101 @@ $('#tableGotitasPendientes').on('click', 'button', function () {
|
|||
$('#txtFechaCaducidad').val(InfoIFechaCaducidad);
|
||||
|
||||
$("#txtAreaDescripcion").val(InfoIDescripcion);
|
||||
|
||||
|
||||
if (InfoDocumento != ""){
|
||||
CargarDocumentosGotita(InfoDocumento);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
this.CargarDocumentosGotita = function (id) {
|
||||
|
||||
var tableDocGotita = $('#tableDocGotita').DataTable();
|
||||
tableDocGotita.clear().draw();
|
||||
var uri = SinortWCF + '/api/ObtenerAdjuntos';
|
||||
|
||||
var modeldoc = {
|
||||
IdDocumentoAdjunto: id
|
||||
|
||||
};
|
||||
|
||||
AjaxPostData(uri, modeldoc, false, false, CargarTablaDocumentosGotita, null, null);
|
||||
|
||||
}
|
||||
|
||||
this.CargarTablaDocumentosGotita = function (data) {
|
||||
|
||||
var tableDocGotita = $('#tableDocGotita').DataTable();
|
||||
tableDocGotita.clear().draw();
|
||||
var lista = data;
|
||||
|
||||
$.each(lista, function (key, item) {
|
||||
|
||||
|
||||
var option = $("#ucAbrirDocumento").html();
|
||||
|
||||
var ext = item.TipoArchivo.toLowerCase();
|
||||
switch (ext) {
|
||||
case 'pdf':
|
||||
option = replaceAll("[$icon]", "fa-file-pdf-o", option);
|
||||
break;
|
||||
case 'doc':
|
||||
option = replaceAll("[$icon]", "fa-file-word-o", option);
|
||||
break;
|
||||
case 'docx':
|
||||
option = replaceAll("[$icon]", "fa-file-word-o", option);
|
||||
break;
|
||||
case 'png':
|
||||
option = replaceAll("[$icon]", "fa-file-image-o", option);
|
||||
break;
|
||||
case 'jpg':
|
||||
option = replaceAll("[$icon]", "fa-file-image-o", option);
|
||||
break;
|
||||
case 'xls':
|
||||
option = replaceAll("[$icon]", "fa-file-excel-o", option);
|
||||
break;
|
||||
case 'xlsx':
|
||||
option = replaceAll("[$icon]", "fa-file-excel-o", option);
|
||||
break;
|
||||
default:
|
||||
option = replaceAll("[$icon]", "fa-file-text", option);
|
||||
}
|
||||
|
||||
tableDocGotita.row.add([item.IdDocumentoAdjunto,
|
||||
option,
|
||||
item.Nombre,
|
||||
item.UsuarioCreacion,
|
||||
item.RutaFisica,
|
||||
item.RutaDescarga]).draw();
|
||||
|
||||
});
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
||||
$('#tableDocGotita').on('click', 'button', function () {
|
||||
|
||||
var data = $('#tableDocGotita').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: data[4],
|
||||
Contrasena: data[5]
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
|
||||
|
||||
});
|
||||
this.AbrirDocumento = function (data) {
|
||||
var doc = RepositorioVirtual + data;
|
||||
if (data != "No existe") {
|
||||
window.open(doc);
|
||||
} else {
|
||||
toastr.warning("Problema al abrir el adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
|
@ -57,7 +57,7 @@ this.ObtenerUsuarioAD = function () {
|
|||
|
||||
|
||||
|
||||
var uri ='Login/ObtenerUsuarioAD';
|
||||
var uri = SinorLoginWCF + '/api/ObtenerUsuarioAD';
|
||||
model = {
|
||||
Usuario: $('#txtUsuarioUnico').val(),
|
||||
Contrasena: $('#txtContrasena').val()
|
||||
|
|
@ -74,7 +74,7 @@ this.VerificarUsurarioBD = function (data) {
|
|||
if (data.CodigoRespuesta == 'EXITOSO') {
|
||||
|
||||
|
||||
var uri = 'Login/VerificarUsuarioBD';
|
||||
var uri = SinorLoginWCF + '/api/VerificarUsuarioBD';
|
||||
model = {
|
||||
codigo: data.LoginUsuario
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ jQuery(document).ready(function () {
|
|||
$('#tableDocFichaTecnica').TableInit(0, false, false, false, false, null, null);
|
||||
$('#tableDocFichaTecnica').DataTable().column(0).visible(false);
|
||||
$('#tableDocFichaTecnica').DataTable().column(4).visible(false);
|
||||
|
||||
$('#tableDocFichaTecnica').DataTable().column(5).visible(false);
|
||||
IDFicha = ObtenerParametros().fichatecnicaid;
|
||||
|
||||
if (IDFicha != null && IDFicha != "[$id]") {
|
||||
|
|
@ -310,8 +310,15 @@ this.GuardarFichaTecnica = function () {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!confirm("Va a ingresar una nueva Ficha Técnica .\n ¿Desea continuar?"))
|
||||
{ return; }
|
||||
if (IDFicha != null && IDFicha != "[$id]") {
|
||||
if (!confirm("Va modificar la Ficha Técnica .\n ¿Desea continuar?"))
|
||||
{ return; }
|
||||
|
||||
} else {
|
||||
if (!confirm("Va a ingresar una nueva Ficha Técnica .\n ¿Desea continuar?"))
|
||||
{ return; }
|
||||
}
|
||||
|
||||
|
||||
FichaTecnica = {
|
||||
IdFichaTecnica: IsNullOrEmpty(FichaTecnicaId) ? 0 : FichaTecnicaId,
|
||||
|
|
@ -370,7 +377,13 @@ this.GuardarFichaTecnica = function () {
|
|||
|
||||
|
||||
var uri = SinortWCF + '/api/GuardarFichaTecnica';
|
||||
AjaxPostData(uri, model, false, true, GuardarGotitaNormativa, null, null);
|
||||
AjaxPostData(uri, model, false, true, null, null, null);
|
||||
|
||||
if (IDFicha == null) {
|
||||
|
||||
GuardarGotitaNormativa();
|
||||
}
|
||||
|
||||
|
||||
if (EstadoTipo == "1") {
|
||||
model.FichaTecnicaHistorico = FichaTemporal;
|
||||
|
|
@ -493,23 +506,27 @@ this.EliminarAdjunto = function () {
|
|||
|
||||
if (!confirm("¿Desea eliminar el documento técnico ?")) return;
|
||||
|
||||
var uri = SinortWCF + '/api/EliminarbaseAdjunto';
|
||||
|
||||
var docs = {
|
||||
Id: modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto
|
||||
};
|
||||
|
||||
AjaxPostData(uri, docs, false, true, null, null, null);
|
||||
|
||||
|
||||
model.Adjuntos = null;
|
||||
modelDocumentoAdjunto = null;
|
||||
var tableDocFichaTecnica = $('#tableDocFichaTecnica').DataTable();
|
||||
tableDocFichaTecnica.clear().draw();
|
||||
$('#txtComentarioDocAux').val('');
|
||||
$('#txtDescripcionDocAux').val('');
|
||||
$('#fileupload').prop("disabled", false);
|
||||
ENDREQUEST();
|
||||
if (modelDocumentoAdjunto != null) {
|
||||
var uri = SinortWCF + '/api/EliminarbaseAdjunto';
|
||||
|
||||
var docs = {
|
||||
Id: modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto
|
||||
};
|
||||
|
||||
AjaxPostData(uri, docs, false, true, null, null, null);
|
||||
|
||||
|
||||
model.Adjuntos = null;
|
||||
modelDocumentoAdjunto = null;
|
||||
var tableDocFichaTecnica = $('#tableDocFichaTecnica').DataTable();
|
||||
tableDocFichaTecnica.clear().draw();
|
||||
$('#txtComentarioDocAux').val('');
|
||||
$('#txtDescripcionDocAux').val('');
|
||||
$('#fileupload').prop("disabled", false);
|
||||
ENDREQUEST();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -841,7 +858,7 @@ this.CargarFormulario = function (data) {
|
|||
model = data;
|
||||
|
||||
if (model.FichaTecnica != null) {
|
||||
|
||||
$('#txtListaPalabraClave').val(model.FichaTecnica.ListaPalabrasClaves);
|
||||
$("#txtAreaIdentificacion").val(model.FichaTecnica.Identificacion);
|
||||
$("#hiddenEstado").val(model.FichaTecnica.IdEstado);
|
||||
$("#txtEstado").val(model.FichaTecnica.DescripcionEstado);
|
||||
|
|
@ -991,7 +1008,7 @@ this.CargarGridPalabraClaveFichaTecnica = function (data) {
|
|||
nombrepalabra = item.Descripcion + " ,"
|
||||
|
||||
});
|
||||
$("#txtListaPalabraClave").val(nombrepalabra);
|
||||
|
||||
|
||||
|
||||
ENDREQUEST();
|
||||
|
|
@ -1100,8 +1117,8 @@ this.GuardarAdjuntos = function (nombre) {
|
|||
Comentario: $("#txtComentarioDocAux").val(),
|
||||
IdTipoDocumento: Idetipoproyecto,
|
||||
DescTipoDocumento: DescTipoproyecto,
|
||||
RutaFisica: RepositorioLocal + ruta,
|
||||
RutaDescarga: RepositorioVirtual + ruta,
|
||||
RutaFisica: nom + FechaDocumentos,
|
||||
RutaDescarga: ruta,
|
||||
TipoArchivo: Arraynombre.pop(),
|
||||
TipoExpediente: null
|
||||
}
|
||||
|
|
@ -1132,8 +1149,6 @@ function ActualizarUpload() {
|
|||
return;
|
||||
}
|
||||
|
||||
var fr = new FileReader();
|
||||
fr.readAsArrayBuffer(data.files[0]);
|
||||
|
||||
data.submit();
|
||||
},
|
||||
|
|
@ -1217,7 +1232,7 @@ this.CargarGridDocumento = function (data) {
|
|||
|
||||
$('#tableDocFichaTecnica').DataTable().column(0).visible(false);
|
||||
$('#tableDocFichaTecnica').DataTable().column(4).visible(false);
|
||||
|
||||
$('#tableDocFichaTecnica').DataTable().column(5).visible(false);
|
||||
var Eliminar = $("#ucItemsEliminar").html();
|
||||
|
||||
var tableDocFichaTecnica = $('#tableDocFichaTecnica').DataTable();
|
||||
|
|
@ -1227,6 +1242,7 @@ this.CargarGridDocumento = function (data) {
|
|||
option,
|
||||
lista.Nombre,
|
||||
lista.UsuarioCreacion,
|
||||
lista.RutaFisica,
|
||||
lista.RutaDescarga]).draw();
|
||||
|
||||
|
||||
|
|
@ -1236,9 +1252,27 @@ $('#tableDocFichaTecnica').on('click', 'button', function () {
|
|||
|
||||
var data = $('#tableDocFichaTecnica').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
window.open(data[4]);
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: data[4],
|
||||
Contrasena: data[5]
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
|
||||
|
||||
});
|
||||
this.AbrirDocumento = function (data) {
|
||||
var doc = RepositorioVirtual + data;
|
||||
if (data != "No existe") {
|
||||
window.open(doc);
|
||||
} else {
|
||||
toastr.warning("Problema al abrir el adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
||||
//fin adjuntos
|
||||
|
||||
this.ValidarNombre = function () {
|
||||
|
|
@ -1319,6 +1353,7 @@ this.AgregarUsuario = function () {
|
|||
|
||||
if (!confirm("¿Desea agregar a un nuevo destinatario?")) return;
|
||||
|
||||
if ($("#txtUsuario").val() != ''){
|
||||
var tableParticipantes = $('#tableDestinatarios').DataTable();
|
||||
var option = $("#ucbtnRemoverDestinatario").html();
|
||||
var a = $("#hiddenusuario").val();
|
||||
|
|
@ -1332,6 +1367,9 @@ this.AgregarUsuario = function () {
|
|||
toastr.success(Message_Default, Message_Success);
|
||||
$('#hiddenusuario').val('');
|
||||
$('#txtUsuario').val('');
|
||||
} else {
|
||||
toastr.warning("Debe seleccionar un usuario", Message_Warning);
|
||||
}
|
||||
}
|
||||
|
||||
this.LimpiarUsuario = function () {
|
||||
|
|
@ -1645,6 +1683,10 @@ $('#tableContenido').on('click', 'button', function () {
|
|||
|
||||
$('#hiddenContenido').val(data.codigo);
|
||||
$('#txtContenido').val(data.descripcion);
|
||||
|
||||
$('#hiddenSubCategoriaContenido').val('');
|
||||
$('#txtSubCategoriaContenido').val('');
|
||||
|
||||
}
|
||||
$('#modalContenido').modal('hide');
|
||||
|
||||
|
|
@ -1673,6 +1715,9 @@ $('#tableGrupoTematico').on('click', 'button', function () {
|
|||
|
||||
$('#hiddenGrupoTematico').val(data.codigo);
|
||||
$('#txtGrupoTematico').val(data.descripcion);
|
||||
|
||||
$('#hiddenSubCategoriaGrupoTematico').val('');
|
||||
$('#txtSubCategoriaGrupoTematico').val('');
|
||||
}
|
||||
$('#modalGrupoTematico').modal('hide');
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ jQuery(document).ready(function () {
|
|||
$('#tableDocSolicitud').TableInit(0, false, false, false, false, null, null);
|
||||
$('#tableDocSolicitud').DataTable().column(0).visible(false);
|
||||
$('#tableDocSolicitud').DataTable().column(4).visible(false);
|
||||
$('#tableDocSolicitud').DataTable().column(5).visible(false);
|
||||
});
|
||||
|
||||
this.CargarTipoSolicitud = function () {
|
||||
|
|
@ -422,8 +423,8 @@ this.GuardarAdjuntos = function (nombre) {
|
|||
Comentario: null,
|
||||
IdTipoDocumento: Idetipoproyecto,
|
||||
DescTipoDocumento: DescTipoproyecto,
|
||||
RutaFisica: RepositorioLocal + ruta,
|
||||
RutaDescarga: RepositorioVirtual + ruta,
|
||||
RutaFisica: nom + FechaDocumentos,
|
||||
RutaDescarga: ruta,
|
||||
TipoArchivo: Arraynombre.pop(),
|
||||
TipoExpediente: null
|
||||
}
|
||||
|
|
@ -469,7 +470,11 @@ function ActualizarUpload() {
|
|||
|
||||
success: function (response, status) {
|
||||
|
||||
GuardarAdjuntos(NombreDocumento);
|
||||
if (response.indexOf('Success') > -1) {
|
||||
GuardarAdjuntos(NombreDocumento);
|
||||
} else {
|
||||
toastr.warning("Error al adjuntar el archivo", Message_Warning);
|
||||
}
|
||||
$('#progress .progress-bar').css(
|
||||
'width', '0%');
|
||||
ENDREQUEST();
|
||||
|
|
@ -527,13 +532,14 @@ this.CargarGridDocumento = function (data) {
|
|||
|
||||
$('#tableDocSolicitud').DataTable().column(0).visible(false);
|
||||
$('#tableDocSolicitud').DataTable().column(4).visible(false);
|
||||
|
||||
$('#tableDocSolicitud').DataTable().column(5).visible(false);
|
||||
var tableDocFichaTecnica = $('#tableDocSolicitud').DataTable();
|
||||
tableDocFichaTecnica.clear().draw();
|
||||
tableDocFichaTecnica.row.add([lista.IdDocumentoAdjunto,
|
||||
option,
|
||||
lista.Nombre,
|
||||
lista.UsuarioCreacion,
|
||||
lista.RutaFisica,
|
||||
lista.RutaDescarga]).draw();
|
||||
|
||||
|
||||
|
|
@ -543,21 +549,53 @@ $('#tableDocSolicitud').on('click', 'button', function () {
|
|||
|
||||
var data = $('#tableDocSolicitud').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
window.open(data[4]);
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: data[4],
|
||||
Contrasena: data[5]
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
|
||||
|
||||
});
|
||||
this.AbrirDocumento = function (data) {
|
||||
var doc = RepositorioVirtual + data;
|
||||
if (data != "No existe") {
|
||||
window.open(doc);
|
||||
} else {
|
||||
toastr.warning("Problema al abrir el adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
||||
this.EliminarAdjunto = function () {
|
||||
|
||||
if (!confirm("¿Desea eliminar el documento adjunto?")) return;
|
||||
|
||||
model.Adjuntos = null;
|
||||
modelDocumentoAdjunto = null;
|
||||
var tableDocSolicitud = $('#tableDocSolicitud').DataTable();
|
||||
tableDocSolicitud.clear().draw();
|
||||
$('#txtComentarioDocAux').val('');
|
||||
$('#txtDescripcionDocAux').val('');
|
||||
$('#fileupload').prop("disabled", false);
|
||||
|
||||
if (modelDocumentoAdjunto != null) {
|
||||
var uri = SinortWCF + '/api/EliminarbaseAdjunto';
|
||||
|
||||
var docs = {
|
||||
Id: modelDocumentoAdjunto.Adjuntos.IdDocumentoAdjunto
|
||||
};
|
||||
|
||||
AjaxPostData(uri, docs, false, true, null, null, null);
|
||||
|
||||
|
||||
model.Adjuntos = null;
|
||||
modelDocumentoAdjunto = null;
|
||||
var tableDocSolicitud = $('#tableDocSolicitud').DataTable();
|
||||
tableDocSolicitud.clear().draw();
|
||||
$('#txtComentarioDocAux').val('');
|
||||
$('#txtDescripcionDocAux').val('');
|
||||
$('#fileupload').prop("disabled", false);
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
//fin adjuntos
|
||||
|
||||
|
|
|
|||
|
|
@ -187,10 +187,12 @@ this.CargarDocumento = function (id) {
|
|||
}
|
||||
|
||||
this.ObtenerRutaDocumento = function (data) {
|
||||
$("#hiddenRuta").val(data[0].RutaDescarga)
|
||||
$("#hiddenRutaDescarga").val(data[0].RutaDescarga)
|
||||
$("#hiddenRutaFisica").val(data[0].RutaFisica)
|
||||
}
|
||||
this.ObtenerRutaDocumentoRespuesta = function (data) {
|
||||
$("#hiddenRutaRespuesta").val(data[0].RutaDescarga);
|
||||
$("#hiddenRutaRespuestaDescarga").val(data[0].RutaDescarga);
|
||||
$("#hiddenRutaRespuestaFisica").val(data[0].RutaFisica);
|
||||
$("#txtDocumentoAdjuntoRespuesta").val(data[0].Nombre);
|
||||
}
|
||||
|
||||
|
|
@ -219,8 +221,14 @@ $('#tableSolicitudes').on('click', 'button', function () {
|
|||
});
|
||||
|
||||
this.AbrirArchivoAdjunto = function () {
|
||||
if ($("#hiddenRuta").val() != '') {
|
||||
window.open($("#hiddenRuta").val());
|
||||
if ($("#hiddenRutaDescarga").val() != '') {
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: $("#hiddenRutaFisica").val(),
|
||||
Contrasena: $("#hiddenRutaDescarga").val()
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
} else {
|
||||
toastr.warning("La solicitud no tiene documento adjunto", Message_Warning);
|
||||
}
|
||||
|
|
@ -228,10 +236,27 @@ this.AbrirArchivoAdjunto = function () {
|
|||
}
|
||||
|
||||
this.AbrirArchivoAdjuntoRespuesta = function () {
|
||||
if ($("#hiddenRutaRespuesta").val() != '') {
|
||||
window.open($("#hiddenRutaRespuesta").val());
|
||||
if ($("#hiddenRutaRespuestaDescarga").val() != '') {
|
||||
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: $("#hiddenRutaRespuestaFisica").val(),
|
||||
Contrasena: $("#hiddenRutaRespuestaDescarga").val()
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
} else {
|
||||
toastr.warning("La respuesta a la solicitud no tiene documento adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
}
|
||||
this.AbrirDocumento = function (data) {
|
||||
var doc = RepositorioVirtual + data;
|
||||
if (data != "No existe") {
|
||||
window.open(doc);
|
||||
} else {
|
||||
toastr.warning("Problema al abrir el adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
|
|
@ -2256,8 +2256,8 @@ this.GuardarAdjuntos = function (nombre) {
|
|||
NumeroTipoDocumento: model.ProyectoNormativo.IdProyectoNormativo,
|
||||
IdSubTipoDocumento: IdSubTipoDocumento,
|
||||
DescIdSubTipoDocumento: SubTipoproyecto,
|
||||
RutaFisica: RepositorioLocal + ruta,
|
||||
RutaDescarga: RepositorioVirtual + ruta,
|
||||
RutaFisica: nom + FechaDocumentos,
|
||||
RutaDescarga: ruta,
|
||||
TipoArchivo: Arraynombre.pop(),
|
||||
TipoExpediente: TipoExp
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ jQuery(document).ready(function () {
|
|||
$('#tableDocFichaTecnica').TableInit(0, false, false, false, false, null, null);
|
||||
$('#tableDocFichaTecnica').DataTable().column(0).visible(false);
|
||||
$('#tableDocFichaTecnica').DataTable().column(4).visible(false);
|
||||
$('#tableDocFichaTecnica').DataTable().column(5).visible(false);
|
||||
getDataModel();
|
||||
|
||||
});
|
||||
|
|
@ -375,11 +376,19 @@ this.CargarDocumento = function (id) {
|
|||
|
||||
}
|
||||
this.ObtenerRutaDocumento = function (data) {
|
||||
$("#hiddenRuta").val(data[0].RutaDescarga)
|
||||
$("#hiddenRutaDescarga").val(data[0].RutaDescarga)
|
||||
$("#hiddenRutaFisica").val(data[0].RutaFisica)
|
||||
}
|
||||
this.AbrirArchivoAdjunto = function () {
|
||||
if ($("#hiddenRuta").val() != '') {
|
||||
window.open($("#hiddenRuta").val());
|
||||
if ($("#hiddenRutaDescarga").val() != '') {
|
||||
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: $("#hiddenRutaFisica").val(),
|
||||
Contrasena: $("#hiddenRutaDescarga").val()
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
} else {
|
||||
toastr.warning("La solicitud no tiene documento adjunto", Message_Warning);
|
||||
}
|
||||
|
|
@ -441,9 +450,26 @@ $('#tableDocFichaTecnica').on('click', 'button', function () {
|
|||
|
||||
var data = $('#tableDocFichaTecnica').DataTable().row($(this).parents('tr')).data();
|
||||
|
||||
window.open(data[4]);
|
||||
var uri = server + 'NormativaReglamentacionTecnica/VisualizarDocumentos';
|
||||
model = {
|
||||
Usuario: data[4],
|
||||
Contrasena: data[5]
|
||||
}
|
||||
|
||||
AjaxPostData(uri, model, false, false, AbrirDocumento, null, null);
|
||||
|
||||
|
||||
});
|
||||
this.AbrirDocumento = function (data) {
|
||||
var doc = RepositorioVirtual + data;
|
||||
if (data != "No existe") {
|
||||
window.open(doc);
|
||||
} else {
|
||||
toastr.warning("Problema al abrir el adjunto", Message_Warning);
|
||||
}
|
||||
|
||||
ENDREQUEST();
|
||||
}
|
||||
this.EliminarAdjunto = function () {
|
||||
|
||||
if (!confirm("¿Desea eliminar el documento técnico ?")) return;
|
||||
|
|
@ -851,8 +877,8 @@ this.GuardarAdjuntos = function (nombre) {
|
|||
Comentario: $("#txtComentarioDocAux").val(),
|
||||
IdTipoDocumento: Idetipoproyecto,
|
||||
DescTipoDocumento: DescTipoproyecto,
|
||||
RutaFisica: RepositorioLocal + ruta,
|
||||
RutaDescarga: RepositorioVirtual + ruta,
|
||||
RutaFisica: nom + FechaDocumentos,
|
||||
RutaDescarga: ruta,
|
||||
TipoArchivo: Arraynombre.pop(),
|
||||
TipoExpediente: null
|
||||
}
|
||||
|
|
@ -899,7 +925,7 @@ this.CargarGridDocumento = function (data) {
|
|||
|
||||
$('#tableDocFichaTecnica').DataTable().column(0).visible(false);
|
||||
$('#tableDocFichaTecnica').DataTable().column(4).visible(false);
|
||||
|
||||
$('#tableDocFichaTecnica').DataTable().column(5).visible(false);
|
||||
|
||||
var tableDocFichaTecnica = $('#tableDocFichaTecnica').DataTable();
|
||||
tableDocFichaTecnica.clear().draw();
|
||||
|
|
@ -908,6 +934,7 @@ this.CargarGridDocumento = function (data) {
|
|||
option,
|
||||
lista.Nombre,
|
||||
lista.UsuarioCreacion,
|
||||
lista.RutaFisica,
|
||||
lista.RutaDescarga]).draw();
|
||||
|
||||
|
||||
|
|
@ -947,8 +974,11 @@ function ActualizarUpload() {
|
|||
},
|
||||
|
||||
success: function (response, status) {
|
||||
|
||||
GuardarAdjuntos(NombreDocumento);
|
||||
if (response.indexOf('Success') > -1) {
|
||||
GuardarAdjuntos(NombreDocumento);
|
||||
} else {
|
||||
toastr.warning("Error al adjuntar el archivo", Message_Warning);
|
||||
}
|
||||
$('#progress .progress-bar').css(
|
||||
'width', '0%');
|
||||
ENDREQUEST();
|
||||
|
|
|
|||
|
|
@ -25,18 +25,18 @@
|
|||
</div>
|
||||
|
||||
@*---------------------Cuerpo---------------------------------------------------------*@
|
||||
<div class="form-group " id="divDescripcion">
|
||||
@*<div class="form-group " id="divDescripcion">
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblDescripcion">Cuerpo</label>
|
||||
<div class="input-group input-group-sm col-lg-8 col-md-8 col-sm-8 col-xs-8">
|
||||
<textarea name="txtDescripcion" id="txtDescripcion"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
@*<div class="form-group " id="divDescripcion">
|
||||
</div>*@
|
||||
<div class="form-group " id="divDescripcion">
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblDescripcion">Cuerpo</label>
|
||||
<div class="input-group input-group-sm col-lg-8 col-md-8 col-sm-8 col-xs-8">
|
||||
<textarea name="txtDescripcion" rows="8" cols="61" id="txtDescripcion" style="resize: none"></textarea>
|
||||
<textarea name="txtDescripcion" rows="8" cols="61" id="txtDescripcion" style="resize: none" required></textarea>
|
||||
</div>
|
||||
</div>*@
|
||||
</div>
|
||||
|
||||
@*---------------------Fecha caducidad---------------------------------------------*@
|
||||
<div class="form-group" id="divFechaCaducidad">
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<div class="input-group input-group-sm col-lg-4 col-md-6 col-sm-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaCaducidad"></i></span>
|
||||
<input name="txtFechaCaducidad" class="form-control imput-xs" id="txtFechaCaducidad" type="text" readonly="readonly" dateformat="DD-MMMM-YYYY">
|
||||
<input name="txtFechaCaducidad" class="form-control imput-xs" id="txtFechaCaducidad" type="text" readonly="readonly" dateformat="DD-MMMM-YYYY" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Creado por</th>
|
||||
<th></th>
|
||||
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
<th class="col-sm-6">Fecha de vencimiento</th>
|
||||
<th></th>
|
||||
<th class="col-sm-5"></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
@ -51,7 +52,13 @@
|
|||
[$Gotita]
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div id="ucAbrirDocumento" style="display:none;">
|
||||
<span>
|
||||
<button type="button" id="btnAbrirAdjuntos" class="btn btn-default btn-xs" >
|
||||
<i class="fa [$icon]"></i>
|
||||
</button>
|
||||
</span>
|
||||
</div>
|
||||
@section Modals{
|
||||
|
||||
@*---------------------Ver Gotita---------------------------------------------------------*@
|
||||
|
|
@ -91,6 +98,20 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
@*---------------------Documento ---------------------------------------------------------*@
|
||||
<table id="tableDocGotita" class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th class="col-sm-1"></th>
|
||||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Creado por</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<form id="formPrincipal" class="form-horizontal" role="form" >
|
||||
|
||||
|
||||
<img class="img-responsive" style="position: absolute; z-index: 1; width: 100%; height: 85%;" src="~/dist/img/2386_white_abstract.jpg">
|
||||
<img class="img-responsive" style="position: absolute; z-index: 1; width: 100%; height: 85%;" src="~/dist/img/imagenprincipal.jpg">
|
||||
|
||||
@*<div class="row">
|
||||
|
||||
|
|
|
|||
|
|
@ -306,7 +306,8 @@
|
|||
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblDocumentoAdjunto">Documento Adjunto</label>
|
||||
<div class="input-group input-group-sm">
|
||||
<input id="hiddenRuta" type="hidden">
|
||||
<input id="hiddenRutaFisica" type="hidden">
|
||||
<input id="hiddenRutaDescarga" type="hidden">
|
||||
<input name="txtDocumentoAdjunto" title="" class="form-control TextBoxCatalogo" id="txtDocumentoAdjunto" type="text" readonly style="cursor: not-allowed;">
|
||||
|
||||
<span class="input-group-btn">
|
||||
|
|
@ -561,6 +562,7 @@
|
|||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Creado por</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
|
|
@ -358,6 +358,7 @@
|
|||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Creado por</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@
|
|||
<th class="col-sm-4">Nombre</th>
|
||||
<th class="col-sm-4">Creado por</th>
|
||||
<th></th>
|
||||
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -82,7 +82,8 @@
|
|||
</div>*@
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblDocumentoAdjunto">Documento Adjunto</label>
|
||||
<div class="input-group input-group-sm">
|
||||
<input id="hiddenRuta" type="hidden">
|
||||
<input id="hiddenRutaFisica" type="hidden">
|
||||
<input id="hiddenRutaDescarga" type="hidden">
|
||||
<input name="txtDocumentoAdjunto" title="" class="form-control TextBoxCatalogo" id="txtDocumentoAdjunto" type="text" readonly style="cursor: not-allowed;">
|
||||
|
||||
<span class="input-group-btn">
|
||||
|
|
@ -136,7 +137,8 @@
|
|||
@*---------------------Documento respuesta---------------------------------------------------------*@
|
||||
<label class="col-sm-4 control-label ControlsForms" id="lblDocumentoAdjuntoRespuesta">Documento Adjunto Respuesta</label>
|
||||
<div class="input-group input-group-sm">
|
||||
<input id="hiddenRutaRespuesta" type="hidden">
|
||||
<input id="hiddenRutaRespuestaFisica" type="hidden">
|
||||
<input id="hiddenRutaRespuestaDescarga" type="hidden">
|
||||
<input name="txtDocumentoAdjuntoRespuesta" title="" class="form-control TextBoxCatalogo" id="txtDocumentoAdjuntoRespuesta" type="text" readonly style="cursor: not-allowed;">
|
||||
|
||||
<span class="input-group-btn">
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<DiscoveryClientResultsFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<Results>
|
||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx?disco" filename="wsapi.disco" />
|
||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx?wsdl" filename="wsapi.wsdl" />
|
||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx?wsdl" filename="wsapi.wsdl" />
|
||||
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.DiscoveryDocumentReference" url="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx?disco" filename="wsapi.disco" />
|
||||
</Results>
|
||||
</DiscoveryClientResultsFile>
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<discovery xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/disco/">
|
||||
<contractRef ref="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx?wsdl" docRef="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" xmlns:q1="http://vision2020serverapi.org/" binding="q1:wsapiSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" xmlns:q2="http://vision2020serverapi.org/" binding="q2:wsapiSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<contractRef ref="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx?wsdl" docRef="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" xmlns="http://schemas.xmlsoap.org/disco/scl/" />
|
||||
<soap address="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" xmlns:q1="http://vision2020serverapi.org/" binding="q1:wsapiSoap" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
<soap address="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" xmlns:q2="http://vision2020serverapi.org/" binding="q2:wsapiSoap12" xmlns="http://schemas.xmlsoap.org/disco/soap/" />
|
||||
</discovery>
|
||||
|
|
@ -5865,16 +5865,16 @@
|
|||
</wsdl:binding>
|
||||
<wsdl:service name="wsapi">
|
||||
<wsdl:port name="wsapiSoap" binding="tns:wsapiSoap">
|
||||
<soap:address location="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
<soap:address location="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="wsapiSoap12" binding="tns:wsapiSoap12">
|
||||
<soap12:address location="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
<soap12:address location="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="wsapiHttpGet" binding="tns:wsapiHttpGet">
|
||||
<http:address location="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
<http:address location="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
</wsdl:port>
|
||||
<wsdl:port name="wsapiHttpPost" binding="tns:wsapiHttpPost">
|
||||
<http:address location="http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
<http:address location="http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx" />
|
||||
</wsdl:port>
|
||||
</wsdl:service>
|
||||
</wsdl:definitions>
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
<add key="const_strGaveta" value="Sinort"/>
|
||||
<add key="const_strLlaves" value="Nombre_Documento"/>
|
||||
|
||||
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
|
||||
<add key="SinortWCF" value="http://localhost/AYA.SlnSinort.WCF/Sinort.svc" />
|
||||
<add key="SinortCatalogosWCF" value="http://localhost/AYA.SlnSinort.WCF/SinortCatalogos.svc" />
|
||||
<add key="FileRepository" value="C:\DocumentosSinort\" />
|
||||
<add key="HttpRepository" value="http://localhost/AYA.SlnSinort/DocumentosSINORT/" />
|
||||
|
|
@ -75,7 +75,8 @@
|
|||
<add assembly="Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
<httpRuntime targetFramework="4.5" />
|
||||
<httpRuntime targetFramework="4.5" maxRequestLength="102400" executionTimeout="3600" />
|
||||
|
||||
<httpHandlers>
|
||||
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
|
||||
</httpHandlers>
|
||||
|
|
@ -234,12 +235,14 @@
|
|||
<bindings>
|
||||
<wsHttpBinding>
|
||||
<binding name="WSHttpBinding_ISinort">
|
||||
<security mode="None" />
|
||||
<security mode="Transport">
|
||||
<transport clientCredentialType="None" />
|
||||
</security>
|
||||
</binding>
|
||||
</wsHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="http://aya-vsrv-wstt:2005/Sinort.svc/soap"
|
||||
<endpoint address="https://wcfserver.aya.go.cr:4000/Sinort.svc/soap"
|
||||
binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISinort"
|
||||
contract="ServicioSinortWCF.ISinort" name="WSHttpBinding_ISinort" />
|
||||
</client>
|
||||
|
|
@ -248,7 +251,7 @@
|
|||
<applicationSettings>
|
||||
<AYA.SlnSinort.Properties.Settings>
|
||||
<setting name="AYA_SlnSinort_Vision2020_wsapi" serializeAs="String">
|
||||
<value>http://aya-vsrv-scanv/Vision2020ServerAPIOnLine/wsapi.asmx</value>
|
||||
<value>http://10.50.1.13/Vision2020ServerAPIOnLine/wsapi.asmx</value>
|
||||
</setting>
|
||||
</AYA.SlnSinort.Properties.Settings>
|
||||
</applicationSettings>
|
||||
|
|
|
|||
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/imagenprincipal.jpg
vendored
Normal file
BIN
AYA.SlnSynor/AYA.SlnSynor/dist/img/imagenprincipal.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.1 MiB |
Loading…
Add table
Reference in a new issue