From 236df8a38c94501676470bb3a38fe835350cb1c2 Mon Sep 17 00:00:00 2001 From: liyh Date: Wed, 24 Jul 2024 15:02:00 +0800 Subject: [PATCH 1/6] 121111 --- SGGL/BLL/BLL.csproj | 6 ------ 1 file changed, 6 deletions(-) diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 4473098d..c320958d 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -615,12 +615,6 @@ - - - - - - From a12b0f06f673fdd5d5aad598047d3d425adee53a Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 24 Jul 2024 15:08:12 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManageReportNew/MonthReportEdit.aspx.cs | 79 ++++++++++++++----- 1 file changed, 58 insertions(+), 21 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs index 56385e6f..c4149d2b 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs @@ -219,27 +219,64 @@ namespace FineUIPro.Web.CQMS.ManageReportNew #region 加载文本框内容 var txtReportList = db.Report_TextBoxContent.Where(x => x.ReportId == ReportId).ToList(); - txtAre0.Text = txtReportList.FirstOrDefault(x => x.ContentType == "0").ContentText; - txtAre1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "1").ContentText; - txtAre2.Text = txtReportList.FirstOrDefault(x => x.ContentType == "2").ContentText; - - txtAre20.Text = txtReportList.FirstOrDefault(x => x.ContentType == "20").ContentText; - txtAre21.Text = txtReportList.FirstOrDefault(x => x.ContentType == "21").ContentText; - txtAre22.Text = txtReportList.FirstOrDefault(x => x.ContentType == "22").ContentText; - txtAre8.Text = txtReportList.FirstOrDefault(x => x.ContentType == "8").ContentText; - - imgPhoto.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-1").ImageUrl; - txtPhotoContent1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-1").ContentText; - imgPhoto2.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-2").ImageUrl; - txtPhotoContent2.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-2").ContentText; - imgPhoto3.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-3").ImageUrl; - txtPhotoContent3.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-3").ContentText; - imgPhoto4.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-4").ImageUrl; - txtPhotoContent4.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-4").ContentText; - imgPhoto5.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-5").ImageUrl; - txtPhotoContent5.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-5").ContentText; - imgPhoto6.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-6").ImageUrl; - txtPhotoContent6.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-6").ContentText; + if (txtReportList.FirstOrDefault(x => x.ContentType == "0") != null) + { + txtAre0.Text = txtReportList.FirstOrDefault(x => x.ContentType == "0").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "1") != null) + { + txtAre1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "1").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "2") != null) + { + txtAre2.Text = txtReportList.FirstOrDefault(x => x.ContentType == "2").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "20") != null) + { + txtAre20.Text = txtReportList.FirstOrDefault(x => x.ContentType == "20").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "21") != null) + { + txtAre21.Text = txtReportList.FirstOrDefault(x => x.ContentType == "21").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "22") != null) + { + txtAre22.Text = txtReportList.FirstOrDefault(x => x.ContentType == "22").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "8") != null) + { + txtAre8.Text = txtReportList.FirstOrDefault(x => x.ContentType == "8").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "23-1") != null) + { + imgPhoto.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-1").ImageUrl; + txtPhotoContent1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-1").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "23-2") != null) + { + imgPhoto2.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-2").ImageUrl; + txtPhotoContent2.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-2").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "23-3") != null) + { + imgPhoto3.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-3").ImageUrl; + txtPhotoContent3.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-3").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "23-4") != null) + { + imgPhoto4.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-4").ImageUrl; + txtPhotoContent4.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-4").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "23-5") != null) + { + imgPhoto5.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-5").ImageUrl; + txtPhotoContent5.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-5").ContentText; + } + if (txtReportList.FirstOrDefault(x => x.ContentType == "23-6") != null) + { + imgPhoto6.ImageUrl = "~/" + txtReportList.FirstOrDefault(x => x.ContentType == "23-6").ImageUrl; + txtPhotoContent6.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-6").ContentText; + } #endregion //加载所有grid From fdb49da9cd314627325ba9c81d872333477d6c40 Mon Sep 17 00:00:00 2001 From: liyh Date: Wed, 24 Jul 2024 16:02:49 +0800 Subject: [PATCH 3/6] 1212 --- SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx index 9b734955..e47a36b1 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx @@ -215,13 +215,13 @@ <%----%> - + From df3087c3806e5d970195f52313c42c561314022f Mon Sep 17 00:00:00 2001 From: liyh Date: Wed, 24 Jul 2024 17:53:44 +0800 Subject: [PATCH 4/6] 1212 --- .../Transfer/PunchlistFrom.aspx.designer.cs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs index ff67cd24..d9a7d3b2 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs @@ -257,15 +257,6 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.Menu Menu1; - /// - /// btnMenuDel 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.MenuButton btnMenuDel; - /// /// btnMenuAttachA 控件。 /// @@ -283,5 +274,14 @@ namespace FineUIPro.Web.Transfer /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuAttachB; + + /// + /// btnMenuDel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuDel; } } From c73952e36fd2ab4883b47abba22a69695fdec235 Mon Sep 17 00:00:00 2001 From: liyh Date: Thu, 25 Jul 2024 14:19:34 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FineUIPro.Web/Transfer/PunchlistFrom.aspx | 50 ++++++++++++------- .../Transfer/PunchlistFrom.aspx.cs | 24 ++++++++- .../Transfer/PunchlistFrom.aspx.designer.cs | 48 +++++++++++++++--- 3 files changed, 96 insertions(+), 26 deletions(-) diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx index e47a36b1..321a0b8e 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx @@ -21,18 +21,25 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + @@ -48,19 +55,26 @@ - + + + + + + + - + - + - + diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs index 493ce1b1..fe4c5f08 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.cs @@ -83,6 +83,26 @@ namespace FineUIPro.Web.Transfer strSql += " AND Actual_Date <= @Actual_Date"; listStr.Add(new SqlParameter("@Actual_Date", Funs.GetNewDateTime(txtEndActual_Date.Text.Trim()))); } + if (!string.IsNullOrEmpty(txtDisc.Text.Trim())) + { + strSql += " AND Disc = @Disc"; + listStr.Add(new SqlParameter("@Disc", txtDisc.Text.Trim())); + } + if (!string.IsNullOrEmpty(ddlEng.SelectedValue.Trim())) + { + strSql += " AND IsEng = @IsEng"; + listStr.Add(new SqlParameter("@IsEng", ddlEng.SelectedValue.Trim() == "Y" ? 1 : 0)); + } + if (!string.IsNullOrEmpty(ddlMatI.SelectedValue.Trim())) + { + strSql += " AND IsMatI = @IsMatI"; + listStr.Add(new SqlParameter("@IsMatI", ddlMatI.SelectedValue.Trim() == "Y" ? 1 : 0)); + } + if (!string.IsNullOrEmpty(ddlPunchType.SelectedValue.Trim())) + { + strSql += " AND Punch_Type = @Punch_Type"; + listStr.Add(new SqlParameter("@Punch_Type", ddlPunchType.SelectedValue.Trim())); + } strSql += " order by Num_No "; SqlParameter[] parameter = listStr.ToArray(); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); @@ -258,7 +278,7 @@ namespace FineUIPro.Web.Transfer if (buttonList.Contains(BLL.Const.BtnAdd)) { //this.btnNew.Hidden = false; - btnMenuAttachA.Hidden=false; + btnMenuAttachA.Hidden = false; btnMenuAttachB.Hidden = false; } if (buttonList.Contains(BLL.Const.BtnModify)) @@ -295,7 +315,7 @@ namespace FineUIPro.Web.Transfer var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.PunchlistFromMenuId); if (buttonList.Contains(BLL.Const.BtnAdd)) { - PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/Transfer/PunchlistFrom&menuId={1}", this.CurrUser.LoginProjectId+ "PunchlistFrom", BLL.Const.PunchlistFromMenuId))); + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/Transfer/PunchlistFrom&menuId={1}", this.CurrUser.LoginProjectId + "PunchlistFrom", BLL.Const.PunchlistFromMenuId))); } else { diff --git a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs index d9a7d3b2..6eb8ee22 100644 --- a/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/Transfer/PunchlistFrom.aspx.designer.cs @@ -87,31 +87,40 @@ namespace FineUIPro.Web.Transfer protected global::FineUIPro.TextBox txtSub_Sys_No; /// - /// txtStartDate_Raised 控件。 + /// txtDisc 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtStartDate_Raised; + protected global::FineUIPro.TextBox txtDisc; /// - /// Label1 控件。 + /// ddlEng 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.Label Label1; + protected global::FineUIPro.DropDownList ddlEng; /// - /// txtEndDate_Raised 控件。 + /// ddlMatI 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtEndDate_Raised; + protected global::FineUIPro.DropDownList ddlMatI; + + /// + /// ddlPunchType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPunchType; /// /// btnSearch 控件。 @@ -140,6 +149,33 @@ namespace FineUIPro.Web.Transfer /// protected global::FineUIPro.Toolbar Toolbar1; + /// + /// txtStartDate_Raised 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtStartDate_Raised; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label1; + + /// + /// txtEndDate_Raised 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtEndDate_Raised; + /// /// txtStartRequired_Date 控件。 /// From 7a28c2677d8fd02a471d987720e4442676e53515 Mon Sep 17 00:00:00 2001 From: liyh Date: Thu, 25 Jul 2024 14:58:40 +0800 Subject: [PATCH 6/6] =?UTF-8?q?=E5=B0=BE=E9=A1=B9=E5=87=A0=E4=B8=AA?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../版本日志/SGGLDB_WH_V2024-07-25-li.sql | 14 + SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 29 +- .../Transfer/Chart/PunchlistFromChartNew.aspx | 71 +++++ .../Chart/PunchlistFromChartNew.aspx.cs | 133 +++++++++ .../PunchlistFromChartNew.aspx.designer.cs | 134 ++++++++++ .../Transfer/Chart/PunchlistFromProgress.aspx | 61 +++++ .../Chart/PunchlistFromProgress.aspx.cs | 96 +++++++ .../PunchlistFromProgress.aspx.designer.cs | 89 +++++++ .../Transfer/Chart/PunchlistFromSort.aspx | 119 +++++++++ .../Transfer/Chart/PunchlistFromSort.aspx.cs | 252 ++++++++++++++++++ .../Chart/PunchlistFromSort.aspx.designer.cs | 152 +++++++++++ .../Transfer/PunchlistFrom.aspx.cs | 16 +- 12 files changed, 1156 insertions(+), 10 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_WH_V2024-07-25-li.sql create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromChartNew.aspx create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromChartNew.aspx.cs create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromChartNew.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromProgress.aspx create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromProgress.aspx.cs create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromProgress.aspx.designer.cs create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromSort.aspx create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromSort.aspx.cs create mode 100644 SGGL/FineUIPro.Web/Transfer/Chart/PunchlistFromSort.aspx.designer.cs diff --git a/DataBase/版本日志/SGGLDB_WH_V2024-07-25-li.sql b/DataBase/版本日志/SGGLDB_WH_V2024-07-25-li.sql new file mode 100644 index 00000000..55f9ad7b --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_V2024-07-25-li.sql @@ -0,0 +1,14 @@ +update Sys_Menu set IsUsed=0 where MenuId in ('C2DD3E9E-DB18-466F-8FA0-19AD6E21EEF0','BB5EC5E1-A23D-4A3F-8772-CD40757974EC','F97BCF55-E450-4007-AD84-AB64B3496204','E6F5125D-DD94-4978-B7EB-D9C26694D86D') + + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('2352E44F-BE12-4012-B43F-AAF649EDAC32','Punchlist from完成统计表',null,'Transfer/Chart/PunchlistFromChartNew.aspx',30,'3517DBE2-9728-4BA0-9EA5-AE2147DB883B','Menu_Transfer',0,1,1) +GO + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('CB76462E-9444-4946-B787-ECB33C21E6D0','Punchlist from分类表',null,'Transfer/Chart/PunchlistFromSort.aspx',35,'3517DBE2-9728-4BA0-9EA5-AE2147DB883B','Menu_Transfer',0,1,1) +GO + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Icon,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('549DD0B6-05CB-4C75-B8F5-9AADDEDF399F','Punchlist from进度跟踪表',null,'Transfer/Chart/PunchlistFromProgress.aspx',40,'3517DBE2-9728-4BA0-9EA5-AE2147DB883B','Menu_Transfer',0,1,1) +GO \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 7591adf4..f169c916 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -2021,6 +2021,9 @@ + + + @@ -17587,6 +17590,27 @@ PunchlistFromChart.aspx + + PunchlistFromChartNew.aspx + ASPXCodeBehind + + + PunchlistFromChartNew.aspx + + + PunchlistFromProgress.aspx + ASPXCodeBehind + + + PunchlistFromProgress.aspx + + + PunchlistFromSort.aspx + ASPXCodeBehind + + + PunchlistFromSort.aspx + TransferChart.aspx ASPXCodeBehind @@ -19072,8 +19096,9 @@ - -