20260207 交工技术文件说明

This commit is contained in:
2026-02-07 17:01:31 +08:00
parent d99013421d
commit c724eb117e
9 changed files with 221 additions and 65 deletions
@@ -51,6 +51,16 @@
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextArea ID="txtProjectOverview" runat="server" Label="工程概况" LabelAlign="Right" LabelWidth="110px" MaxLength="2000" Height="150px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtCompilationBasis" runat="server" Label="编制依据" LabelAlign="Right" LabelWidth="110px" MaxLength="1000" Height="150px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
@@ -65,7 +75,12 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtProjectOverview" runat="server" Label="工程概况" LabelAlign="Right" LabelWidth="110px" MaxLength="2000" Height="300px"></f:TextArea>
<f:TextArea ID="txtMainContent" runat="server" Label="案卷构成及本卷册主要内容" LabelAlign="Right" LabelWidth="110px" MaxLength="500" Height="150px"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCopiesNum" runat="server" Label="编制份数" LabelAlign="Right" LabelWidth="110px" MaxLength="500" ></f:TextBox>
</Items>
</f:FormRow>
</Rows>
@@ -9,6 +9,7 @@ using System.Web.UI;
using System.Web.UI.WebControls;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using System.IO;
using Microsoft.SqlServer.Server;
namespace FineUIPro.Web.JGZL
{
@@ -127,35 +128,57 @@ namespace FineUIPro.Web.JGZL
{
this.DocumentDescriptionId = report.DocumentDescriptionId;
this.txtProjectOverview.Text = report.ProjectOverview;
this.txtConstructionUnit.Text = report.ConstructionUnit;
if(!string.IsNullOrEmpty(report.ConstructionUnit))
{
this.txtConstructionUnit.Text = report.ConstructionUnit;
}
else
{
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
}
this.txtDesigningUnit.Text = report.DesigningUnit;
this.txtTestingUnit.Text = report.TestingUnit;
this.txtConstructionCompany.Text = report.ConstructionCompany;
if (!string.IsNullOrEmpty(report.ConstructionCompany))
{
this.txtConstructionCompany.Text = report.ConstructionCompany;
}
else
{
this.txtConstructionCompany.Text = "浙江鼎盛石化工程有限公司";
}
if (!string.IsNullOrEmpty(report.CompilationBasis))
{
this.txtCompilationBasis.Text = report.CompilationBasis;
}
else
{
this.txtCompilationBasis.Text = "1、《石油化工建设工程项目交工技术文件规定》(SH/T3503-2017)\r\n2、《国家重大建设项目文件归档要求与档案管理规范》(DA/T28-2018)\r\n3、《石油化工建设工程项目过程技术文件规定》(SH/T3543-2017)";
}
if (!string.IsNullOrEmpty(report.MainContent))
{
this.txtMainContent.Text = report.MainContent;
}
else
{
this.txtMainContent.Text = "1、交工技术文件,共2册,分别为:管道安装工程册、材料质量证明文件\r\n2、本册为管道安装工程册,册内内容包括:封面、交工技术目录、交工技术总目录、交工技术说明、交工技术文件移交证书等。";
}
if (!string.IsNullOrEmpty(report.CopiesNum))
{
this.txtCopiesNum.Text = report.CopiesNum;
}
else
{
this.txtCopiesNum.Text = "1、交工纸质文件归档2份,其中正本1份,副本1份。";
}
}
else
{
//var project = BLL.Base_ProjectService.GetProjectByProjectId(projectId);
//var isoLists = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(projectId);
//string isoInfos = string.Empty;
//foreach (var item in isoLists)
//{
// int hdCount = 0;
// int gdCount = 0;
// var joitInfos = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x);
// if (joitInfos.Count() > 0)
// {
// hdCount = joitInfos.Where(x => x.JOT_JointAttribute == "活动").Count();
// gdCount = joitInfos.Where(x => x.JOT_JointAttribute == "固定").Count();
// }
// isoInfos += "管线编号" + item.ISO_IsoNo + ",其中活动焊口" + hdCount + "道,固定焊口" + gdCount + "道;";
//}
//if (!string.IsNullOrEmpty(isoInfos))
//{
// isoInfos = isoInfos.Substring(0, isoInfos.LastIndexOf(';'));
//}
//this.txtProjectOverview.Text = "本文件为" + project.ProjectName + "," + string.Format("{0:yyyy年MM月dd日}", project.StartDate) + "开工,到" + string.Format("{0:yyyy年MM月dd日}", project.EndDate) + "施工结束,主要施工内容:" + isoInfos;
this.txtCompilationBasis.Text = "1、《石油化工建设工程项目交工技术文件规定》(SH/T3503-2017)\r\n2、《国家重大建设项目文件归档要求与档案管理规范》(DA/T28-2018)\r\n3、《石油化工建设工程项目过程技术文件规定》(SH/T3543-2017)";
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
this.txtConstructionCompany.Text = "浙江鼎盛石化工程有限公司";
this.txtMainContent.Text = "1、交工技术文件,共2册,分别为:管道安装工程册、材料质量证明文件\r\n2、本册为管道安装工程册,册内内容包括:封面、交工技术目录、交工技术总目录、交工技术说明、交工技术文件移交证书等。";
this.txtCopiesNum.Text = "1、交工纸质文件归档2份,其中正本1份,副本1份。";
}
}
}
@@ -176,6 +199,9 @@ namespace FineUIPro.Web.JGZL
newDocumentDescription.DesigningUnit = this.txtDesigningUnit.Text;
newDocumentDescription.TestingUnit = this.txtTestingUnit.Text;
newDocumentDescription.ConstructionCompany = this.txtConstructionCompany.Text;
newDocumentDescription.CompilationBasis=this.txtCompilationBasis.Text;
newDocumentDescription.MainContent = this.txtMainContent.Text;
newDocumentDescription.CopiesNum = this.txtCopiesNum.Text;
if (!string.IsNullOrEmpty(this.DocumentDescriptionId))
{
newDocumentDescription.DocumentDescriptionId = this.DocumentDescriptionId;
@@ -224,6 +250,9 @@ namespace FineUIPro.Web.JGZL
keyValuePairs.Add("DesigningUnit", this.txtDesigningUnit.Text);
keyValuePairs.Add("TestingUnit", this.txtTestingUnit.Text);
keyValuePairs.Add("ConstructionCompany", this.txtConstructionCompany.Text);
keyValuePairs.Add("CompilationBasis", this.txtCompilationBasis.Text);
keyValuePairs.Add("MainContent", this.txtMainContent.Text);
keyValuePairs.Add("CopiesNum", this.txtCopiesNum.Text);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\交工技术文件说明.frx";
@@ -131,6 +131,24 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// txtProjectOverview 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtProjectOverview;
/// <summary>
/// txtCompilationBasis 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtCompilationBasis;
/// <summary>
/// txtConstructionUnit 控件。
/// </summary>
@@ -168,13 +186,22 @@ namespace FineUIPro.Web.JGZL
protected global::FineUIPro.TextBox txtConstructionCompany;
/// <summary>
/// txtProjectOverview 控件。
/// txtMainContent 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtProjectOverview;
protected global::FineUIPro.TextArea txtMainContent;
/// <summary>
/// txtCopiesNum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCopiesNum;
/// <summary>
/// WindowPrint 控件。