From 4aaf6b896b548f5d262ded39ac8b3557e1d6993c Mon Sep 17 00:00:00 2001 From: jnunez Date: Wed, 10 Oct 2018 05:01:00 +0000 Subject: [PATCH] git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C488 --- .../Controllers/ReportesController.cs | 86 +------------------ AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx | 52 ++++++----- AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.cs | 20 +++-- .../AYA.SlnSynor/ReporteFT.aspx.designer.cs | 54 ++++++++---- .../datasets/dtsFichaTecnicaFinal.Designer.cs | 30 ++++++- .../datasets/dtsFichaTecnicaFinal.xsd | 4 +- .../datasets/dtsFichaTecnicaFinal.xss | 4 +- .../EstadisticaReporte/FichaTecnica.js | 5 +- .../AYA.SlnSynor/Sinort-Scripts/Global.js | 22 ++--- .../Views/Reportes/FichaTecnica.cshtml | 2 +- AYA.SlnSynor/AYA.SlnSynor/Web.config | 8 +- 11 files changed, 130 insertions(+), 157 deletions(-) diff --git a/AYA.SlnSynor/AYA.SlnSynor/Controllers/ReportesController.cs b/AYA.SlnSynor/AYA.SlnSynor/Controllers/ReportesController.cs index 87a588fca..8148c93a9 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Controllers/ReportesController.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Controllers/ReportesController.cs @@ -117,91 +117,9 @@ namespace AYA.SlnSinort.Controllers.Reportes #endregion - #region Configuracion y Parametrizacion - [AllowAnonymous] - [HttpPost] - public ActionResult CargarReporteParemetros(int? emisor, int? documentotecnico, int? aplicacion, int? contenido, - int? subcontenido, int? grupotematico, int? subgrupotematico, string versionvigente, string fechainicio, string fechafin,string usuario,string nombreusuario) - { - Session["UserName"] = usuario; - Session["FullName"] = nombreusuario; - InitControllers(); - DataTable1TableAdapter dtta = new DataTable1TableAdapter(); - dtsFichaTecnicaFinal dts = new dtsFichaTecnicaFinal(); - ReportViewer reportViewer = new ReportViewer(); - try - { - - reportViewer.ProcessingMode = ProcessingMode.Local; - reportViewer.SizeToReportContent = true; - reportViewer.Width = Unit.Percentage(90); - reportViewer.Height = Unit.Percentage(100); - - DateTime fechasinparametro = DateTime.Today; - fechasinparametro = fechasinparametro.AddYears(20); - DateTime fechai = fechainicio == "" ? Convert.ToDateTime("1900-01-01") : Convert.ToDateTime(fechainicio); - DateTime fechaf = fechafin == "" ? fechasinparametro : Convert.ToDateTime(fechafin); - versionvigente = versionvigente == "" ? null : versionvigente; - - - 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 = @"D:\Aplicaciones\SINORT\Raiz\DocumentosSinort\repFichaTecnica.rdlc"; - reportViewer.LocalReport.DataSources.Clear(); - reportViewer.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", dts.Tables["Datatable1"])); - - reportViewer.LocalReport.Refresh(); - - ViewBag.ReportViewer = reportViewer; - - - - } - catch (Exception ex) - { - return Json(ex.Message.ToString(), JsonRequestBehavior.AllowGet); - - } + - return PartialView("~/Views/Reportes/FichaTecnica.cshtml", reportViewer); - - } - [AllowAnonymous] - [HttpPost] - public ActionResult CargarReporte( ) - { - DataTable1TableAdapter dtta = new DataTable1TableAdapter(); - dtsFichaTecnicaFinal dts = new dtsFichaTecnicaFinal(); - ReportViewer reportViewer = new ReportViewer(); - - reportViewer.ProcessingMode = ProcessingMode.Local; - reportViewer.SizeToReportContent = true; - reportViewer.Width = Unit.Percentage(90); - reportViewer.Height = Unit.Percentage(100); - DateTime fechainicio = Convert.ToDateTime("1900-01-01"); - DateTime fechafin = DateTime.Today; - fechafin = fechafin.AddYears(20); - dtta.Fill(dts.DataTable1, null, null, null,null, null, null, null, null, fechainicio, fechafin); - - 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"])); - - - reportViewer.LocalReport.Refresh(); - - ViewBag.ReportViewer = reportViewer; - - return PartialView("~/Views/Reportes/FichaTecnica.cshtml", reportViewer); - } - - - #endregion - + } } \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx b/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx index aa4668a75..d50ac44ce 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx +++ b/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx @@ -49,7 +49,19 @@
- +
+ +
+ +
+
+ +
+ +
+ +
+
@@ -83,26 +95,6 @@
- - -
- -
- - - - - - - -
-
- -
@@ -156,6 +148,7 @@
+
@@ -232,6 +225,23 @@
+
+ +
+ + + + + + + +
+
+
diff --git a/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.cs b/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.cs index ba178b3d1..7a08e0f14 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.cs @@ -27,7 +27,7 @@ namespace AYA.SlnSinort.ReporteASP ReportViewer1.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc"; - dtta.Fill(dts.DataTable1, null, null, null, null, null, null, null, null, Convert.ToDateTime("1900-01-01"), DateTime.Today.AddYears(20)); + dtta.Fill(dts.DataTable1, null, null, null, null, null, null, null, null, Convert.ToDateTime("1900-01-01"), DateTime.Today.AddYears(20),null,null); ReportViewer1.LocalReport.DataSources.Clear(); ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", dts.Tables["Datatable1"])); @@ -54,22 +54,24 @@ namespace AYA.SlnSinort.ReporteASP int? sub_contenido = null; int? grupo_tematico = null; int? sub_grupo_tematico = null; + int? id_ficha_tecnica = null; emisor = hiddenEmisor.Value == "" ? emisor : Convert.ToInt32(hiddenEmisor.Value); - documento_tecnico = hiddenDocumentoTecnico.Value == "" ? emisor : Convert.ToInt32(hiddenDocumentoTecnico.Value); - aplicacion = hiddenAplicacion.Value == "" ? emisor : Convert.ToInt32(hiddenAplicacion.Value); - contenido = hiddenContenido.Value == "" ? emisor : Convert.ToInt32(hiddenContenido.Value); - sub_contenido = hiddenSubCategoriaContenido.Value == "" ? emisor : Convert.ToInt32(hiddenSubCategoriaContenido.Value); - grupo_tematico = hiddenGrupoTematico.Value == "" ? emisor : Convert.ToInt32(hiddenGrupoTematico.Value); - sub_grupo_tematico = hiddenSubCategoriaGrupoTematico.Value == "" ? emisor : Convert.ToInt32(hiddenSubCategoriaGrupoTematico.Value); + documento_tecnico = hiddenDocumentoTecnico.Value == "" ? documento_tecnico : Convert.ToInt32(hiddenDocumentoTecnico.Value); + aplicacion = hiddenAplicacion.Value == "" ? aplicacion : Convert.ToInt32(hiddenAplicacion.Value); + contenido = hiddenContenido.Value == "" ? contenido : Convert.ToInt32(hiddenContenido.Value); + sub_contenido = hiddenSubCategoriaContenido.Value == "" ? sub_contenido : Convert.ToInt32(hiddenSubCategoriaContenido.Value); + grupo_tematico = hiddenGrupoTematico.Value == "" ? grupo_tematico : Convert.ToInt32(hiddenGrupoTematico.Value); + sub_grupo_tematico = hiddenSubCategoriaGrupoTematico.Value == "" ? sub_grupo_tematico : Convert.ToInt32(hiddenSubCategoriaGrupoTematico.Value); + id_ficha_tecnica = txtIdFichaTecnica.Value == "" ? id_ficha_tecnica : Convert.ToInt32(txtIdFichaTecnica.Value); DateTime fechasinparametro = DateTime.Today; fechasinparametro = fechasinparametro.AddYears(20); DateTime fechai = txtFechaInicio.Value == "" ? Convert.ToDateTime("1900-01-01") : Convert.ToDateTime(txtFechaInicio.Value); DateTime fechaf = txtFechaFinal.Value == "" ? fechasinparametro : Convert.ToDateTime(txtFechaFinal.Value); string versionvigente = txtVersionVigente.Value == "" ? null : txtVersionVigente.Value; - + string nombre = txtNombre.Value == "" ? null : txtNombre.Value; ReportViewer1.LocalReport.ReportPath = Request.MapPath(Request.ApplicationPath) + @"\Reportes\rdlc\repFichaTecnica.rdlc"; - dtta.Fill(dts.DataTable1, emisor, documento_tecnico, aplicacion, contenido, sub_contenido, grupo_tematico, sub_grupo_tematico, versionvigente, fechai, fechaf); + dtta.Fill(dts.DataTable1, emisor, documento_tecnico, aplicacion, contenido, sub_contenido, grupo_tematico, sub_grupo_tematico, versionvigente, fechai, fechaf,id_ficha_tecnica,nombre); ReportViewer1.LocalReport.DataSources.Clear(); ReportViewer1.LocalReport.DataSources.Add(new ReportDataSource("dtsFichaTecnicaFinal", dts.Tables["Datatable1"])); diff --git a/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.designer.cs b/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.designer.cs index c2db5dcd4..34fbb3fec 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.designer.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/ReporteFT.aspx.designer.cs @@ -39,6 +39,24 @@ namespace AYA.SlnSinort.ReporteASP { /// protected global::System.Web.UI.WebControls.Button Button1; + /// + /// txtIdFichaTecnica control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlInputText txtIdFichaTecnica; + + /// + /// txtNombre control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlInputText txtNombre; + /// /// txtFechaInicio control. /// @@ -57,24 +75,6 @@ namespace AYA.SlnSinort.ReporteASP { /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtFechaFinal; - /// - /// hiddenDocumentoTecnico control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hiddenDocumentoTecnico; - - /// - /// txtDocumentoTecnico control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.HtmlControls.HtmlInputText txtDocumentoTecnico; - /// /// hiddenContenido control. /// @@ -192,6 +192,24 @@ namespace AYA.SlnSinort.ReporteASP { /// protected global::System.Web.UI.HtmlControls.HtmlInputText txtAplicacion; + /// + /// hiddenDocumentoTecnico control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hiddenDocumentoTecnico; + + /// + /// txtDocumentoTecnico control. + /// + /// + /// Auto-generated field. + /// To modify move field declaration from designer file to code-behind file. + /// + protected global::System.Web.UI.HtmlControls.HtmlInputText txtDocumentoTecnico; + /// /// txtVersionVigente control. /// diff --git a/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.Designer.cs b/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.Designer.cs index 90a0bb688..08404e776 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.Designer.cs +++ b/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.Designer.cs @@ -1190,13 +1190,15 @@ namespace AYA.SlnSinort.Reportes.datasets.dtsFichaTecnicaFinalTableAdapters { this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_numero_publicacion", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_fecha_inicio", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_fecha_fin", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 23, 3, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_id_ficha_tecnica", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); + this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@p_nombre", global::System.Data.SqlDbType.NVarChar, 2147483647, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] - public virtual int Fill(dtsFichaTecnicaFinal.DataTable1DataTable dataTable, global::System.Nullable p_id_emisor, global::System.Nullable p_id_documento_tecnico, global::System.Nullable p_id_aplicacion, global::System.Nullable p_id_contenido, global::System.Nullable p_id_sub_contenido, global::System.Nullable p_id_grupo_tematico, global::System.Nullable p_id_sub_grupo_tematico, string p_numero_publicacion, global::System.Nullable p_fecha_inicio, global::System.Nullable p_fecha_fin) { + public virtual int Fill(dtsFichaTecnicaFinal.DataTable1DataTable dataTable, global::System.Nullable p_id_emisor, global::System.Nullable p_id_documento_tecnico, global::System.Nullable p_id_aplicacion, global::System.Nullable p_id_contenido, global::System.Nullable p_id_sub_contenido, global::System.Nullable p_id_grupo_tematico, global::System.Nullable p_id_sub_grupo_tematico, string p_numero_publicacion, global::System.Nullable p_fecha_inicio, global::System.Nullable p_fecha_fin, global::System.Nullable p_id_ficha_tecnica, string p_nombre) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((p_id_emisor.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(p_id_emisor.Value)); @@ -1258,6 +1260,18 @@ namespace AYA.SlnSinort.Reportes.datasets.dtsFichaTecnicaFinalTableAdapters { else { this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value; } + if ((p_id_ficha_tecnica.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[11].Value = ((int)(p_id_ficha_tecnica.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((p_nombre == null)) { + this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[12].Value = ((string)(p_nombre)); + } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } @@ -1269,7 +1283,7 @@ namespace AYA.SlnSinort.Reportes.datasets.dtsFichaTecnicaFinalTableAdapters { [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] - public virtual dtsFichaTecnicaFinal.DataTable1DataTable GetData(global::System.Nullable p_id_emisor, global::System.Nullable p_id_documento_tecnico, global::System.Nullable p_id_aplicacion, global::System.Nullable p_id_contenido, global::System.Nullable p_id_sub_contenido, global::System.Nullable p_id_grupo_tematico, global::System.Nullable p_id_sub_grupo_tematico, string p_numero_publicacion, global::System.Nullable p_fecha_inicio, global::System.Nullable p_fecha_fin) { + public virtual dtsFichaTecnicaFinal.DataTable1DataTable GetData(global::System.Nullable p_id_emisor, global::System.Nullable p_id_documento_tecnico, global::System.Nullable p_id_aplicacion, global::System.Nullable p_id_contenido, global::System.Nullable p_id_sub_contenido, global::System.Nullable p_id_grupo_tematico, global::System.Nullable p_id_sub_grupo_tematico, string p_numero_publicacion, global::System.Nullable p_fecha_inicio, global::System.Nullable p_fecha_fin, global::System.Nullable p_id_ficha_tecnica, string p_nombre) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((p_id_emisor.HasValue == true)) { this.Adapter.SelectCommand.Parameters[1].Value = ((int)(p_id_emisor.Value)); @@ -1331,6 +1345,18 @@ namespace AYA.SlnSinort.Reportes.datasets.dtsFichaTecnicaFinalTableAdapters { else { this.Adapter.SelectCommand.Parameters[10].Value = global::System.DBNull.Value; } + if ((p_id_ficha_tecnica.HasValue == true)) { + this.Adapter.SelectCommand.Parameters[11].Value = ((int)(p_id_ficha_tecnica.Value)); + } + else { + this.Adapter.SelectCommand.Parameters[11].Value = global::System.DBNull.Value; + } + if ((p_nombre == null)) { + this.Adapter.SelectCommand.Parameters[12].Value = global::System.DBNull.Value; + } + else { + this.Adapter.SelectCommand.Parameters[12].Value = ((string)(p_nombre)); + } dtsFichaTecnicaFinal.DataTable1DataTable dataTable = new dtsFichaTecnicaFinal.DataTable1DataTable(); this.Adapter.Fill(dataTable); return dataTable; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xsd b/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xsd index 12491d26a..abae48fc2 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xsd +++ b/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xsd @@ -27,6 +27,8 @@ + + @@ -55,7 +57,7 @@ - + diff --git a/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xss b/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xss index c3e300cea..554b48747 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xss +++ b/AYA.SlnSynor/AYA.SlnSynor/Reportes/datasets/dtsFichaTecnicaFinal.xss @@ -4,9 +4,9 @@ Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. --> - + - + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/EstadisticaReporte/FichaTecnica.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/EstadisticaReporte/FichaTecnica.js index ddc35ce7b..725c376ba 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/EstadisticaReporte/FichaTecnica.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/EstadisticaReporte/FichaTecnica.js @@ -16,10 +16,7 @@ this.getDataModel = function () { $("#txtFechaInicio").datepicker(); $("#txtFechaFinal").datepicker(); - $("#btnBuscar").unbind("click"); - $("#btnBuscar").click(function () { - document.getElementById('<%= Button1.ClientID %>').click(); - }); + $("#btnBuscarEmisor").unbind("click"); $("#btnBuscarEmisor").click(function () { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js index c44edbb44..d9871bc7f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js @@ -5,23 +5,23 @@ var RepositorioVirtual = $("#hiddenRepositorioVirtual").val(); var RepositorioLocal = $("#hiddenRepositorioLocal").val(); var UsuarioSistema = $("#hiddenUsuarioSistema").val(); var NombreUsuario = $("#hiddenNombreUsuario").val(); -var LinkPropuesta = "http://aya-vsrv-apptt:2525/PropuestaNormativa/DetallePropuesta?"; -var LinkSolicitudTarea = "http://aya-vsrv-apptt:2525/Home/TareasPendientes"; -var LinkSolicitudResponder = "http://aya-vsrv-apptt:2525/NormativaReglamentacionTecnica/VerSolicitudes?"; -var LinkBusquedaFichaTecnica = "http://aya-vsrv-apptt:2525/Home/Normativa_Reglamentacion_Tecnica?solicitud=`"; -//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 LinkPropuesta = "http://aya-vsrv-apptt:2525/PropuestaNormativa/DetallePropuesta?"; +//var LinkSolicitudTarea = "http://aya-vsrv-apptt:2525/Home/TareasPendientes"; +//var LinkSolicitudResponder = "http://aya-vsrv-apptt:2525/NormativaReglamentacionTecnica/VerSolicitudes?"; +//var LinkBusquedaFichaTecnica = "http://aya-vsrv-apptt:2525/Home/Normativa_Reglamentacion_Tecnica?solicitud=`"; +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=`"; //"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 //http://aya-vsrv-wstt:2005/SinortCatalogos.svc -var server = window.location.protocol + "//" + "aya-vsrv-apptt:2525" + "/" + (window.location.pathname.split('/')[1]) + "/"; -var SinorLoginWCF = "http://aya-vsrv-wstt:2005/Sinort.svc"; -var SinorSignupWCF = "http://aya-vsrv-wstt:2005/SinortCatalogos.svc"; +var server = window.location.protocol + "//" + "10.50.1.97:6075" + "/" + (window.location.pathname.split('/')[1]) + "/"; +var SinorLoginWCF = "http://10.50.1.123:2070/Sinort.svc"; +var SinorSignupWCF = "http://10.50.1.123:2070/SinortCatalogos.svc"; var string_empty = ""; var Atesa = {}; var StarterTemplateVisible = true; diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Reportes/FichaTecnica.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Reportes/FichaTecnica.cshtml index f7bd75fca..4fcde533a 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Reportes/FichaTecnica.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Reportes/FichaTecnica.cshtml @@ -21,7 +21,7 @@ @Html.ReportViewer(ViewBag.ReportViewer as Microsoft.Reporting.WebForms.ReportViewer) }*@ - +
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Web.config b/AYA.SlnSynor/AYA.SlnSynor/Web.config index 1d80d71be..332e24b49 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor/Web.config @@ -23,21 +23,21 @@ - + - +