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

View File

@ -0,0 +1,4 @@
alter table JGZL_DocumentDescription add CompilationBasis nvarchar(1000)
alter table JGZL_DocumentDescription add MainContent nvarchar(500)
alter table JGZL_DocumentDescription add CopiesNum nvarchar(500)
go

View File

@ -42,6 +42,9 @@ namespace BLL
newDocumentDescription.CompileDate = documentDescription.CompileDate; newDocumentDescription.CompileDate = documentDescription.CompileDate;
newDocumentDescription.Reviewer = documentDescription.Reviewer; newDocumentDescription.Reviewer = documentDescription.Reviewer;
newDocumentDescription.ReviewDate = documentDescription.ReviewDate; newDocumentDescription.ReviewDate = documentDescription.ReviewDate;
newDocumentDescription.CompilationBasis= documentDescription.CompilationBasis;
newDocumentDescription.MainContent = documentDescription.MainContent;
newDocumentDescription.CopiesNum = documentDescription.CopiesNum;
db.JGZL_DocumentDescription.InsertOnSubmit(newDocumentDescription); db.JGZL_DocumentDescription.InsertOnSubmit(newDocumentDescription);
db.SubmitChanges(); db.SubmitChanges();
} }
@ -61,6 +64,9 @@ namespace BLL
newDocumentDescription.DesigningUnit = documentDescription.DesigningUnit; newDocumentDescription.DesigningUnit = documentDescription.DesigningUnit;
newDocumentDescription.TestingUnit = documentDescription.TestingUnit; newDocumentDescription.TestingUnit = documentDescription.TestingUnit;
newDocumentDescription.ConstructionCompany = documentDescription.ConstructionCompany; newDocumentDescription.ConstructionCompany = documentDescription.ConstructionCompany;
newDocumentDescription.CompilationBasis = documentDescription.CompilationBasis;
newDocumentDescription.MainContent = documentDescription.MainContent;
newDocumentDescription.CopiesNum = documentDescription.CopiesNum;
db.SubmitChanges(); db.SubmitChanges();
} }
} }

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="02/06/2026 09:48:33" ReportInfo.Modified="02/07/2026 11:36:54" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="02/06/2026 09:48:33" ReportInfo.Modified="02/07/2026 13:45:30" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -42,7 +42,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFxdlTQH8qplu8hkcuMv35gA=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFD4TgajWZCbg/4DFdUKoX7Q==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="SerialNumber" DataType="System.String" PropName="attach_image_id"/> <Column Name="SerialNumber" DataType="System.String" PropName="attach_image_id"/>
<Column Name="FileCode" DataType="System.String" PropName="image_series"/> <Column Name="FileCode" DataType="System.String" PropName="image_series"/>
@ -106,8 +106,24 @@ namespace FastReport
</TableRow> </TableRow>
</TableObject> </TableObject>
</DataBand> </DataBand>
<ReportSummaryBand Name="ReportSummary1" Top="240.07" Width="646.38" Height="107.6" Guides="0,107.6,31.5,76.1"> <ColumnFooterBand Name="ColumnFooter1" Top="236.07" Width="646.38">
<TableObject Name="Table4" Width="646.38" Height="107.6" Border.Lines="Left"> <ChildBand Name="Child2" Top="196.16" Width="646.38" Height="35.91" Guides="0,35.91" FillUnusedSpace="true">
<TableObject Name="Table5" Width="646.37" Height="35.91" Border.Lines="All" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column25" Width="45.83"/>
<TableColumn Name="Column26" Width="197.03"/>
<TableColumn Name="Column27" Width="272.63"/>
<TableColumn Name="Column28" Width="130.88"/>
<TableRow Name="Row14" Height="35.91">
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="240.07" Width="646.38" Height="106.34" Guides="0,106.34,31.5,76.1">
<TableObject Name="Table4" Width="646.38" Height="106.34" Border.Lines="Left">
<TableColumn Name="Column23" Width="323.19"/> <TableColumn Name="Column23" Width="323.19"/>
<TableColumn Name="Column24" Width="323.19"/> <TableColumn Name="Column24" Width="323.19"/>
<TableRow Name="Row11" Height="31.5"> <TableRow Name="Row11" Height="31.5">
@ -118,27 +134,11 @@ namespace FastReport
<TableCell Name="Cell53" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell53" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell54" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row13" Height="31.5"> <TableRow Name="Row13" Height="30.24">
<TableCell Name="Cell58" Border.Lines="Bottom" Text="日 期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell58" Border.Lines="Bottom" Text="日 期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="Left, Right, Bottom" Text="日 期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell59" Border.Lines="Left, Right, Bottom" Text="日 期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
</ReportSummaryBand> </PageFooterBand>
<ColumnFooterBand Name="ColumnFooter1" Top="236.07" Width="646.38">
<ChildBand Name="Child2" Top="196.16" Width="646.38" Height="35.91" Guides="0,35.91" FillUnusedSpace="true">
<TableObject Name="Table5" Width="646.37" Height="35.91" Border.Lines="All">
<TableColumn Name="Column19" Width="45.83"/>
<TableColumn Name="Column20" Width="197.03"/>
<TableColumn Name="Column21" Width="272.63"/>
<TableColumn Name="Column22" Width="130.88"/>
<TableRow Name="Row10" Height="35.91">
<TableCell Name="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell46" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell47" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
</ReportPage> </ReportPage>
</Report> </Report>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="02/06/2026 15:09:52" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="02/07/2026 16:41:04" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/> <Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ProjectOverview" DataType="System.String"/> <Parameter Name="ProjectOverview" DataType="System.String"/>
@ -7,6 +7,9 @@
<Parameter Name="DesigningUnit" DataType="System.String"/> <Parameter Name="DesigningUnit" DataType="System.String"/>
<Parameter Name="TestingUnit" DataType="System.String"/> <Parameter Name="TestingUnit" DataType="System.String"/>
<Parameter Name="ConstructionCompany" DataType="System.String"/> <Parameter Name="ConstructionCompany" DataType="System.String"/>
<Parameter Name="CompilationBasis" DataType="System.String"/>
<Parameter Name="MainContent" DataType="System.String"/>
<Parameter Name="CopiesNum" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.38,158.76,421.47,506.52,418.23,228.15,323.19"> <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.38,158.76,421.47,506.52,418.23,228.15,323.19">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="94.5" Guides="0,94.5,9.45,28.35"> <PageHeaderBand Name="PageHeader1" Width="646.38" Height="94.5" Guides="0,94.5,9.45,28.35">
@ -17,13 +20,13 @@
<TableRow Name="Row1" Height="94.5"> <TableRow Name="Row1" Height="94.5">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J104" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt"/> <TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J104" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt"/>
<TableCell Name="Cell2" Border.Lines="Top, Bottom" Text="交工技术文件说明" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/> <TableCell Name="Cell2" Border.Lines="Top, Bottom" Text="交工技术文件说明" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
<TableCell Name="Cell3" Border.Lines="All" Text=" [ProjectName]" Padding="2, 9, 2, 1" Font="楷体, 10.5pt"> <TableCell Name="Cell3" Border.Lines="All" Text=" [ProjectName]" Padding="5, 9, 2, 1" Font="楷体, 10.5pt">
<TextObject Name="Text1" Top="9.45" Width="85.05" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TextObject Name="Text1" Top="9.45" Width="85.05" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell> </TableCell>
</TableRow> </TableRow>
</TableObject> </TableObject>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="98.5" Width="646.38" Height="830.2" Guides="0,830.2,194.11,227.57,33.46,261.03,294.49,327.95,361.41,394.87,428.33,461.79,495.25,528.71,562.17,605.08,42.91,642.88,37.8,676.34,709.8,749.49"> <DataBand Name="Data1" Top="98.5" Width="646.38" Height="830.2" Guides="0,830.2,194.11,227.57,33.46,327.95,261.03,294.49,361.41,394.87,428.33,461.79,495.25,528.71,642.88,562.17,605.08,42.91,37.8,676.34,709.8,749.49">
<TableObject Name="Table2" Width="646.38" Height="830.2" Border.Lines="Left, Right, Bottom"> <TableObject Name="Table2" Width="646.38" Height="830.2" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column4" Width="228.15"/> <TableColumn Name="Column4" Width="228.15"/>
<TableColumn Name="Column5" Width="418.23"/> <TableColumn Name="Column5" Width="418.23"/>
@ -36,16 +39,16 @@
<TableCell Name="Cell10" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell10" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row4" Height="33.46"> <TableRow Name="Row4" Height="33.46">
<TableCell Name="Cell14" Text="1、《石油化工建设工程项目交工技术文件规定》SH/T 3503-2007" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell14" Text="[CompilationBasis]" Padding="50, 1, 2, 1" Font="楷体, 10.5pt" ColSpan="2" RowSpan="3"/>
<TableCell Name="Cell15" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell15" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row5" Height="33.46"> <TableRow Name="Row5" Height="33.46">
<TableCell Name="Cell19" Text="2、《国家重大建设项目文件归档要求与档案管理规范》DA/T28-2002 " Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell19" Padding="50, 1, 2, 1" Font="楷体, 10.5pt"/>
<TableCell Name="Cell20" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell20" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row6" Height="33.46"> <TableRow Name="Row6" Height="33.46">
<TableCell Name="Cell24" Text="3、《石油化工建设工程项目过程技术文件规定》DA/T28-2002 " Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell24" Padding="50, 1, 2, 1" Font="楷体, 10.5pt"/>
<TableCell Name="Cell25" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell25" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row7" Height="33.46"> <TableRow Name="Row7" Height="33.46">
<TableCell Name="Cell26" Text="三、参建单位" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell26" Text="三、参建单位" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
@ -72,15 +75,15 @@
<TableCell Name="Cell37" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell37" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row13" Height="33.46"> <TableRow Name="Row13" Height="33.46">
<TableCell Name="Cell38" Text="1、交工技术文件共2册分别为管道安装工程册、材料质量证明文件册" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell38" Text="[MainContent]" Padding="50, 1, 2, 1" Font="楷体, 10.5pt" ColSpan="2" RowSpan="3"/>
<TableCell Name="Cell39" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell39" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row14" Height="42.91"> <TableRow Name="Row14" Height="42.91">
<TableCell Name="Cell40" Text="2、本册为管道安装工程册册内内容包括封面、交工技术目录、交工技术总目录、交工技" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell40" Padding="50, 1, 2, 1" Font="楷体, 10.5pt"/>
<TableCell Name="Cell41" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell41" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row21" Height="37.8"> <TableRow Name="Row21" Height="37.8">
<TableCell Name="Cell57" Text="术说明、交工技术文件移交证书等。" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell57" Padding="50, 1, 2, 1" Font="楷体, 10.5pt"/>
<TableCell Name="Cell58"/> <TableCell Name="Cell58"/>
</TableRow> </TableRow>
<TableRow Name="Row15" Height="33.46"> <TableRow Name="Row15" Height="33.46">
@ -88,7 +91,7 @@
<TableCell Name="Cell43" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell43" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row16" Height="33.46"> <TableRow Name="Row16" Height="33.46">
<TableCell Name="Cell44" Text="1、交工纸质文件归档2份其中正本1份副本1份。" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell44" Text="[CopiesNum]" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell45" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell45" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row17" Height="39.69"> <TableRow Name="Row17" Height="39.69">

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/09/2025 11:39:20" ReportInfo.Modified="02/06/2026 16:34:13" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="12/09/2025 11:39:20" ReportInfo.Modified="02/07/2026 14:50:31" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/> <Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ContractNumber" DataType="System.String"/> <Parameter Name="ContractNumber" DataType="System.String"/>

View File

@ -51,6 +51,16 @@
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px" <f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right"> runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows> <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> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
@ -65,7 +75,12 @@
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
<Items> <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> </Items>
</f:FormRow> </f:FormRow>
</Rows> </Rows>

View File

@ -9,6 +9,7 @@ using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
using static System.Windows.Forms.VisualStyles.VisualStyleElement; using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using System.IO; using System.IO;
using Microsoft.SqlServer.Server;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@ -127,35 +128,57 @@ namespace FineUIPro.Web.JGZL
{ {
this.DocumentDescriptionId = report.DocumentDescriptionId; this.DocumentDescriptionId = report.DocumentDescriptionId;
this.txtProjectOverview.Text = report.ProjectOverview; 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.txtDesigningUnit.Text = report.DesigningUnit;
this.txtTestingUnit.Text = report.TestingUnit; 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 else
{ {
//var project = BLL.Base_ProjectService.GetProjectByProjectId(projectId); this.txtCompilationBasis.Text = "1、《石油化工建设工程项目交工技术文件规定》(SH/T3503-2017)\r\n2、《国家重大建设项目文件归档要求与档案管理规范》(DA/T28-2018)\r\n3、《石油化工建设工程项目过程技术文件规定》(SH/T3543-2017)";
//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.txtConstructionUnit.Text = "浙江石油化工有限公司"; this.txtConstructionUnit.Text = "浙江石油化工有限公司";
this.txtConstructionCompany.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.DesigningUnit = this.txtDesigningUnit.Text;
newDocumentDescription.TestingUnit = this.txtTestingUnit.Text; newDocumentDescription.TestingUnit = this.txtTestingUnit.Text;
newDocumentDescription.ConstructionCompany = this.txtConstructionCompany.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)) if (!string.IsNullOrEmpty(this.DocumentDescriptionId))
{ {
newDocumentDescription.DocumentDescriptionId = this.DocumentDescriptionId; newDocumentDescription.DocumentDescriptionId = this.DocumentDescriptionId;
@ -224,6 +250,9 @@ namespace FineUIPro.Web.JGZL
keyValuePairs.Add("DesigningUnit", this.txtDesigningUnit.Text); keyValuePairs.Add("DesigningUnit", this.txtDesigningUnit.Text);
keyValuePairs.Add("TestingUnit", this.txtTestingUnit.Text); keyValuePairs.Add("TestingUnit", this.txtTestingUnit.Text);
keyValuePairs.Add("ConstructionCompany", this.txtConstructionCompany.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); BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\交工技术文件说明.frx"; initTemplatePath = "File\\Fastreport\\JGZL\\交工技术文件说明.frx";

View File

@ -131,6 +131,24 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Form SimpleForm1; 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> /// <summary>
/// txtConstructionUnit 控件。 /// txtConstructionUnit 控件。
/// </summary> /// </summary>
@ -168,13 +186,22 @@ namespace FineUIPro.Web.JGZL
protected global::FineUIPro.TextBox txtConstructionCompany; protected global::FineUIPro.TextBox txtConstructionCompany;
/// <summary> /// <summary>
/// txtProjectOverview 控件。 /// txtMainContent 控件。
/// </summary> /// </summary>
/// <remarks> /// <remarks>
/// 自动生成的字段。 /// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks> /// </remarks>
protected global::FineUIPro.TextArea txtProjectOverview; protected global::FineUIPro.TextArea txtMainContent;
/// <summary>
/// txtCopiesNum 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCopiesNum;
/// <summary> /// <summary>
/// WindowPrint 控件。 /// WindowPrint 控件。

View File

@ -83974,6 +83974,12 @@ namespace Model
private System.Nullable<System.DateTime> _ReviewDate; private System.Nullable<System.DateTime> _ReviewDate;
private string _CompilationBasis;
private string _MainContent;
private string _CopiesNum;
private EntityRef<Base_Project> _Base_Project; private EntityRef<Base_Project> _Base_Project;
private EntityRef<Sys_User> _Sys_User; private EntityRef<Sys_User> _Sys_User;
@ -84006,6 +84012,12 @@ namespace Model
partial void OnReviewerChanged(); partial void OnReviewerChanged();
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value); partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
partial void OnReviewDateChanged(); partial void OnReviewDateChanged();
partial void OnCompilationBasisChanging(string value);
partial void OnCompilationBasisChanged();
partial void OnMainContentChanging(string value);
partial void OnMainContentChanged();
partial void OnCopiesNumChanging(string value);
partial void OnCopiesNumChanged();
#endregion #endregion
public JGZL_DocumentDescription() public JGZL_DocumentDescription()
@ -84248,6 +84260,66 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompilationBasis", DbType="NVarChar(1000)")]
public string CompilationBasis
{
get
{
return this._CompilationBasis;
}
set
{
if ((this._CompilationBasis != value))
{
this.OnCompilationBasisChanging(value);
this.SendPropertyChanging();
this._CompilationBasis = value;
this.SendPropertyChanged("CompilationBasis");
this.OnCompilationBasisChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainContent", DbType="NVarChar(500)")]
public string MainContent
{
get
{
return this._MainContent;
}
set
{
if ((this._MainContent != value))
{
this.OnMainContentChanging(value);
this.SendPropertyChanging();
this._MainContent = value;
this.SendPropertyChanged("MainContent");
this.OnMainContentChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CopiesNum", DbType="NVarChar(500)")]
public string CopiesNum
{
get
{
return this._CopiesNum;
}
set
{
if ((this._CopiesNum != value))
{
this.OnCopiesNumChanging(value);
this.SendPropertyChanging();
this._CopiesNum = value;
this.SendPropertyChanged("CopiesNum");
this.OnCopiesNumChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project public Base_Project Base_Project
{ {