From 5579565e4f0616deb5ce4ff30ef62d3d2bcafffc Mon Sep 17 00:00:00 2001
From: wendy <408182087@qq.com>
Date: Mon, 10 Feb 2025 13:58:07 +0800
Subject: [PATCH] =?UTF-8?q?20250210=20=E8=B4=A8=E9=87=8F=E6=9C=88=E6=8A=A5?=
=?UTF-8?q?=E5=91=A8=E6=8A=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CQMS/ManageReportNew/MonthReportEdit.aspx | 6 ++--
.../ManageReportNew/MonthReportEdit.aspx.cs | 30 +++++++++++++++++++
.../CQMS/ManageReportNew/WeekReportEdit.aspx | 6 ++--
.../ManageReportNew/WeekReportEdit.aspx.cs | 30 +++++++++++++++++++
4 files changed, 66 insertions(+), 6 deletions(-)
diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx
index 16115d98..8e34ab3c 100644
--- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx
@@ -1915,7 +1915,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
@@ -1932,7 +1932,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
@@ -1950,7 +1950,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs
index ef5d1bcf..da6ad333 100644
--- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs
@@ -2833,6 +2833,36 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
ShowNotify("周期不能为空!", MessageBoxIcon.Warning);
return;
}
+ if (this.txtAre0.Text.Length > 2000)
+ {
+ ShowNotify("设计质量情况字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre1.Text.Length>2000)
+ {
+ ShowNotify("采购质量情况字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre2.Text.Length > 2000)
+ {
+ ShowNotify("施工质量情况字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre20.Text.Length > 2000)
+ {
+ ShowNotify("项目质量体系审核字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre21.Text.Length>2000)
+ {
+ ShowNotify("类似项目管理经验教训应对措施及跟踪字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre22.Text.Length > 2000)
+ {
+ ShowNotify("附件字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
SaveMethod();
ShowNotify("编辑成功!", MessageBoxIcon.Success);
diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx
index 5a6e19ad..ae3da43b 100644
--- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx
@@ -1921,7 +1921,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
@@ -1938,7 +1938,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
@@ -1956,7 +1956,7 @@
+ AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs
index 558183c9..a626d03a 100644
--- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs
@@ -2764,6 +2764,36 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
ShowNotify("周期不能为空!", MessageBoxIcon.Warning);
return;
}
+ if (this.txtAre0.Text.Length > 2000)
+ {
+ ShowNotify("设计质量情况字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre1.Text.Length > 2000)
+ {
+ ShowNotify("采购质量情况字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre2.Text.Length > 2000)
+ {
+ ShowNotify("施工质量情况字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre20.Text.Length > 2000)
+ {
+ ShowNotify("项目质量体系审核字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre21.Text.Length > 2000)
+ {
+ ShowNotify("类似项目管理经验教训应对措施及跟踪字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.txtAre22.Text.Length>2000)
+ {
+ ShowNotify("附件字符长度不能大于2000!", MessageBoxIcon.Warning);
+ return;
+ }
SaveMethod();
ShowNotify("编辑成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());