This commit is contained in:
高飞 2026-02-03 17:11:32 +08:00
commit ab901eecde
36 changed files with 2565 additions and 196 deletions

View File

@ -0,0 +1,102 @@
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
values('4622EDCD-6313-4736-852C-CF8B3D2CAB3B','封面','JGZL/Cover.aspx',1,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
go
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('35901831-D34A-4248-ADC2-55B11F72C7E8','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','增加',1)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('C3330C1C-5009-43C2-AEA1-997C0677C808','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','修改',2)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('9504E17E-D25F-4BE0-9069-10BBCF88FAEC','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','删除',3)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('100901FA-21CB-4714-8B5C-EA0CA3ADE1DC','4622EDCD-6313-4736-852C-CF8B3D2CAB3B','保存',4)
go
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
values('81B9A521-A077-48C5-98A8-3A44C0B0D803','交工技术文件说明','JGZL/DocumentDescription.aspx',5,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
go
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('157E0A36-3D83-43CD-99F4-972471B95E41','81B9A521-A077-48C5-98A8-3A44C0B0D803','增加',1)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('7CED6294-82EB-4A27-AB04-95B4A20564B0','81B9A521-A077-48C5-98A8-3A44C0B0D803','修改',2)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('916161C5-AFE2-4343-8EE6-2D7E9FBADF4E','81B9A521-A077-48C5-98A8-3A44C0B0D803','删除',3)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('CBAB663D-CAB1-4D8B-A5FE-01B6AFF6719D','81B9A521-A077-48C5-98A8-3A44C0B0D803','保存',4)
go
CREATE TABLE [dbo].[JGZL_DocumentDescription](
[DocumentDescriptionId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[ProjectOverview] [nvarchar](2000) NULL,
[ConstructionUnit] [nvarchar](50) NULL,
[DesigningUnit] [nvarchar](50) NULL,
[TestingUnit] [nvarchar](50) NULL,
[ConstructionCompany] [nvarchar](50) NULL,
[CompileMan] [nvarchar](50) NULL,
[CompileDate] [datetime] NULL,
[Reviewer] [nvarchar](50) NULL,
[ReviewDate] [datetime] NULL,
CONSTRAINT [PK_JGZL_DocumentDescription] PRIMARY KEY CLUSTERED
(
[DocumentDescriptionId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[JGZL_DocumentDescription] WITH CHECK ADD CONSTRAINT [FK_JGZL_DocumentDescription_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[JGZL_DocumentDescription] CHECK CONSTRAINT [FK_JGZL_DocumentDescription_Base_Project]
GO
ALTER TABLE [dbo].[JGZL_DocumentDescription] WITH CHECK ADD CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User] FOREIGN KEY([CompileMan])
REFERENCES [dbo].[Sys_User] ([UserId])
GO
ALTER TABLE [dbo].[JGZL_DocumentDescription] CHECK CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User]
GO
ALTER TABLE [dbo].[JGZL_DocumentDescription] WITH CHECK ADD CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User1] FOREIGN KEY([Reviewer])
REFERENCES [dbo].[Sys_User] ([UserId])
GO
ALTER TABLE [dbo].[JGZL_DocumentDescription] CHECK CONSTRAINT [FK_JGZL_DocumentDescription_Sys_User1]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'DocumentDescriptionId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ProjectId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'工程概况' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ProjectOverview'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'建设单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ConstructionUnit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设计单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'DesigningUnit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'检测单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'TestingUnit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ConstructionCompany'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'CompileMan'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'CompileDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'Reviewer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription', @level2type=N'COLUMN',@level2name=N'ReviewDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交工技术文件说明' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_DocumentDescription'
GO

View File

@ -247,6 +247,7 @@
<Compile Include="HJGL\WeldingManage\WelderOKRateStatisticsService.cs" />
<Compile Include="HJGL\WeldingManage\WeldRecordInService.cs" />
<Compile Include="JGZL\AcceptanceCertificateService.cs" />
<Compile Include="JGZL\DocumentDescriptionService.cs" />
<Compile Include="JGZL\LeakTestOfPipelineSystemRecordItemService.cs" />
<Compile Include="JGZL\PressureTestOfPipelineSystemRecordItemService.cs" />
<Compile Include="JGZL\AnticorrosionEngineeringInspectionRecordItemService.cs" />

View File

@ -1895,6 +1895,11 @@ namespace BLL
/// </summary>
public const string JGZL_ValveInspectionTestRecordMenuId = "A787D641-92EB-4C97-809D-7947C750338E";
/// <summary>
/// 交工技术文件说明
/// </summary>
public const string JGZL_DocumentDescriptionMenuId = "81B9A521-A077-48C5-98A8-3A44C0B0D803";
#endregion

View File

@ -0,0 +1,83 @@
using Model;
using NPOI.POIFS.FileSystem;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 交工技术文件说明
/// </summary>
public class DocumentDescriptionService
{
/// <summary>
/// 根据项目Id获取交工技术文件说明
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static Model.JGZL_DocumentDescription GetDocumentDescriptionByProjectId(string projectId)
{
return Funs.DB.JGZL_DocumentDescription.FirstOrDefault(e => e.ProjectId == projectId);
}
/// <summary>
/// 添加
/// </summary>
/// <param name="documentDescription"></param>
public static void AddDocumentDescription(Model.JGZL_DocumentDescription documentDescription)
{
SGGLDB db = Funs.DB;
Model.JGZL_DocumentDescription newDocumentDescription = new JGZL_DocumentDescription();
newDocumentDescription.DocumentDescriptionId = documentDescription.DocumentDescriptionId;
newDocumentDescription.ProjectId = documentDescription.ProjectId;
newDocumentDescription.ProjectOverview = documentDescription.ProjectOverview;
newDocumentDescription.ConstructionUnit = documentDescription.ConstructionUnit;
newDocumentDescription.DesigningUnit = documentDescription.DesigningUnit;
newDocumentDescription.TestingUnit = documentDescription.TestingUnit;
newDocumentDescription.ConstructionCompany = documentDescription.ConstructionCompany;
newDocumentDescription.CompileMan = documentDescription.CompileMan;
newDocumentDescription.CompileDate = documentDescription.CompileDate;
newDocumentDescription.Reviewer = documentDescription.Reviewer;
newDocumentDescription.ReviewDate = documentDescription.ReviewDate;
db.JGZL_DocumentDescription.InsertOnSubmit(newDocumentDescription);
db.SubmitChanges();
}
/// <summary>
/// 修改
/// </summary>
/// <param name="documentDescription"></param>
public static void UpdateDocumentDescription(Model.JGZL_DocumentDescription documentDescription)
{
SGGLDB db = Funs.DB;
Model.JGZL_DocumentDescription newDocumentDescription = db.JGZL_DocumentDescription.FirstOrDefault(e => e.DocumentDescriptionId == documentDescription.DocumentDescriptionId);
if (newDocumentDescription != null)
{
newDocumentDescription.ProjectOverview = documentDescription.ProjectOverview;
newDocumentDescription.ConstructionUnit = documentDescription.ConstructionUnit;
newDocumentDescription.DesigningUnit = documentDescription.DesigningUnit;
newDocumentDescription.TestingUnit = documentDescription.TestingUnit;
newDocumentDescription.ConstructionCompany = documentDescription.ConstructionCompany;
db.SubmitChanges();
}
}
/// <summary>
/// 根据主键删除交工技术文件说明
/// </summary>
/// <param name="documentDescriptionId"></param>
public static void DeleteDocumentDescriptionById(string documentDescriptionId)
{
SGGLDB db = Funs.DB;
Model.JGZL_DocumentDescription documentDescription = db.JGZL_DocumentDescription.FirstOrDefault(e => e.DocumentDescriptionId == documentDescriptionId);
if (documentDescription != null)
{
db.JGZL_DocumentDescription.DeleteOnSubmit(documentDescription);
db.SubmitChanges();
}
}
}
}

View File

@ -0,0 +1,115 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="01/30/2026 14:43:35" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ProjectOverview" DataType="System.String"/>
<Parameter Name="ConstructionUnit" DataType="System.String"/>
<Parameter Name="DesigningUnit" DataType="System.String"/>
<Parameter Name="TestingUnit" DataType="System.String"/>
<Parameter Name="ConstructionCompany" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,623.7,151.2,406.35,396.9,491.4,623.61,500,123.61,623.8,311.9">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="94.5" Guides="0,94.5,18.9">
<TableObject Name="Table1" Width="623.7" Height="94.5" Border.Lines="Left">
<TableColumn Name="Column1" Width="151.2"/>
<TableColumn Name="Column2" Width="255.15"/>
<TableColumn Name="Column3" Width="217.35"/>
<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="Cell2" Border.Lines="All" Text="交工技术文件说明" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold">
<TextObject Name="Text1" Left="245.7" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell3" Border.Lines="All" Text=" [ProjectName]" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="98.5" Width="623.7" Height="786.17" Guides="0,786.17,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,614.53,52.36,647.9901,681.45,714.91">
<TableObject Name="Table2" Width="623.61" Height="786.17" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column4" Width="123.61"/>
<TableColumn Name="Column5" Width="500"/>
<TableRow Name="Row2" Height="194.11">
<TableCell Name="Cell4" Text="一、工程概况:[ProjectOverview]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell5" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="33.46">
<TableCell Name="Cell9" Text="二、编制依据" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell10" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="33.46">
<TableCell Name="Cell14" Text=" 1、《石油化工建设工程项目交工技术文件规定》SH/T 3503-2007" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell15" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="33.46">
<TableCell Name="Cell19" Text=" 2、《国家重大建设项目文件归档要求与档案管理规范》DA/T28-2002 " VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell20" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="33.46">
<TableCell Name="Cell24" Text=" 3、《石油化工建设工程项目过程技术文件规定》DA/T28-2002 " VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell25" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="33.46">
<TableCell Name="Cell26" Text="三、参建单位" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell27" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="33.46">
<TableCell Name="Cell28" Text="建设单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell29" Text="[ConstructionUnit]" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="33.46">
<TableCell Name="Cell30" Text="设计单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell31" Text="[DesigningUnit]" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="33.46">
<TableCell Name="Cell32" Text="检测单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell33" Text="[TestingUnit]" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="33.46">
<TableCell Name="Cell34" Text="施工单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell35" Text="[ConstructionCompany]" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="33.46">
<TableCell Name="Cell36" Text="四、案卷构成及本卷册主要内容" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell37" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="33.46">
<TableCell Name="Cell38" Text=" 1、交工技术文件共2册分别为管道安装工程册、材料质量证明文件册" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell39" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="52.36">
<TableCell Name="Cell40" Text=" 2、本册为管道安装工程册册内内容包括封面、交工技术目录、交工技术总目录、交工技术说明、交工技术文件移交证书等。" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell41" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row15" Height="33.46">
<TableCell Name="Cell42" Text="五、编制份数" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell43" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row16" Height="33.46">
<TableCell Name="Cell44" Text="1、交工纸质文件归档2份其中正本1份副本1份。" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell45" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row17" Height="33.46">
<TableCell Name="Cell46" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell47" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row18" Height="71.26">
<TableCell Name="Cell48" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell49" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
<DataFooterBand Name="DataFooter1" Top="888.67" Width="623.7" Height="85.06" Guides="0,85.06,42.53">
<TableObject Name="Table3" Width="623.8" Height="85.06" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column6" Width="311.9"/>
<TableColumn Name="Column7" Width="311.9"/>
<TableRow Name="Row19" Height="42.53">
<TableCell Name="Cell50" Text="编制人:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell51" Border.Lines="Left" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row20" Height="42.53">
<TableCell Name="Cell55" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="Left" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</DataFooterBand>
</DataBand>
</ReportPage>
</Report>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2025 15:50:06" ReportInfo.Modified="12/31/2025 14:46:04" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/29/2025 15:50:06" ReportInfo.Modified="02/02/2026 14:35:43" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@ -42,7 +42,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF/J7hkNTyMxeqnl8XIPwd9A==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF0vrjqw4AHv0MUA8eCRim2w==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="MeasuringInstrumentsName" DataType="System.String" PropName="image_series"/>
@ -57,7 +57,7 @@ namespace FastReport
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" Guides="0,963.9,264.6,633.15,368.55,50.4,185.85,321.3,428.4,526.05,670.95,778.05,875.7,963.76,481.88">
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" Guides="0,963.9,264.6,633.15,368.55,50.4,185.85,321.3,428.4,526.05,670.95,778.05,875.7,481.95">
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="103.95" Guides="0,75.63,23.64,51.99,75.6,103.95,28.35">
<TableObject Name="Table1" Width="963.9" Height="75.63">
<TableColumn Name="Column1" Width="264.6"/>
@ -134,28 +134,28 @@ namespace FastReport
<TableColumn Name="Column29" Width="97.65"/>
<TableColumn Name="Column30" Width="88.2"/>
<TableRow Name="Row5" Height="28.35">
<TableCell Name="Cell47" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell51" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell47" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell51" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell52" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="176.65" Width="971.46" Height="92.99" Guides="0,92.99,50.46">
<TableObject Name="Table5" Width="963.76" Height="92.99" Border.Lines="All">
<TableColumn Name="Column31" Width="481.88"/>
<TableColumn Name="Column32" Width="481.88"/>
<TableRow Name="Row6" Height="50.46">
<PageFooterBand Name="PageFooter1" Top="176.65" Width="971.46" Height="94.12" Guides="0,94.12,51.03">
<TableObject Name="Table5" Width="963.9" Height="94.12" Border.Lines="All">
<TableColumn Name="Column31" Width="481.95"/>
<TableColumn Name="Column32" Width="481.95"/>
<TableRow Name="Row6" Height="51.03">
<TableCell Name="Cell56" Border.Lines="Left, Right, Top" Text="编制人:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="Left, Right, Top" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="42.53">
<TableRow Name="Row7" Height="43.09">
<TableCell Name="Cell61" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>

View File

@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 15:42:03" ReportInfo.Modified="01/29/2026 17:08:33" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="Code" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,623.7,207.9,415.8,396.9,491.4,623.71,482.38,141.33">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="88.83" Guides="0,88.83,18.9">
<TableObject Name="Table1" Width="623.7" Height="88.83">
<TableColumn Name="Column1" Width="207.9"/>
<TableColumn Name="Column2" Width="207.9"/>
<TableColumn Name="Column3" Width="207.9"/>
<TableRow Name="Row1" Height="88.83">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J101A" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt"/>
<TableCell Name="Cell2" Border.Lines="All" Text="封 面" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold">
<TextObject Name="Text1" Left="189" Width="94.5" Height="18.9" Text=" 卷号:" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell3" Border.Lines="All" Text=" [Code] "/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="92.83" Width="623.7" Height="642.34" Guides="0,642.34,174.76,255.02,335.28">
<TableObject Name="Table2" Width="623.71" Height="642.34" Border.Lines="Left, Right">
<TableColumn Name="Column4" Width="141.33"/>
<TableColumn Name="Column5" Width="482.38"/>
<TableRow Name="Row2" Height="174.76">
<TableCell Name="Cell4" Border.Lines="Left, Right" Text="石油化工建设工程项目交工技术文件" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt" ColSpan="2"/>
<TableCell Name="Cell20" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt"/>
</TableRow>
<TableRow Name="Row3" Height="80.26">
<TableCell Name="Cell9" Border.Lines="Left" Text="工程名称:" HorzAlign="Right" VertAlign="Bottom" Font="宋体, 14pt"/>
<TableCell Name="Cell21" Border.Lines="Right" Text="[ProjectName]" VertAlign="Bottom" Font="楷体, 14pt"/>
</TableRow>
<TableRow Name="Row4" Height="80.26">
<TableCell Name="Cell14" Border.Lines="Left" Text="卷 名:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell22" Border.Lines="Right" Text="管道安装工程卷" VertAlign="Center" Font="楷体, 14pt"/>
</TableRow>
<TableRow Name="Row5" Height="307.06">
<TableCell Name="Cell19" Border.Lines="Left"/>
<TableCell Name="Cell23" Border.Lines="Right"/>
</TableRow>
</TableObject>
<DataFooterBand Name="DataFooter1" Top="739.17" Width="623.7" Height="226.8" Guides="0,226.8,41.58,83.16,115.29,166.32">
<TableObject Name="Table3" Width="623.7" Height="226.8" Border.Lines="Right">
<TableColumn Name="Column6" Width="207.9"/>
<TableColumn Name="Column7" Width="207.9"/>
<TableColumn Name="Column8" Width="207.9"/>
<TableRow Name="Row6" Height="41.58">
<TableCell Name="Cell24" Border.Lines="Left" Text=" 建设单位" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell25" Text="监理单位" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell26" Text="施工单位" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row7" Height="41.58">
<TableCell Name="Cell29" Border.Lines="Left" Text=" (项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell30" Text="(项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Text="(项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="32.13">
<TableCell Name="Cell34" Border.Lines="Left" VertAlign="Center"/>
<TableCell Name="Cell35" VertAlign="Center"/>
<TableCell Name="Cell36" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row9" Height="51.03">
<TableCell Name="Cell39" Border.Lines="Left" Text=" 项目经理:" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell40" Text=" 项目总监:" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell41" Text="项目经理:" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row10" Height="60.48">
<TableCell Name="Cell44" Border.Lines="Left, Bottom" Text="年 月 日" HorzAlign="Center" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell45" Border.Lines="Bottom" Text="年 月 日" HorzAlign="Center" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell46" Border.Lines="Bottom" Text="年 月 日" HorzAlign="Center" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
</TableObject>
</DataFooterBand>
</DataBand>
</ReportPage>
</Report>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/12/2025 11:03:02" ReportInfo.Modified="01/22/2026 10:49:24" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/12/2025 11:03:02" ReportInfo.Modified="02/02/2026 09:58:02" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@ -18,21 +18,6 @@ namespace FastReport
{
public class ReportScript
{
private void Cell26_AfterData(object sender, EventArgs e)
{
//Table table = sender as Cell26;
//foreach (TableRow row in table.Rows)
//{
//foreach (TableCell cell in row.Cells)
//{
// 获取内容高度
float contentHeight = cell26.TextHeight;
// 行高 = 内容高度 + 上下边距例如4mm
row6.Height = contentHeight + Units.Millimeters * 4;
// }
// }
}
}
}
</ScriptText>
@ -47,8 +32,8 @@ namespace FastReport
<Parameter Name="SupervisoryOpinion" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="0,623.7,151.2,47.25,396.9,122.85,103.95,226.8,274.05,623.72,155.93,311.86,467.79">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="838.63" Guides="0,838.63,82.54,22.68,59.86,114.05,31.51,145.56,167.62,22.06,394.42,226.8,416.48,589.74,173.26,621.25,643.31,807.12,163.81">
<TableObject Name="Table1" Width="623.7" Height="838.63">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="781.93" Guides="0,781.93,82.54,22.68,59.86,114.05,31.51,145.56,167.62,22.06,366.07,198.45,388.13,542.49,154.36,574,596.06,750.42">
<TableObject Name="Table1" Width="623.7" Height="781.93">
<TableColumn Name="Column1" Width="103.95"/>
<TableColumn Name="Column2" Width="47.25"/>
<TableColumn Name="Column3" Width="122.85"/>
@ -89,8 +74,8 @@ namespace FastReport
<TableCell Name="Cell24" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell25" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="226.8">
<TableCell Name="Cell26" Border.Lines="Left, Right, Bottom" AfterDataEvent="Cell26_AfterData" Text="[ProjectContent]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableRow Name="Row6" Height="198.45">
<TableCell Name="Cell26" Border.Lines="Left, Right, Bottom" Text="[ProjectContent]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -103,7 +88,7 @@ namespace FastReport
<TableCell Name="Cell34" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="173.26">
<TableRow Name="Row8" Height="154.36">
<TableCell Name="Cell36" Border.Lines="Left, Right" Text="[AcceptanceOpinion]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell37" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell38" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -124,7 +109,7 @@ namespace FastReport
<TableCell Name="Cell49" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="163.81">
<TableRow Name="Row11" Height="154.36">
<TableCell Name="Cell51" Border.Lines="Left, Right" Text="[SupervisoryOpinion]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell52" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -140,8 +125,8 @@ namespace FastReport
</TableRow>
</TableObject>
</PageHeaderBand>
<PageFooterBand Name="PageFooter1" Top="842.63" Width="623.7" Height="132.24" Guides="0,132.24,33.06,66.12,99.18001">
<TableObject Name="Table2" Width="623.72" Height="132.24" Border.Lines="Left, Right, Bottom">
<PageFooterBand Name="PageFooter1" Top="785.93" Width="623.7" Height="188.94" Guides="0,188.94,33.06,85.02,155.88">
<TableObject Name="Table2" Width="623.72" Height="188.94" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column6" Width="155.93"/>
<TableColumn Name="Column7" Width="155.93"/>
<TableColumn Name="Column8" Width="155.93"/>
@ -152,17 +137,17 @@ namespace FastReport
<TableCell Name="Cell63" Border.Lines="All" Text="监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" Text="施工单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="33.06">
<TableCell Name="Cell66" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableRow Name="Row14" Height="51.96">
<TableCell Name="Cell66" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Bottom" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Bottom" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Bottom" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="Left, Right, Top" Text="(项目部章)" VertAlign="Bottom" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row15" Height="33.06">
<TableCell Name="Cell71" Border.Lines="Left, Right" Text="项目经理:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="Left, Right" Text="项目经理:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="Left, Right" Text="项目总监:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="Left, Right" Text="项目经理:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableRow Name="Row15" Height="70.86">
<TableCell Name="Cell71" Border.Lines="Left, Right" Text="&#13;&#10;项目经理:" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="Left, Right" Text="&#13;&#10;项目经理:" Font="宋体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="Left, Right" Text="&#13;&#10;项目总监:" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="Left, Right" Text="&#13;&#10;项目经理:" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row16" Height="33.06">
<TableCell Name="Cell76" Border.Lines="Left, Right, Bottom" Text="年 月 日" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/15/2025 14:30:33" ReportInfo.Modified="12/15/2025 15:07:41" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/15/2025 14:30:33" ReportInfo.Modified="02/02/2026 10:01:43" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ContractNumber" DataType="System.String"/>
@ -17,8 +17,8 @@
<Parameter Name="OpinionsDate" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="0,623.7,163.35,41.85,60.75,360.45,79.65,477.9,117.45,145.8,102.6,280.8,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="772.76" Guides="0,772.76,97.42,20.36,47.25,67.61,29.81,127.23,157.04,205.75,48.71,235.56,473.27,237.71,503.08,532.89,562.7,713.14,150.44,742.95">
<TableObject Name="Table1" Width="623.7" Height="772.76">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="801.11" Guides="0,801.11,97.42,20.36,47.25,67.61,29.81,127.23,157.04,205.75,48.71,235.56,435.47,199.91,493.63,58.16,561.24,591.05,741.49,150.44,771.3">
<TableObject Name="Table1" Width="623.7" Height="801.11">
<TableColumn Name="Column1" Width="60.75"/>
<TableColumn Name="Column2" Width="41.85"/>
<TableColumn Name="Column3" Width="60.75"/>
@ -89,7 +89,7 @@
<TableCell Name="Cell41" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell42" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="237.71">
<TableRow Name="Row7" Height="199.91">
<TableCell Name="Cell43" Border.Lines="Left, Right" Text="[Contents]" Font="楷体, 10.5pt" ColSpan="7"/>
<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"/>
@ -98,7 +98,7 @@
<TableCell Name="Cell48" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="29.81">
<TableRow Name="Row8" Height="58.16">
<TableCell Name="Cell50" Border.Lines="Left" Text="经办人:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell51" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell52" Text="[Handler]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
@ -107,7 +107,7 @@
<TableCell Name="Cell55" Border.Lines="Left, Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="Left, Right" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="29.81">
<TableRow Name="Row9" Height="67.61">
<TableCell Name="Cell57" Border.Lines="Left, Bottom" Text="审核人:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell58" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="Bottom" Text="[Reviewer]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
@ -154,7 +154,7 @@
</TableRow>
</TableObject>
</PageHeaderBand>
<PageFooterBand Name="PageFooter1" Top="776.76" Width="623.7" Height="198.38" Guides="0,198.38,92.12,127.54,162.96">
<PageFooterBand Name="PageFooter1" Top="805.11" Width="623.7" Height="198.38" Guides="0,198.38,92.12,127.54,162.96">
<TableObject Name="Table2" Width="623.7" Height="198.38" Border.Lines="Left, Bottom">
<TableColumn Name="Column8" Width="207.9"/>
<TableColumn Name="Column9" Width="207.9"/>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/22/2025 14:15:28" ReportInfo.Modified="12/31/2025 14:45:41" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/22/2025 14:15:28" ReportInfo.Modified="02/02/2026 10:41:22" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFg1qRjSswFxgpEVsc1cd7Ug==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFx3bd3T6Sb/EHw7Al2HDS3Q==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="MaintenanceCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="ConUnit" DataType="System.String" PropName="image_series"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="12/31/2025 15:15:02" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="02/02/2026 14:40:31" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@ -50,7 +50,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFbjvfqDT1H+9UGW5LXCapGg==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFW30vj2KFT1897rlz+IWpqw==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="ISO_IsoNo" DataType="System.String" PropName="attach_image_id"/>
<Column Name="JOT_JointNo" DataType="System.String" PropName="image_series"/>
@ -66,9 +66,9 @@ namespace FastReport
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" FirstPageSource="4" OtherPagesSource="4" Guides="0,952.51,221.52,44.61,703.39,110.76,88.72,82.41,35.16,816.04,49.14,176.91,303.93,414.69,503.41,585.82,668.23,766.9,63.51,870.1,54.06,952.69,318.15,636.3">
<PageHeaderBand Name="PageHeader1" Width="952.56" Height="139.1" Guides="0,139.1,101.3,63.5,37.8">
<TableObject Name="Table1" Width="952.51" Height="139.1">
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" FirstPageSource="4" OtherPagesSource="4" Guides="0,952.51,221.52,44.61,703.39,110.76,88.72,82.41,35.16,797.89,49.14,816.04,870.1,176.91,303.93,414.69,503.41,585.82,668.23,766.9,63.51,54.06,318.09,636.18">
<PageHeaderBand Name="PageHeader1" Width="952.56" Height="139.1" Guides="0,139.1,101.3,63.5,18.9,37.8">
<TableObject Name="Table1" Width="952.51" Height="139.1" Border.Lines="Right">
<TableColumn Name="Column1" Width="176.91"/>
<TableColumn Name="Column2" Width="44.61"/>
<TableColumn Name="Column3" Width="82.41"/>
@ -90,10 +90,12 @@ namespace FastReport
<TableCell Name="Cell26" Border.Lines="All"/>
<TableCell Name="Cell27" Border.Lines="All"/>
<TableCell Name="Cell28" Border.Lines="All"/>
<TableCell Name="Cell29" Border.Lines="Left, Top" Text="工程名称:" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell30" Border.Lines="Left, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="Right, Top" Text="[ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell32" Border.Lines="Right, Top"/>
<TableCell Name="Cell29" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="4">
<TextObject Name="Text1" Width="94.5" Height="18.9" Text="工程名称:" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell30" Border.Lines="Left, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="Right, Top" Font="楷体, 10.5pt"/>
<TableCell Name="Cell32" Border.Lines="Right, Top" Font="楷体, 9pt"/>
</TableRow>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell6" Border.Lines="All"/>
@ -188,10 +190,10 @@ namespace FastReport
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="223.14" Width="952.56" Height="124.74" PrintOn="FirstPage" Guides="0,124.74,34.02,56.7,79.38,102.06">
<TableObject Name="Table4" Width="952.69" Height="124.74" Border.Lines="Left, Top">
<TableColumn Name="Column37" Width="318.15"/>
<TableColumn Name="Column38" Width="318.15"/>
<TableColumn Name="Column39" Width="316.39"/>
<TableObject Name="Table4" Width="952.51" Height="124.74" Border.Lines="Left, Right, Top">
<TableColumn Name="Column37" Width="318.09"/>
<TableColumn Name="Column38" Width="318.09"/>
<TableColumn Name="Column39" Width="316.33"/>
<TableRow Name="Row8" Height="34.02">
<TableCell Name="Cell95" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell96" Border.Lines="All" Text="总承包单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="01/05/2026 15:47:52" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="02/02/2026 14:41:54" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@ -42,7 +42,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFxHHEViFymr9mzcxzRJIteQ==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFnITlzB5GjPX7KsP0wxLZ/Q==">
<TableDataSource Name="Attach_Image" Alias="Data" DataType="System.Int32" Enabled="true" TableName="Attach_Image">
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
<Column Name="ISO_IsoNo" DataType="System.String" PropName="image_series"/>

View File

@ -0,0 +1,157 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 09:44:46" ReportInfo.Modified="01/29/2026 10:21:19" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="SystemName" DataType="System.String"/>
<Parameter Name="SystemCode" DataType="System.String"/>
<Parameter Name="CheckItem1" DataType="System.String"/>
<Parameter Name="CheckItem2" DataType="System.String"/>
<Parameter Name="CheckItem3" DataType="System.String"/>
<Parameter Name="CheckItem4" DataType="System.String"/>
<Parameter Name="CheckItem5" DataType="System.String"/>
<Parameter Name="CheckItem6" DataType="System.String"/>
<Parameter Name="CheckItem7" DataType="System.String"/>
<Parameter Name="CheckItem8" DataType="System.String"/>
<Parameter Name="CheckItem9" DataType="System.String"/>
<Parameter Name="CheckItem10" DataType="System.String"/>
<Parameter Name="CheckItem11" DataType="System.String"/>
<Parameter Name="CheckItem12" DataType="System.String"/>
<Parameter Name="Remark" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,624.12,151.34,66.22,387.73,378.14,472.64,104.02,122.92,85.12,132.37,501.2,283.71,623.76,387.48,236.28,623.7,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="125.12" Guides="0,125.12,87.32,58.97,18.9,28.35,37.8">
<TableObject Name="Table1" Width="624.12" Height="125.12">
<TableColumn Name="Column1" Width="85.12"/>
<TableColumn Name="Column2" Width="66.22"/>
<TableColumn Name="Column3" Width="132.37"/>
<TableColumn Name="Column4" Width="104.02"/>
<TableColumn Name="Column5" Width="113.47"/>
<TableColumn Name="Column6" Width="122.92"/>
<TableRow Name="Row1" Height="58.97">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J406-1" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All"/>
<TableCell Name="Cell3" Border.Lines="All" Text="管道系统压力试验条件确认记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="2">
<TextObject Name="Text1" Left="226.8" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell4" Border.Lines="All"/>
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell26" Border.Lines="All"/>
</TableRow>
<TableRow Name="Row2" Height="28.35">
<TableCell Name="Cell6" Border.Lines="All"/>
<TableCell Name="Cell7" Border.Lines="All"/>
<TableCell Name="Cell8" Border.Lines="All"/>
<TableCell Name="Cell9" Border.Lines="All"/>
<TableCell Name="Cell10" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell11" Border.Lines="All" Text="系统名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="[SystemName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" Text="系统编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="[SystemCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="129.12" Width="623.7" Height="662.69" Guides="0,662.69,30.46,60.92,91.38,121.84,152.3,182.76,213.22,243.68,283.59,314.05,344.51,374.97,405.43,435.89,226.8">
<TableObject Name="Table2" Width="623.76" Height="662.69" Border.Lines="Left, Bottom">
<TableColumn Name="Column7" Width="387.48"/>
<TableColumn Name="Column8" Width="236.28"/>
<TableRow Name="Row4" Height="30.46">
<TableCell Name="Cell29" Border.Lines="All" Text="检查项目与要求" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell30" Border.Lines="All" Text="检查结果" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="30.46">
<TableCell Name="Cell34" Border.Lines="All" Text="管道安装符合设计文件和规范要求" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="[CheckItem1]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="30.46">
<TableCell Name="Cell39" Border.Lines="All" Text="管道组成件复验合格" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" Text="[CheckItem2]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="30.46">
<TableCell Name="Cell44" Border.Lines="All" Text="焊接工作记录齐全" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" Text="[CheckItem3]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="30.46">
<TableCell Name="Cell49" Border.Lines="All" Text="无损检测结果符合设计文件和规范要求" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="All" Text="[CheckItem4]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="30.46">
<TableCell Name="Cell51" Border.Lines="All" Text="热处理结果符合设计文件和规范要求" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell52" Border.Lines="All" Text="[CheckItem5]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="30.46">
<TableCell Name="Cell53" Border.Lines="All" Text="支、吊架安装正确" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" Text="[CheckItem6]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="30.46">
<TableCell Name="Cell55" Border.Lines="All" Text="合金钢管道材质标记清楚" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="All" Text="[CheckItem7]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="39.91">
<TableCell Name="Cell57" Border.Lines="All" Text="不参与管道系统试验的安全附件、仪表已按规定拆除或隔离,参与试压的系统内的阀门全部开启" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" Text="[CheckItem8]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="30.46">
<TableCell Name="Cell59" Border.Lines="All" Text="临时加固措施、盲板位置与标识符合施工方案要求" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="All" Text="[CheckItem9]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="30.46">
<TableCell Name="Cell61" Border.Lines="All" Text="焊接接头及需要检验的部位未被覆盖" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" Text="[CheckItem10]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row15" Height="30.46">
<TableCell Name="Cell63" Border.Lines="All" Text="试压用压力表量程、精度等级、检定状态符合规范要求" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" Text="[CheckItem11]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row16" Height="30.46">
<TableCell Name="Cell65" Border.Lines="All" Text="不锈钢管道试验用水符合规范要求、附水质分析报告" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" Text="[CheckItem12]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row17" Height="30.46">
<TableCell Name="Cell67" Border.Lines="Left, Right, Top" Text="备注:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell68" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row18" Height="226.8">
<TableCell Name="Cell69" Border.Lines="Left, Right, Bottom" Text="[Remark]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell70" Border.Lines="Left, Right, Bottom"/>
</TableRow>
</TableObject>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="795.81" Width="623.7" Height="179.55" Guides="0,179.55,30.24,69.93,109.62,149.31">
<TableObject Name="Table3" Width="623.7" Height="179.55" Border.Lines="Left, Right, Top">
<TableColumn Name="Column9" Width="207.9"/>
<TableColumn Name="Column10" Width="207.9"/>
<TableColumn Name="Column11" Width="207.9"/>
<TableRow Name="Row19" Height="30.24">
<TableCell Name="Cell71" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="总 承 包 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="All" Text="施 工 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row20" Height="39.69">
<TableCell Name="Cell76" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell77" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell78" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row21" Height="39.69">
<TableCell Name="Cell81" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell82" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell83" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row22" Height="39.69">
<TableCell Name="Cell86" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell87" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell88" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row23" Height="30.24">
<TableCell Name="Cell91" Border.Lines="Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell92" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell93" Border.Lines="Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,221 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="01/29/2026 15:41:46" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
private void Table3_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Table3.PrintRow(0);
Table3.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFbjvfqDT1H+9UGW5LXCapGg==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="PipelineNo" DataType="System.String" PropName="attach_image_id"/>
<Column Name="DesignPressure" DataType="System.String" PropName="image_series"/>
<Column Name="DesignTemperature" DataType="System.String" PropName="file_name"/>
<Column Name="TestTemperature" DataType="System.String" PropName="file_size"/>
<Column Name="TestMedium" DataType="System.String" PropName="file_type"/>
<Column Name="TestMediumTemperature" DataType="System.String" PropName="created_date"/>
<Column Name="TestPressure" DataType="System.String" PropName="created_by"/>
<Column Name="VoltageStabilizationTime" DataType="System.String" PropName="series_desc"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="SystemName" DataType="System.String"/>
<Parameter Name="SystemCode" DataType="System.String"/>
<Parameter Name="TestConclusion" DataType="System.String"/>
<Parameter Name="Remark" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,624.25,151.34,47.32,387.82,378.14,472.64,104.02,122.96,132.46,501.29,283.8,623.74,70.88,127.58,198.46,269.34,340.22,411.1,481.98,552.86,623.7,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="132.3" Guides="0,132.3,94.5,66.15,18.9,28.35,37.8">
<TableObject Name="Table1" Width="624.25" Height="132.3">
<TableColumn Name="Column1" Width="104.02"/>
<TableColumn Name="Column2" Width="47.32"/>
<TableColumn Name="Column3" Width="132.46"/>
<TableColumn Name="Column4" Width="104.02"/>
<TableColumn Name="Column5" Width="113.47"/>
<TableColumn Name="Column6" Width="122.96"/>
<TableRow Name="Row1" Height="66.15">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J406-2" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All"/>
<TableCell Name="Cell3" Border.Lines="All" Text="管道系统压力试验记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="2">
<TextObject Name="Text1" Left="226.8" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell4" Border.Lines="All"/>
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell26" Border.Lines="All"/>
</TableRow>
<TableRow Name="Row2" Height="28.35">
<TableCell Name="Cell6" Border.Lines="All"/>
<TableCell Name="Cell7" Border.Lines="All"/>
<TableCell Name="Cell8" Border.Lines="All"/>
<TableCell Name="Cell9" Border.Lines="All"/>
<TableCell Name="Cell10" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell11" Border.Lines="All" Text="系统名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="[SystemName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" Text="系统编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="[SystemCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child1" Top="136.3" Width="623.7" Height="94.51" Guides="0,94.51,33.08">
<TableObject Name="Table2" Width="623.74" Height="94.51" Border.Lines="Left, Bottom">
<TableColumn Name="Column7" Width="127.58"/>
<TableColumn Name="Column8" Width="70.88"/>
<TableColumn Name="Column9" Width="70.88"/>
<TableColumn Name="Column10" Width="70.88"/>
<TableColumn Name="Column11" Width="70.88"/>
<TableColumn Name="Column12" Width="70.88"/>
<TableColumn Name="Column13" Width="70.88"/>
<TableColumn Name="Column14" Width="70.88"/>
<TableRow Name="Row4" Height="33.08">
<TableCell Name="Cell29" Border.Lines="All" Text="试 验 记 录 " HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="8"/>
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="61.43">
<TableCell Name="Cell34" Border.Lines="All" Text="管道编号&#13;&#10;/单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="设计压力&#13;&#10;MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell36" Border.Lines="All" Text="设计温度&#13;&#10;℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="试验环境&#13;&#10;温度&#13;&#10;℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell38" Border.Lines="All" Text="试验&#13;&#10;介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="All" Text="试验介质&#13;&#10;温度&#13;&#10;℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" Text="试验压力&#13;&#10;MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="All" Text="稳压时间&#13;&#10;min" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</PageHeaderBand>
<DataBand Name="Data1" Top="234.81" Width="623.7" Height="33.08" Guides="0,33.08">
<TableObject Name="Table3" Width="623.74" Height="33.08" Border.Lines="Left, Bottom" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column15" Width="127.58"/>
<TableColumn Name="Column16" Width="70.88"/>
<TableColumn Name="Column17" Width="70.88"/>
<TableColumn Name="Column18" Width="70.88"/>
<TableColumn Name="Column19" Width="70.88"/>
<TableColumn Name="Column20" Width="70.88"/>
<TableColumn Name="Column21" Width="70.88"/>
<TableColumn Name="Column22" Width="70.88"/>
<TableRow Name="Row7" Height="33.08">
<TableCell Name="Cell68" Border.Lines="All" Text="[Data.PipelineNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" Text="[Data.TestTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="[Data.TestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="All" Text="[Data.TestMediumTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" Text="[Data.TestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" Text="[Data.VoltageStabilizationTime]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="308.97" Width="623.7">
<ChildBand Name="Child2" Top="271.89" Width="623.7" Height="33.08" Guides="0,33.08" FillUnusedSpace="true">
<TableObject Name="Table4" Width="623.74" Height="33.08" Border.Lines="Left, Bottom">
<TableColumn Name="Column23" Width="127.58"/>
<TableColumn Name="Column24" Width="70.88"/>
<TableColumn Name="Column25" Width="70.88"/>
<TableColumn Name="Column26" Width="70.88"/>
<TableColumn Name="Column27" Width="70.88"/>
<TableColumn Name="Column28" Width="70.88"/>
<TableColumn Name="Column29" Width="70.88"/>
<TableColumn Name="Column30" Width="70.88"/>
<TableRow Name="Row8" Height="33.08">
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell80" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell82" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell83" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="312.97" Width="623.7" Height="211.26" Guides="0,211.26,30.18,60.36,90.54,120.72,150.9,181.08">
<TableObject Name="Table5" Width="623.7" Height="211.26" Border.Lines="All">
<TableColumn Name="Column31" Width="207.9"/>
<TableColumn Name="Column32" Width="207.9"/>
<TableColumn Name="Column33" Width="207.9"/>
<TableRow Name="Row9" Height="30.18">
<TableCell Name="Cell84" Text="试验结论:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell85" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell86" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="30.18">
<TableCell Name="Cell89" Text="[TestConclusion]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell90" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell91" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="30.18">
<TableCell Name="Cell94" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell95" Border.Lines="All" Text="总 承 包 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell96" Border.Lines="All" Text="施 工 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="30.18">
<TableCell Name="Cell99" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell100" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell101" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="30.18">
<TableCell Name="Cell104" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell105" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell106" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="30.18">
<TableCell Name="Cell107" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell108" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell109" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row15" Height="30.18">
<TableCell Name="Cell110" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell111" Border.Lines="Left, Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell112" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,213 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 10:23:50" ReportInfo.Modified="01/29/2026 15:41:09" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
private void Table3_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Table3.PrintRow(0);
Table3.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFD4TgajWZCbg/4DFdUKoX7Q==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="PipelineNo" DataType="System.String" PropName="attach_image_id"/>
<Column Name="DesignPressure" DataType="System.String" PropName="image_series"/>
<Column Name="DesignTemperature" DataType="System.String" PropName="file_name"/>
<Column Name="TestTemperature" DataType="System.String" PropName="file_size"/>
<Column Name="TestMediumTemperature" DataType="System.String" PropName="created_date"/>
<Column Name="TestPressure" DataType="System.String" PropName="created_by"/>
<Column Name="VoltageStabilizationTime" DataType="System.String" PropName="series_desc"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="SystemName" DataType="System.String"/>
<Parameter Name="SystemCode" DataType="System.String"/>
<Parameter Name="TestConclusion" DataType="System.String"/>
<Parameter Name="Remark" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,624.25,141.89,37.87,406.72,397.04,491.54,122.92,104.06,104.02,141.91,520.19,283.8,623.7,81,137.7,218.7,299.7,380.7,461.7,542.7,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="132.3" Guides="0,132.3,94.5,66.15,18.9,28.35,37.8">
<TableObject Name="Table1" Width="624.25" Height="132.3">
<TableColumn Name="Column1" Width="104.02"/>
<TableColumn Name="Column2" Width="37.87"/>
<TableColumn Name="Column3" Width="141.91"/>
<TableColumn Name="Column4" Width="122.92"/>
<TableColumn Name="Column5" Width="113.47"/>
<TableColumn Name="Column6" Width="104.06"/>
<TableRow Name="Row1" Height="66.15">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J407" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All"/>
<TableCell Name="Cell3" Border.Lines="All" Text="管道系统泄漏性试验记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="2">
<TextObject Name="Text1" Left="255.15" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell4" Border.Lines="All"/>
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell26" Border.Lines="All"/>
</TableRow>
<TableRow Name="Row2" Height="28.35">
<TableCell Name="Cell6" Border.Lines="All"/>
<TableCell Name="Cell7" Border.Lines="All"/>
<TableCell Name="Cell8" Border.Lines="All"/>
<TableCell Name="Cell9" Border.Lines="All"/>
<TableCell Name="Cell10" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell11" Border.Lines="All" Text="系统名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="[SystemName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" Text="系统编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="[SystemCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child1" Top="136.3" Width="623.7" Height="94.51" Guides="0,94.51,33.08">
<TableObject Name="Table2" Width="623.7" Height="94.51" Border.Lines="Left, Bottom">
<TableColumn Name="Column7" Width="137.7"/>
<TableColumn Name="Column8" Width="81"/>
<TableColumn Name="Column9" Width="81"/>
<TableColumn Name="Column10" Width="81"/>
<TableColumn Name="Column12" Width="81"/>
<TableColumn Name="Column13" Width="81"/>
<TableColumn Name="Column14" Width="81"/>
<TableRow Name="Row4" Height="33.08">
<TableCell Name="Cell29" Border.Lines="All" Text="试 验 记 录 " HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="61.43">
<TableCell Name="Cell34" Border.Lines="All" Text="管道编号&#13;&#10;/单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="设计压力&#13;&#10;MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell36" Border.Lines="All" Text="设计温度&#13;&#10;℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="试验环境&#13;&#10;温度&#13;&#10;℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="All" Text="试验介质&#13;&#10;温度&#13;&#10;℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" Text="试验压力&#13;&#10;MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="All" Text="稳压时间&#13;&#10;min" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</PageHeaderBand>
<DataBand Name="Data1" Top="234.81" Width="623.7" Height="33.08" Guides="0,33.08">
<TableObject Name="Table3" Width="623.7" Height="33.08" Border.Lines="Left, Bottom" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column15" Width="137.7"/>
<TableColumn Name="Column16" Width="81"/>
<TableColumn Name="Column17" Width="81"/>
<TableColumn Name="Column18" Width="81"/>
<TableColumn Name="Column20" Width="81"/>
<TableColumn Name="Column21" Width="81"/>
<TableColumn Name="Column22" Width="81"/>
<TableRow Name="Row7" Height="33.08">
<TableCell Name="Cell68" Border.Lines="All" Text="[Data.PipelineNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" Text="[Data.TestTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="All" Text="[Data.TestMediumTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" Text="[Data.TestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" Text="[Data.VoltageStabilizationTime]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="308.97" Width="623.7">
<ChildBand Name="Child2" Top="271.89" Width="623.7" Height="33.08" Guides="0,33.08" FillUnusedSpace="true">
<TableObject Name="Table4" Width="623.7" Height="33.08" Border.Lines="Left, Bottom">
<TableColumn Name="Column23" Width="137.7"/>
<TableColumn Name="Column24" Width="81"/>
<TableColumn Name="Column25" Width="81"/>
<TableColumn Name="Column26" Width="81"/>
<TableColumn Name="Column28" Width="81"/>
<TableColumn Name="Column29" Width="81"/>
<TableColumn Name="Column30" Width="81"/>
<TableRow Name="Row8" Height="33.08">
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell82" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell83" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="312.97" Width="623.7" Height="211.26" Guides="0,211.26,30.18,60.36,90.54,120.72,150.9,181.08">
<TableObject Name="Table5" Width="623.7" Height="211.26" Border.Lines="All">
<TableColumn Name="Column31" Width="207.9"/>
<TableColumn Name="Column32" Width="207.9"/>
<TableColumn Name="Column33" Width="207.9"/>
<TableRow Name="Row9" Height="30.18">
<TableCell Name="Cell84" Text="试验结论:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell85" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell86" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="30.18">
<TableCell Name="Cell89" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell90" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell91" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="30.18">
<TableCell Name="Cell94" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell95" Border.Lines="All" Text="总 承 包 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell96" Border.Lines="All" Text="施 工 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="30.18">
<TableCell Name="Cell99" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell100" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell101" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="30.18">
<TableCell Name="Cell104" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell105" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell106" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="30.18">
<TableCell Name="Cell107" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell108" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell109" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row15" Height="30.18">
<TableCell Name="Cell110" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell111" Border.Lines="Left, Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell112" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -1243,6 +1243,8 @@
<Content Include="Images\wrong.jpg" />
<Content Include="JGZL\AcceptanceCertificate.aspx" />
<Content Include="JGZL\AcceptanceCertificateEdit.aspx" />
<Content Include="JGZL\Cover.aspx" />
<Content Include="JGZL\DocumentDescription.aspx" />
<Content Include="JGZL\PressureTestOfPipelineSystemConfirmationRecord.aspx" />
<Content Include="JGZL\LeakTestOfPipelineSystemRecord.aspx" />
<Content Include="JGZL\PressureTestOfPipelineSystemConfirmationRecordEdit.aspx" />
@ -6602,6 +6604,20 @@
<Compile Include="JGZL\AcceptanceCertificateEdit.aspx.designer.cs">
<DependentUpon>AcceptanceCertificateEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\Cover.aspx.cs">
<DependentUpon>Cover.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="JGZL\Cover.aspx.designer.cs">
<DependentUpon>Cover.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\DocumentDescription.aspx.cs">
<DependentUpon>DocumentDescription.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="JGZL\DocumentDescription.aspx.designer.cs">
<DependentUpon>DocumentDescription.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\PressureTestOfPipelineSystemConfirmationRecord.aspx.cs">
<DependentUpon>PressureTestOfPipelineSystemConfirmationRecord.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>

View File

@ -19,7 +19,7 @@
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="焊条发放回收记录" EnableCollapse="false"
runat="server" BoxFlex="1" DataKeyNames="UsingMatId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="2" DataIDField="UsingMatId" AllowSorting="true"
SortField="UsingDate" SortDirection="DESC" OnSort="Grid1_Sort" EnableTextSelection="True"
SortField="UsingDate" SortDirection="ASC" OnSort="Grid1_Sort" EnableTextSelection="True"
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" OnRowCommand="Grid1_RowCommand">
<Toolbars>

View File

@ -70,31 +70,11 @@ namespace FineUIPro.Web.JGZL
}
else
{
//string steNames = string.Empty;
//List<string> steelLists = new List<string>();
//var isoInfos = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.ProjectId select x).ToList();
//foreach (var item in isoInfos)
//{
// if (!string.IsNullOrEmpty(item.STE_ID))
// {
// steelLists.Add(item.STE_ID);
// }
//}
//foreach (var item in steelLists.Distinct())
//{
// var ste = BLL.HJGL_MaterialService.GetSteelBySteID(item);
// if (ste != null)
// {
// steNames += ste.STE_Code + "、";
// }
//}
//if (!string.IsNullOrEmpty(steNames))
//{
// steNames = steNames.Substring(0, steNames.LastIndexOf('、'));
//}
//double SumSize = Convert.ToDouble((from x in Funs.DB.HJGL_PW_JointInfo where x.ProjectId == this.ProjectId select x.JOT_Size).Sum());
this.txtContractNumber.Text = BLL.Base_ProjectService.GetProjectCode(this.ProjectId);
//this.txtProjectContent.Text = "本次" + BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName + "已完成100米" + steNames + "材质管道的预制与安装工作。项目配套的支架、阀门、三通等各类管道组成件,安装质量均符合设计及规范要求。共完成管道焊缝" + isoInfos.Count + "道其中20%焊缝经射线或超声波检测,合格等级全部满足设计标准。目前,管道系统已顺利完成水压试验及压缩空气吹扫工序,试验压力降与管道洁净度指标均达到设计规定。";
var project = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId);
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.ProjectId);
var jointCount = (from x in Funs.DB.HJGL_PW_JointInfo where x.ProjectId == this.ProjectId select x).Count();
this.txtProjectContent.Text = "本次" + project.ProjectName + "于" + string.Format("{0:yyyy年MM月dd日}", project.StartDate) + "开工,到" + string.Format("{0:yyyy年MM月dd日}", project.EndDate) + "施工结束。该项目共计安装管道" + isoInfo.Count + "条,管道焊缝共计" + jointCount + "道,已按图纸要求的比例进行焊缝无损检测,检测结果均符合设计规定的合格等级。该项目配套的各类管道组成件、支撑件安装质量均满足设计文件以及标准规范要求。目前,管道系统已完成水压试验及压缩空气吹扫工序,试验压力降、管道洁净度等关键指标均符合标准规范的规定标准并已通过业主方验收。";
}
}
}

View File

@ -61,9 +61,9 @@
<f:RenderField HeaderText="专业" ColumnID="Professional" DataField="Professional" SortField="Professional"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="110px">
</f:RenderField>
<f:RenderField HeaderText="主持人" ColumnID="Host" DataField="Host" SortField="Host"
<%--<f:RenderField HeaderText="主持人" ColumnID="Host" DataField="Host" SortField="Host"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="110px">
</f:RenderField>
</f:RenderField>--%>
<f:RenderField HeaderText="核查时间" ColumnID="VerificationDate" DataField="VerificationDate" SortField="VerificationDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
@ -73,15 +73,15 @@
<f:RenderField HeaderText="内容记录" ColumnID="Contents" DataField="Contents" SortField="Contents"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="记录人" ColumnID="Recorder" DataField="Recorder" SortField="Recorder"
<%--<f:RenderField HeaderText="记录人" ColumnID="Recorder" DataField="Recorder" SortField="Recorder"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
</f:RenderField>--%>
<f:RenderField HeaderText="记录时间" ColumnID="RecordDate" DataField="RecordDate" SortField="RecordDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
<f:RenderField HeaderText="审核人" ColumnID="Reviewer" DataField="Reviewer" SortField="Reviewer"
<%--<f:RenderField HeaderText="审核人" ColumnID="Reviewer" DataField="Reviewer" SortField="Reviewer"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
</f:RenderField>--%>
<f:RenderField HeaderText="审核时间" ColumnID="ReviewDate" DataField="ReviewDate" SortField="ReviewDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>

View File

@ -32,20 +32,21 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtHost" runat="server" Label="主持人" LabelAlign="Right" LabelWidth="110px"></f:TextBox>
<%--<f:TextBox ID="txtHost" runat="server" Label="主持人" LabelAlign="Right" LabelWidth="110px"></f:TextBox>--%>
<f:DatePicker ID="txtVerificationDate" runat="server" Label="核查时间" LabelAlign="Right" LabelWidth="110px" Required="true" ShowRedStar="true"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtConDrawingCode" runat="server" Label="施工图号" LabelAlign="Right" LabelWidth="110px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<%--<f:FormRow>
<Items>
</Items>
</f:FormRow>--%>
<%--<f:FormRow>
<Items>
<f:TextArea ID="txtPersonnel" runat="server" Label="参加核查人员" LabelAlign="Right" LabelWidth="110px" MaxLength="2000"></f:TextArea>
</Items>
</f:FormRow>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:TextArea ID="txtContents" runat="server" Label="内容记录" LabelAlign="Right" LabelWidth="110px" MaxLength="2000"></f:TextArea>
@ -58,16 +59,17 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtRecorder" runat="server" Label="记录人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<%--<f:TextBox ID="txtRecorder" runat="server" Label="记录人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>--%>
<f:DatePicker ID="txtRecordDate" runat="server" Label="记录时间" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtReviewer" runat="server" Label="审核人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtReviewDate" runat="server" Label="审核时间" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
</Items>
</f:FormRow>
<%--<f:FormRow>
<Items>
<f:TextBox ID="txtReviewer" runat="server" Label="审核人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>--%>
</Rows>
</f:Form>
</form>

View File

@ -61,15 +61,15 @@ namespace FineUIPro.Web.JGZL
{
this.txtDesignUnit.Text = report.DesignUnit;
this.txtProfessional.Text = report.Professional;
this.txtHost.Text = report.Host;
//this.txtHost.Text = report.Host;
this.txtVerificationDate.Text = report.VerificationDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.VerificationDate) : "";
this.txtConDrawingCode.Text = report.ConDrawingCode;
this.txtPersonnel.Text = report.Personnel;
//this.txtPersonnel.Text = report.Personnel;
this.txtContents.Text= report.Contents;
this.txtProblems.Text = report.Problems;
this.txtRecorder.Text = report.Recorder;
//this.txtRecorder.Text = report.Recorder;
this.txtRecordDate.Text = report.RecordDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.RecordDate) : "";
this.txtReviewer.Text = report.Reviewer;
//this.txtReviewer.Text = report.Reviewer;
this.txtReviewDate.Text = report.ReviewDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.ReviewDate) : "";
}
}
@ -95,15 +95,15 @@ namespace FineUIPro.Web.JGZL
Model.JGZL_ConDrawingVerification newReport = new Model.JGZL_ConDrawingVerification();
newReport.DesignUnit = this.txtDesignUnit.Text.Trim();
newReport.Professional=this.txtProfessional.Text.Trim();
newReport.Host = this.txtHost.Text.Trim();
//newReport.Host = this.txtHost.Text.Trim();
newReport.VerificationDate = Funs.GetNewDateTime(this.txtVerificationDate.Text);
newReport.ConDrawingCode = txtConDrawingCode.Text.Trim();
newReport.Personnel = this.txtPersonnel.Text;
//newReport.Personnel = this.txtPersonnel.Text;
newReport.Contents = this.txtContents.Text;
newReport.Problems = this.txtProblems.Text;
newReport.Recorder = this.txtRecorder.Text.Trim();
//newReport.Recorder = this.txtRecorder.Text.Trim();
newReport.RecordDate = Funs.GetNewDateTime(this.txtRecordDate.Text.Trim());
newReport.Reviewer=this.txtReviewer.Text.Trim();
//newReport.Reviewer=this.txtReviewer.Text.Trim();
newReport.ReviewDate = Funs.GetNewDateTime(this.txtReviewDate.Text.Trim());
if (!string.IsNullOrEmpty(this.ConDrawingVerificationId))
{

View File

@ -86,15 +86,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtProfessional;
/// <summary>
/// txtHost 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtHost;
/// <summary>
/// txtVerificationDate 控件。
/// </summary>
@ -113,15 +104,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtConDrawingCode;
/// <summary>
/// txtPersonnel 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtPersonnel;
/// <summary>
/// txtContents 控件。
/// </summary>
@ -140,15 +122,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextArea txtProblems;
/// <summary>
/// txtRecorder 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRecorder;
/// <summary>
/// txtRecordDate 控件。
/// </summary>
@ -158,15 +131,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.DatePicker txtRecordDate;
/// <summary>
/// txtReviewer 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtReviewer;
/// <summary>
/// txtReviewDate 控件。
/// </summary>

View File

@ -76,31 +76,15 @@ namespace FineUIPro.Web.JGZL
}
else
{
//string steNames = string.Empty;
//List<string> steelLists = new List<string>();
//var isoInfos = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.ProjectId select x).ToList();
//foreach (var item in isoInfos)
//{
// if (!string.IsNullOrEmpty(item.STE_ID))
// {
// steelLists.Add(item.STE_ID);
// }
//}
//foreach (var item in steelLists.Distinct())
//{
// var ste = BLL.HJGL_MaterialService.GetSteelBySteID(item);
// if (ste != null)
// {
// steNames += ste.STE_Code + "、";
// }
//}
//if (!string.IsNullOrEmpty(steNames))
//{
// steNames = steNames.Substring(0, steNames.LastIndexOf('、'));
//}
//double SumSize = Convert.ToDouble((from x in Funs.DB.HJGL_PW_JointInfo where x.ProjectId == this.ProjectId select x.JOT_Size).Sum());
this.txtContractNumber.Text = BLL.Base_ProjectService.GetProjectCode(this.ProjectId);
this.txtSubjectMatter.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName + ",以下问题请设计单位审核:";
int isoCount = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.ProjectId select x).Count();
int jointCount = (from x in Funs.DB.HJGL_PW_JointInfo where x.ProjectId == this.ProjectId select x).Count();
var project = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId);
if (project != null)
{
this.txtContractNumber.Text = project.ProjectCode;
this.txtSubjectMatter.Text = project.ProjectName + ",以下问题请设计单位审核:";
this.txtContents.Text = "本次" + project.ProjectName + "于" + string.Format("{0:yyyy年MM月dd日}", project.StartDate) + "开工,到" + string.Format("{0:yyyy年MM月dd日}", project.EndDate) + "施工结束。该项目共计安装管道" + isoCount + "条,管道焊缝共计" + jointCount + "道,已按图纸要求的比例进行焊缝无损检测,检测结果均符合设计规定的合格等级。该项目配套的各类管道组成件、支撑件安装质量均满足设计文件以及标准规范要求。目前,管道系统已完成水压试验及压缩空气吹扫工序,试验压力降、管道洁净度等关键指标均符合标准规范的规定标准并已通过业主方验收。";
}
}
}
}

View File

@ -0,0 +1,60 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Cover.aspx.cs" Inherits="FineUIPro.Web.JGZL.Cover" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>封面</title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items>
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
EnableCollapse="true" Width="220px" Title="封面" ShowBorder="true" Layout="VBox"
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
</f:DropDownList>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Tree ID="tvControlItem" ShowHeader="false" Title="封面" OnNodeCommand="tvControlItem_NodeCommand"
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
</f:Tree>
</Items>
</f:Panel>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="封面"
TitleToolTip="封面" AutoScroll="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:TextBox ID="txtCode" runat="server" Label="卷号" LabelAlign="Right" Required="true" ShowRedStar="true"></f:TextBox>
<f:Button ID="btnPrint" Text="封面打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Window ID="WindowPrint" Title="打印封面" Hidden="true" EnableIFrame="true" EnableMaximize="false"
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="600px">
</f:Window>
</form>
</body>
</html>

View File

@ -0,0 +1,146 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using System.IO;
namespace FineUIPro.Web.JGZL
{
public partial class Cover : PageBase
{
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
this.drpProjectId.DataTextField = "ProjectCode";
this.drpProjectId.DataValueField = "ProjectId";
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
this.drpProjectId.DataBind();
Funs.FineUIPleaseSelect(this.drpProjectId);
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
this.InitTreeMenu();//加载树
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
//this.BindGrid();
}
}
#endregion
#region
/// <summary>
/// 加载树
/// </summary>
private void InitTreeMenu()
{
this.tvControlItem.Nodes.Clear();
TreeNode rootNode = new TreeNode();
rootNode.Text = "项目";
rootNode.ToolTip = "项目";
rootNode.NodeID = "0";
rootNode.Expanded = true;
this.tvControlItem.Nodes.Add(rootNode);
List<Model.Base_Project> projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
if (this.drpProjectId.SelectedValue != BLL.Const._Null)
{
projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
}
foreach (var item in projects)
{
TreeNode rootProjectNode = new TreeNode();//定义根节点
rootProjectNode.Text = item.ProjectCode;
rootProjectNode.NodeID = item.ProjectId;
rootProjectNode.EnableClickEvent = true;
rootProjectNode.Expanded = true;
rootProjectNode.ToolTip = item.ProjectName;
rootProjectNode.CommandName = "项目名称";
rootNode.Nodes.Add(rootProjectNode);
}
}
#endregion
#region TreeView
/// <summary>
/// 点击TreeView
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
{
//if (this.tvControlItem.SelectedNodeID != "0")
//{
// this.BindGrid();
//}
}
#endregion
#region
///<summary>
///查询
///</summary>
///<param name="sender"></param>
///<param name="e"></param>
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
{
this.InitTreeMenu();
}
#endregion
#region
/// <summary>
/// 打印
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnPrint_Click(object sender, EventArgs e)
{
string projectId = this.tvControlItem.SelectedNodeID;
if (projectId != null)
{
if (!string.IsNullOrEmpty(this.txtCode.Text.Trim()))
{
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("Code", this.txtCode.Text.Trim());
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\封面.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
}
else
{
Alert.ShowInTop("请输入卷号!", MessageBoxIcon.Warning);
return;
}
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
#endregion
}
}

View File

@ -0,0 +1,134 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.JGZL
{
public partial class Cover
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// panelLeftRegion 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelLeftRegion;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// drpProjectId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpProjectId;
/// <summary>
/// tvControlItem 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree tvControlItem;
/// <summary>
/// panelCenterRegion 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelCenterRegion;
/// <summary>
/// Toolbar2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// txtCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtCode;
/// <summary>
/// btnPrint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnPrint;
/// <summary>
/// WindowPrint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window WindowPrint;
}
}

View File

@ -0,0 +1,83 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocumentDescription.aspx.cs" Inherits="FineUIPro.Web.JGZL.DocumentDescription" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>交工技术文件说明</title>
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items>
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
EnableCollapse="true" Width="220px" Title="交工技术文件说明" ShowBorder="true" Layout="VBox"
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
</f:DropDownList>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Tree ID="tvControlItem" ShowHeader="false" Title="交工技术文件说明" OnNodeCommand="tvControlItem_NodeCommand"
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
</f:Tree>
</Items>
</f:Panel>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="交工技术文件说明"
TitleToolTip="交工技术文件说明" AutoScroll="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnPrint" Text="交工技术文件说明打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtDesigningUnit" runat="server" Label="设计单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtTestingUnit" runat="server" Label="检测单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtConstructionCompany" runat="server" Label="施工单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtProjectOverview" runat="server" Label="工程概况" LabelAlign="Right" LabelWidth="110px" MaxLength="2000" Height="300px"></f:TextArea>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<f:Window ID="WindowPrint" Title="打印交工技术文件说明" Hidden="true" EnableIFrame="true" EnableMaximize="false"
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="600px">
</f:Window>
</form>
</body>
</html>

View File

@ -0,0 +1,244 @@
using BLL;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using System.IO;
namespace FineUIPro.Web.JGZL
{
public partial class DocumentDescription : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
private string DocumentDescriptionId
{
get
{
return (string)ViewState["DocumentDescriptionId"];
}
set
{
ViewState["DocumentDescriptionId"] = value;
}
}
#endregion
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.drpProjectId.DataTextField = "ProjectCode";
this.drpProjectId.DataValueField = "ProjectId";
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
this.drpProjectId.DataBind();
Funs.FineUIPleaseSelect(this.drpProjectId);
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
this.InitTreeMenu();//加载树
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
PageData();
}
}
#endregion
#region
/// <summary>
/// 加载树
/// </summary>
private void InitTreeMenu()
{
this.tvControlItem.Nodes.Clear();
TreeNode rootNode = new TreeNode();
rootNode.Text = "项目";
rootNode.ToolTip = "项目";
rootNode.NodeID = "0";
rootNode.Expanded = true;
this.tvControlItem.Nodes.Add(rootNode);
List<Model.Base_Project> projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
if (this.drpProjectId.SelectedValue != BLL.Const._Null)
{
projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
}
foreach (var item in projects)
{
TreeNode rootProjectNode = new TreeNode();//定义根节点
rootProjectNode.Text = item.ProjectCode;
rootProjectNode.NodeID = item.ProjectId;
rootProjectNode.EnableClickEvent = true;
rootProjectNode.Expanded = true;
rootProjectNode.ToolTip = item.ProjectName;
rootProjectNode.CommandName = "项目名称";
rootNode.Nodes.Add(rootProjectNode);
}
}
#endregion
#region TreeView
/// <summary>
/// 点击TreeView
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
{
if (this.tvControlItem.SelectedNodeID != "0")
{
this.PageData();
}
}
#endregion
#region
///<summary>
///查询
///</summary>
///<param name="sender"></param>
///<param name="e"></param>
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
{
this.InitTreeMenu();
}
#endregion
private void PageData()
{
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{
var report = BLL.DocumentDescriptionService.GetDocumentDescriptionByProjectId(projectId);
if (report != null)
{
this.DocumentDescriptionId = report.DocumentDescriptionId;
this.txtProjectOverview.Text = report.ProjectOverview;
this.txtConstructionUnit.Text = report.ConstructionUnit;
this.txtDesigningUnit.Text = report.DesigningUnit;
this.txtTestingUnit.Text = report.TestingUnit;
this.txtConstructionCompany.Text = report.ConstructionCompany;
}
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.txtConstructionUnit.Text = "浙江石油化工有限公司";
this.txtConstructionCompany.Text = "浙江鼎盛石化工程有限公司";
}
}
}
#region
/// <summary>
/// 保存按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSave_Click(object sender, EventArgs e)
{
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_DocumentDescriptionMenuId, BLL.Const.BtnSave))
{
Model.JGZL_DocumentDescription newDocumentDescription = new Model.JGZL_DocumentDescription();
newDocumentDescription.ProjectOverview = this.txtProjectOverview.Text;
newDocumentDescription.ConstructionUnit = this.txtConstructionUnit.Text;
newDocumentDescription.DesigningUnit = this.txtDesigningUnit.Text;
newDocumentDescription.TestingUnit = this.txtTestingUnit.Text;
newDocumentDescription.ConstructionCompany = this.txtConstructionCompany.Text;
if (!string.IsNullOrEmpty(this.DocumentDescriptionId))
{
newDocumentDescription.DocumentDescriptionId = this.DocumentDescriptionId;
BLL.DocumentDescriptionService.UpdateDocumentDescription(newDocumentDescription);
ShowNotify("修改成功!", MessageBoxIcon.Success);
}
else
{
newDocumentDescription.CompileMan = this.CurrUser.UserId;
newDocumentDescription.CompileDate = DateTime.Now;
newDocumentDescription.Reviewer = this.CurrUser.UserId;
newDocumentDescription.ReviewDate = DateTime.Now;
newDocumentDescription.ProjectId = this.tvControlItem.SelectedNodeID;
newDocumentDescription.DocumentDescriptionId = SQLHelper.GetNewID(typeof(Model.JGZL_DocumentDescription));
this.DocumentDescriptionId = newDocumentDescription.DocumentDescriptionId;
BLL.DocumentDescriptionService.AddDocumentDescription(newDocumentDescription);
ShowNotify("保存成功!", MessageBoxIcon.Success);
}
}
else
{
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
}
}
#endregion
#region
/// <summary>
/// 打印
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnPrint_Click(object sender, EventArgs e)
{
string projectId = this.tvControlItem.SelectedNodeID;
if (projectId != null)
{
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("ProjectOverview", this.txtProjectOverview.Text);
keyValuePairs.Add("ConstructionUnit", this.txtConstructionUnit.Text);
keyValuePairs.Add("DesigningUnit", this.txtDesigningUnit.Text);
keyValuePairs.Add("TestingUnit", this.txtTestingUnit.Text);
keyValuePairs.Add("ConstructionCompany", this.txtConstructionCompany.Text);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\交工技术文件说明.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
#endregion
}
}

View File

@ -0,0 +1,188 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.JGZL
{
public partial class DocumentDescription
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// Panel1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel Panel1;
/// <summary>
/// panelLeftRegion 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelLeftRegion;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// drpProjectId 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpProjectId;
/// <summary>
/// tvControlItem 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Tree tvControlItem;
/// <summary>
/// panelCenterRegion 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Panel panelCenterRegion;
/// <summary>
/// Toolbar2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnPrint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnPrint;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// txtConstructionUnit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtConstructionUnit;
/// <summary>
/// txtDesigningUnit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtDesigningUnit;
/// <summary>
/// txtTestingUnit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTestingUnit;
/// <summary>
/// txtConstructionCompany 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtConstructionCompany;
/// <summary>
/// txtProjectOverview 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtProjectOverview;
/// <summary>
/// WindowPrint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window WindowPrint;
}
}

View File

@ -210,6 +210,37 @@ namespace FineUIPro.Web.JGZL
var report = BLL.LeakTestOfPipelineSystemRecordService.GetLeakTestOfPipelineSystemRecordById(this.Grid1.SelectedRowID);
if (report != null)
{
string strSql = @"SELECT * from JGZL_LeakTestOfPipelineSystemRecordItem where RecordId=@recordId ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@recordId", this.Grid1.SelectedRowID));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("PipelineNo");
dt.Columns.Add("DesignPressure");
dt.Columns.Add("DesignTemperature");
dt.Columns.Add("TestTemperature");
dt.Columns.Add("TestMediumTemperature");
dt.Columns.Add("TestPressure");
dt.Columns.Add("VoltageStabilizationTime");
DataRow[] rows = tb.DefaultView.ToTable().Select();
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["PipelineNo"] = row["PipelineNo"].ToString();
newRow["DesignPressure"] = row["DesignPressure"].ToString();
newRow["DesignTemperature"] = row["DesignTemperature"].ToString();
newRow["TestTemperature"] = row["TestTemperature"].ToString();
newRow["TestMediumTemperature"] = row["TestMediumTemperature"].ToString();
newRow["TestPressure"] = row["TestPressure"].ToString();
newRow["VoltageStabilizationTime"] = row["VoltageStabilizationTime"].ToString();
dt.Rows.Add(newRow);
}
BLL.Common.FastReportService.AddFastreportTable(dt);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("SystemName", report.SystemName);

View File

@ -63,12 +63,19 @@ namespace FineUIPro.Web.JGZL
this.txtMeasuringInstrumentsCode.Text = report.MeasuringInstrumentsCode;
this.txtSpecification.Text = report.Specification;
this.txtAccuracyLevel.Text = report.AccuracyLevel;
this.txtCertificateNumber.Text =report.CertificateNumber;
this.txtCertificateNumber.Text = report.CertificateNumber;
this.txtVerificationDate.Text = report.VerificationDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.VerificationDate) : "";
this.txtValidityPeriod.Text = report.ValidityPeriod;
this.txtRemark.Text = report.Remark;
}
}
else
{
this.txtMeasuringInstrumentsName.Text = "压力表";
this.txtSpecification.Text = "(?-?)Mpa";
this.txtAccuracyLevel.Text = "1.6级";
this.txtValidityPeriod.Text = "半年";
}
}
}
#endregion

View File

@ -210,6 +210,40 @@ namespace FineUIPro.Web.JGZL
var report = BLL.PressureTestOfPipelineSystemRecordService.GetPressureTestOfPipelineSystemRecordById(this.Grid1.SelectedRowID);
if (report != null)
{
string strSql = @"SELECT * from JGZL_PressureTestOfPipelineSystemRecordItem where RecordId=@recordId ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@recordId", this.Grid1.SelectedRowID));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("PipelineNo");
dt.Columns.Add("DesignPressure");
dt.Columns.Add("DesignTemperature");
dt.Columns.Add("TestTemperature");
dt.Columns.Add("TestMedium");
dt.Columns.Add("TestMediumTemperature");
dt.Columns.Add("TestPressure");
dt.Columns.Add("VoltageStabilizationTime");
DataRow[] rows = tb.DefaultView.ToTable().Select();
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["PipelineNo"] = row["PipelineNo"].ToString();
newRow["DesignPressure"] = row["DesignPressure"].ToString();
newRow["DesignTemperature"] = row["DesignTemperature"].ToString();
newRow["TestTemperature"] = row["TestTemperature"].ToString();
newRow["TestMedium"] = row["TestMedium"].ToString();
newRow["TestMediumTemperature"] = row["TestMediumTemperature"].ToString();
newRow["TestPressure"] = row["TestPressure"].ToString();
newRow["VoltageStabilizationTime"] = row["VoltageStabilizationTime"].ToString();
dt.Rows.Add(newRow);
}
BLL.Common.FastReportService.AddFastreportTable(dt);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("SystemName", report.SystemName);

View File

@ -71,7 +71,7 @@ namespace FineUIPro.Web.JGZL
else
{
this.txtProfessional.Text = "管道安装工程";
this.txtConstructionStandards.Text = "SH/T 3501/2011《石油化工有毒、可燃介质钢制管道工程施工及验收规范》";
this.txtConstructionStandards.Text = "SH/T3501-2021";
}
}
}

View File

@ -1,4 +1,5 @@
using BLL;
using FineUIPro.Web.common.BaseInfo;
using System;
using System.Collections.Generic;
using System.Linq;
@ -88,7 +89,21 @@ namespace FineUIPro.Web.JGZL
else
{
this.txtConUnit.Text = "浙江鼎盛石化工程有限公司";
this.txtEquipmentName.Text = "压力管道(" + BLL.Base_ProjectService.GetProjectByProjectId(ProjectId).ProjectName + "";
if (!string.IsNullOrEmpty(ProjectId))
{
var pro = BLL.Base_ProjectService.GetProjectByProjectId(ProjectId);
if (pro != null)
{
this.txtEquipmentName.Text = "压力管道(" + pro.ProjectName + "";
this.txtEquipmentLocation.Text = pro.ProjectName;
this.txtConstructionDate.Text = pro.StartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", pro.StartDate) : "";
this.txtLicenseNumber.Text = "TS3833339-2028";
this.txtLicenseValidityDate.Text = string.Format("{0:yyyy-MM-dd}", "2028-8-20");
this.txtConAddress.Text = "浙江省舟山市岱山县经济技术开发区徐福大道988号810室岱西片区";
this.txtUseUnit.Text = "浙江石油化工有限公司";
this.txtUseAddress.Text = "浙江省舟山市定海区临城街道翁山路555号大宗商品交易中心5201室自贸试验区内";
}
}
}
}
}

View File

@ -11,7 +11,7 @@
<FineUIPro DebugMode="false" Theme="Cupertino"/>
<appSettings>
<!--连接字符串-->
<add key="ConnectionString" value="Server=.\MSSQLSERVER01;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<add key="ConnectionString" value="Server=.\SQL2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
<!--系统名称-->
<add key="SystemName" value="诺必达焊接管理系统"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
@ -67,7 +67,7 @@
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</httpHandlers>
<compilation debug="false" targetFramework="4.6.1">
<compilation debug="true" targetFramework="4.6.1">
<assemblies>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies>

View File

@ -398,6 +398,9 @@ namespace Model
partial void InsertJGZL_Contact(JGZL_Contact instance);
partial void UpdateJGZL_Contact(JGZL_Contact instance);
partial void DeleteJGZL_Contact(JGZL_Contact instance);
partial void InsertJGZL_DocumentDescription(JGZL_DocumentDescription instance);
partial void UpdateJGZL_DocumentDescription(JGZL_DocumentDescription instance);
partial void DeleteJGZL_DocumentDescription(JGZL_DocumentDescription instance);
partial void InsertJGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding instance);
partial void UpdateJGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding instance);
partial void DeleteJGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding instance);
@ -1904,6 +1907,14 @@ namespace Model
}
}
public System.Data.Linq.Table<JGZL_DocumentDescription> JGZL_DocumentDescription
{
get
{
return this.GetTable<JGZL_DocumentDescription>();
}
}
public System.Data.Linq.Table<JGZL_ElectrostaticGrounding> JGZL_ElectrostaticGrounding
{
get
@ -4715,6 +4726,8 @@ namespace Model
private EntitySet<JGZL_Contact> _JGZL_Contact;
private EntitySet<JGZL_DocumentDescription> _JGZL_DocumentDescription;
private EntitySet<JGZL_ElectrostaticGrounding> _JGZL_ElectrostaticGrounding;
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
@ -4888,6 +4901,7 @@ namespace Model
this._JGZL_ConcealedWorksInspectionRecord = new EntitySet<JGZL_ConcealedWorksInspectionRecord>(new Action<JGZL_ConcealedWorksInspectionRecord>(this.attach_JGZL_ConcealedWorksInspectionRecord), new Action<JGZL_ConcealedWorksInspectionRecord>(this.detach_JGZL_ConcealedWorksInspectionRecord));
this._JGZL_ConDrawingVerification = new EntitySet<JGZL_ConDrawingVerification>(new Action<JGZL_ConDrawingVerification>(this.attach_JGZL_ConDrawingVerification), new Action<JGZL_ConDrawingVerification>(this.detach_JGZL_ConDrawingVerification));
this._JGZL_Contact = new EntitySet<JGZL_Contact>(new Action<JGZL_Contact>(this.attach_JGZL_Contact), new Action<JGZL_Contact>(this.detach_JGZL_Contact));
this._JGZL_DocumentDescription = new EntitySet<JGZL_DocumentDescription>(new Action<JGZL_DocumentDescription>(this.attach_JGZL_DocumentDescription), new Action<JGZL_DocumentDescription>(this.detach_JGZL_DocumentDescription));
this._JGZL_ElectrostaticGrounding = new EntitySet<JGZL_ElectrostaticGrounding>(new Action<JGZL_ElectrostaticGrounding>(this.attach_JGZL_ElectrostaticGrounding), new Action<JGZL_ElectrostaticGrounding>(this.detach_JGZL_ElectrostaticGrounding));
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
this._JGZL_IndustrialPipelineInstallationQualityCertificate = new EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate>(new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.attach_JGZL_IndustrialPipelineInstallationQualityCertificate), new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.detach_JGZL_IndustrialPipelineInstallationQualityCertificate));
@ -6067,6 +6081,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Base_Project", Storage="_JGZL_DocumentDescription", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<JGZL_DocumentDescription> JGZL_DocumentDescription
{
get
{
return this._JGZL_DocumentDescription;
}
set
{
this._JGZL_DocumentDescription.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_ElectrostaticGrounding_Base_Project", Storage="_JGZL_ElectrostaticGrounding", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<JGZL_ElectrostaticGrounding> JGZL_ElectrostaticGrounding
{
@ -7082,6 +7109,18 @@ namespace Model
entity.Base_Project = null;
}
private void attach_JGZL_DocumentDescription(JGZL_DocumentDescription entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_JGZL_DocumentDescription(JGZL_DocumentDescription entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_JGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding entity)
{
this.SendPropertyChanging();
@ -83868,6 +83907,431 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_DocumentDescription")]
public partial class JGZL_DocumentDescription : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _DocumentDescriptionId;
private string _ProjectId;
private string _ProjectOverview;
private string _ConstructionUnit;
private string _DesigningUnit;
private string _TestingUnit;
private string _ConstructionCompany;
private string _CompileMan;
private System.Nullable<System.DateTime> _CompileDate;
private string _Reviewer;
private System.Nullable<System.DateTime> _ReviewDate;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Sys_User> _Sys_User;
private EntityRef<Sys_User> _ReviewerSys_User;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnDocumentDescriptionIdChanging(string value);
partial void OnDocumentDescriptionIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnProjectOverviewChanging(string value);
partial void OnProjectOverviewChanged();
partial void OnConstructionUnitChanging(string value);
partial void OnConstructionUnitChanged();
partial void OnDesigningUnitChanging(string value);
partial void OnDesigningUnitChanged();
partial void OnTestingUnitChanging(string value);
partial void OnTestingUnitChanged();
partial void OnConstructionCompanyChanging(string value);
partial void OnConstructionCompanyChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
partial void OnReviewerChanging(string value);
partial void OnReviewerChanged();
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
partial void OnReviewDateChanged();
#endregion
public JGZL_DocumentDescription()
{
this._Base_Project = default(EntityRef<Base_Project>);
this._Sys_User = default(EntityRef<Sys_User>);
this._ReviewerSys_User = default(EntityRef<Sys_User>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DocumentDescriptionId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string DocumentDescriptionId
{
get
{
return this._DocumentDescriptionId;
}
set
{
if ((this._DocumentDescriptionId != value))
{
this.OnDocumentDescriptionIdChanging(value);
this.SendPropertyChanging();
this._DocumentDescriptionId = value;
this.SendPropertyChanged("DocumentDescriptionId");
this.OnDocumentDescriptionIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
if (this._Base_Project.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectOverview", DbType="NVarChar(2000)")]
public string ProjectOverview
{
get
{
return this._ProjectOverview;
}
set
{
if ((this._ProjectOverview != value))
{
this.OnProjectOverviewChanging(value);
this.SendPropertyChanging();
this._ProjectOverview = value;
this.SendPropertyChanged("ProjectOverview");
this.OnProjectOverviewChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionUnit", DbType="NVarChar(50)")]
public string ConstructionUnit
{
get
{
return this._ConstructionUnit;
}
set
{
if ((this._ConstructionUnit != value))
{
this.OnConstructionUnitChanging(value);
this.SendPropertyChanging();
this._ConstructionUnit = value;
this.SendPropertyChanged("ConstructionUnit");
this.OnConstructionUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesigningUnit", DbType="NVarChar(50)")]
public string DesigningUnit
{
get
{
return this._DesigningUnit;
}
set
{
if ((this._DesigningUnit != value))
{
this.OnDesigningUnitChanging(value);
this.SendPropertyChanging();
this._DesigningUnit = value;
this.SendPropertyChanged("DesigningUnit");
this.OnDesigningUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestingUnit", DbType="NVarChar(50)")]
public string TestingUnit
{
get
{
return this._TestingUnit;
}
set
{
if ((this._TestingUnit != value))
{
this.OnTestingUnitChanging(value);
this.SendPropertyChanging();
this._TestingUnit = value;
this.SendPropertyChanged("TestingUnit");
this.OnTestingUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstructionCompany", DbType="NVarChar(50)")]
public string ConstructionCompany
{
get
{
return this._ConstructionCompany;
}
set
{
if ((this._ConstructionCompany != value))
{
this.OnConstructionCompanyChanging(value);
this.SendPropertyChanging();
this._ConstructionCompany = value;
this.SendPropertyChanged("ConstructionCompany");
this.OnConstructionCompanyChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
public string CompileMan
{
get
{
return this._CompileMan;
}
set
{
if ((this._CompileMan != value))
{
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCompileManChanging(value);
this.SendPropertyChanging();
this._CompileMan = value;
this.SendPropertyChanged("CompileMan");
this.OnCompileManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Reviewer", DbType="NVarChar(50)")]
public string Reviewer
{
get
{
return this._Reviewer;
}
set
{
if ((this._Reviewer != value))
{
if (this._ReviewerSys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnReviewerChanging(value);
this.SendPropertyChanging();
this._Reviewer = value;
this.SendPropertyChanged("Reviewer");
this.OnReviewerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")]
public System.Nullable<System.DateTime> ReviewDate
{
get
{
return this._ReviewDate;
}
set
{
if ((this._ReviewDate != value))
{
this.OnReviewDateChanging(value);
this.SendPropertyChanging();
this._ReviewDate = value;
this.SendPropertyChanged("ReviewDate");
this.OnReviewDateChanged();
}
}
}
[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
{
get
{
return this._Base_Project.Entity;
}
set
{
Base_Project previousValue = this._Base_Project.Entity;
if (((previousValue != value)
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_Project.Entity = null;
previousValue.JGZL_DocumentDescription.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.JGZL_DocumentDescription.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
get
{
return this._Sys_User.Entity;
}
set
{
Sys_User previousValue = this._Sys_User.Entity;
if (((previousValue != value)
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_User.Entity = null;
previousValue.JGZL_DocumentDescription.Remove(this);
}
this._Sys_User.Entity = value;
if ((value != null))
{
value.JGZL_DocumentDescription.Add(this);
this._CompileMan = value.UserId;
}
else
{
this._CompileMan = default(string);
}
this.SendPropertyChanged("Sys_User");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Sys_User1", Storage="_ReviewerSys_User", ThisKey="Reviewer", OtherKey="UserId", IsForeignKey=true)]
public Sys_User ReviewerSys_User
{
get
{
return this._ReviewerSys_User.Entity;
}
set
{
Sys_User previousValue = this._ReviewerSys_User.Entity;
if (((previousValue != value)
|| (this._ReviewerSys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._ReviewerSys_User.Entity = null;
previousValue.JGZL_DocumentDescription_Sys_User1.Remove(this);
}
this._ReviewerSys_User.Entity = value;
if ((value != null))
{
value.JGZL_DocumentDescription_Sys_User1.Add(this);
this._Reviewer = value.UserId;
}
else
{
this._Reviewer = default(string);
}
this.SendPropertyChanged("ReviewerSys_User");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_ElectrostaticGrounding")]
public partial class JGZL_ElectrostaticGrounding : INotifyPropertyChanging, INotifyPropertyChanged
{
@ -117320,6 +117784,10 @@ namespace Model
private EntitySet<JGZL_Contact> _JGZL_Contact;
private EntitySet<JGZL_DocumentDescription> _JGZL_DocumentDescription;
private EntitySet<JGZL_DocumentDescription> _JGZL_DocumentDescription_Sys_User1;
private EntitySet<JGZL_ElectrostaticGrounding> _JGZL_ElectrostaticGrounding;
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
@ -117450,6 +117918,8 @@ namespace Model
this._JGZL_ConcealedWorksInspectionRecord = new EntitySet<JGZL_ConcealedWorksInspectionRecord>(new Action<JGZL_ConcealedWorksInspectionRecord>(this.attach_JGZL_ConcealedWorksInspectionRecord), new Action<JGZL_ConcealedWorksInspectionRecord>(this.detach_JGZL_ConcealedWorksInspectionRecord));
this._JGZL_ConDrawingVerification = new EntitySet<JGZL_ConDrawingVerification>(new Action<JGZL_ConDrawingVerification>(this.attach_JGZL_ConDrawingVerification), new Action<JGZL_ConDrawingVerification>(this.detach_JGZL_ConDrawingVerification));
this._JGZL_Contact = new EntitySet<JGZL_Contact>(new Action<JGZL_Contact>(this.attach_JGZL_Contact), new Action<JGZL_Contact>(this.detach_JGZL_Contact));
this._JGZL_DocumentDescription = new EntitySet<JGZL_DocumentDescription>(new Action<JGZL_DocumentDescription>(this.attach_JGZL_DocumentDescription), new Action<JGZL_DocumentDescription>(this.detach_JGZL_DocumentDescription));
this._JGZL_DocumentDescription_Sys_User1 = new EntitySet<JGZL_DocumentDescription>(new Action<JGZL_DocumentDescription>(this.attach_JGZL_DocumentDescription_Sys_User1), new Action<JGZL_DocumentDescription>(this.detach_JGZL_DocumentDescription_Sys_User1));
this._JGZL_ElectrostaticGrounding = new EntitySet<JGZL_ElectrostaticGrounding>(new Action<JGZL_ElectrostaticGrounding>(this.attach_JGZL_ElectrostaticGrounding), new Action<JGZL_ElectrostaticGrounding>(this.detach_JGZL_ElectrostaticGrounding));
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
this._JGZL_IndustrialPipelineInstallationQualityCertificate = new EntitySet<JGZL_IndustrialPipelineInstallationQualityCertificate>(new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.attach_JGZL_IndustrialPipelineInstallationQualityCertificate), new Action<JGZL_IndustrialPipelineInstallationQualityCertificate>(this.detach_JGZL_IndustrialPipelineInstallationQualityCertificate));
@ -118200,6 +118670,32 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Sys_User", Storage="_JGZL_DocumentDescription", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JGZL_DocumentDescription> JGZL_DocumentDescription
{
get
{
return this._JGZL_DocumentDescription;
}
set
{
this._JGZL_DocumentDescription.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_DocumentDescription_Sys_User1", Storage="_JGZL_DocumentDescription_Sys_User1", ThisKey="UserId", OtherKey="Reviewer", DeleteRule="NO ACTION")]
public EntitySet<JGZL_DocumentDescription> JGZL_DocumentDescription_Sys_User1
{
get
{
return this._JGZL_DocumentDescription_Sys_User1;
}
set
{
this._JGZL_DocumentDescription_Sys_User1.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_ElectrostaticGrounding_Sys_User", Storage="_JGZL_ElectrostaticGrounding", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JGZL_ElectrostaticGrounding> JGZL_ElectrostaticGrounding
{
@ -118924,6 +119420,30 @@ namespace Model
entity.Sys_User = null;
}
private void attach_JGZL_DocumentDescription(JGZL_DocumentDescription entity)
{
this.SendPropertyChanging();
entity.Sys_User = this;
}
private void detach_JGZL_DocumentDescription(JGZL_DocumentDescription entity)
{
this.SendPropertyChanging();
entity.Sys_User = null;
}
private void attach_JGZL_DocumentDescription_Sys_User1(JGZL_DocumentDescription entity)
{
this.SendPropertyChanging();
entity.ReviewerSys_User = this;
}
private void detach_JGZL_DocumentDescription_Sys_User1(JGZL_DocumentDescription entity)
{
this.SendPropertyChanging();
entity.ReviewerSys_User = null;
}
private void attach_JGZL_ElectrostaticGrounding(JGZL_ElectrostaticGrounding entity)
{
this.SendPropertyChanging();