提交代码

This commit is contained in:
2025-02-11 09:20:20 +08:00
8 changed files with 1034 additions and 632 deletions
@@ -0,0 +1,3 @@
alter table Report_TextBoxContent alter column ContentText nvarchar(2000)
go
Binary file not shown.
@@ -244,7 +244,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre0" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -261,7 +261,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre1" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -278,7 +278,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre2" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -1915,7 +1915,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre20" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -1932,7 +1932,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre21" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -1950,7 +1950,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre22" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -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);
@@ -249,7 +249,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre0" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -266,7 +266,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre1" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -283,7 +283,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre2" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -1921,7 +1921,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre20" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -1938,7 +1938,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre21" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -1956,7 +1956,7 @@
<f:FormRow>
<Items>
<f:TextArea runat="server" ID="txtAre22" EmptyText="请填写内容"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="1000">
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600" AutoPostBack="true" OnTextChanged="Text_TextChanged" MaxLength="2000">
</f:TextArea>
</Items>
</f:FormRow>
@@ -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());
@@ -44,6 +44,7 @@ namespace FineUIPro.Web.TestRun.DriverReport
strSql += " AND report.MonthReportCode LIKE @monthReportCode";
listStr.Add(new SqlParameter("@monthReportCode", "%" + this.txtMonthReportCode.Text.Trim() + "%"));
}
strSql += " ORDER BY report.SortId ";
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count;
+958 -620
View File
File diff suppressed because it is too large Load Diff