From df83f9713ff80d10c70283bcdb77a01b1c89fd1e Mon Sep 17 00:00:00 2001 From: panhf <754998852@qq.com> Date: Sun, 4 Feb 2024 11:11:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E4=BA=A4=E7=BB=9F=E8=AE=A1=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E9=99=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Transfer/Chart/Instrumentation.aspx | 16 ++++++++--- .../Transfer/Chart/Instrumentation.aspx.cs | 26 ++++++++++++++++-- .../Chart/Instrumentation.aspx.designer.cs | 27 ++++++++++++------- 3 files changed, 54 insertions(+), 15 deletions(-) diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx index 8c21f332..fed1ca4d 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx +++ b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx @@ -20,7 +20,7 @@ - + @@ -28,7 +28,7 @@ - + @@ -36,11 +36,11 @@ - - + --%> <%-- @@ -52,6 +52,9 @@ + + @@ -98,6 +101,11 @@ + + diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.cs b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.cs index 1a99e158..52903623 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.cs @@ -230,7 +230,7 @@ namespace FineUIPro.Web.Transfer.Chart } if (systemBol) { - this.ChartUc.CreateChart(BLL.ChartControlService.GetDataSourceChart(dtTime, "PROGRESS REPORT", this.drpChartType.SelectedValue, 1100, 600, false)); + this.ChartUc.CreateChart(BLL.ChartControlService.GetDataSourceChart(dtTime, "PROGRESS REPORT", "Column", 1100, 600, false)); } @@ -476,11 +476,33 @@ namespace FineUIPro.Web.Transfer.Chart } if (systemBol) { - this.ChartUc.CreateChart(BLL.ChartControlService.GetDataSourceChart(dtTime, "SYSTEM PROGRESS REPORT", this.drpChartType.SelectedValue, 1100, 600, false)); + this.ChartUc.CreateChart(BLL.ChartControlService.GetDataSourceChart(dtTime, "SYSTEM PROGRESS REPORT", "Column", 1100, 600, false)); } } } #endregion + + #region 附件上传 + /// + /// 上传附件 + /// + /// + /// + protected void btnAttachUrl_Click(object sender, EventArgs e) + { + //必须点击系统 + var SystemName = this.trRectify.SelectedNodeID; + if (SystemName=="ALL"|| SystemName=="") + { + Alert.ShowInTop("请选择系统。", MessageBoxIcon.Warning); + return; + } + var toKeyId = "D142B96F-4D36-429D-AB08-FA0D7C30BB69" + SystemName; + PageContext.RegisterStartupScript(WindowAtt.GetShowReference + (String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/Trancfer&menuId={1}", + toKeyId, "E6F5125D-DD94-4978-B7EB-D9C26694D86D"))); + } + #endregion } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.designer.cs index 7669478c..d6ed0495 100644 --- a/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/Chart/Instrumentation.aspx.designer.cs @@ -104,15 +104,6 @@ namespace FineUIPro.Web.Transfer.Chart /// protected global::FineUIPro.DatePicker txtEndTime1; - /// - /// drpChartType 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.DropDownList drpChartType; - /// /// BtnAnalyse 控件。 /// @@ -122,6 +113,15 @@ namespace FineUIPro.Web.Transfer.Chart /// protected global::FineUIPro.Button BtnAnalyse; + /// + /// btnAttachUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl; + /// /// Region2 控件。 /// @@ -175,5 +175,14 @@ namespace FineUIPro.Web.Transfer.Chart /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tree trRectify; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; } }