Compare commits

..

7 Commits

Author SHA1 Message Date
biwj e3f033a8cc 20261013 2026-10-13 16:29:00 +08:00
biwj b2ea7df94d 20261013 交工资料样式 2026-10-13 14:54:49 +08:00
gaofei db7cd6870c 1 2026-10-09 16:55:01 +08:00
gaofei f4adc645ac 1 2026-10-09 16:54:22 +08:00
biwj 7c81259fbb 20261009 2026-10-09 16:48:18 +08:00
biwj 466941bdaa 20261008 2026-10-08 14:11:45 +08:00
biwj a5660eda30 20260924 焊条烘烤记录 2026-09-24 20:23:22 +08:00
40 changed files with 1380 additions and 1064 deletions
@@ -0,0 +1,4 @@
update Sys_Menu set MenuName='工艺管线数据表识别',SortIndex=5,SuperMenu='8IDKGJE2-09B1-4607-6666-DCC3O48F080F' where MenuId='EFD1E914-E79C-4F5E-A2F7-CFF4F7821284'
update Sys_Menu set SortIndex=15,SuperMenu='8IDKGJE2-09B1-4607-6666-DCC3O48F080F' where MenuId='34BAD63E-EF7C-4D7E-8641-C706BBFCD85F'
update Sys_Menu set SortIndex=21,SuperMenu='8IDKGJE2-09B1-4607-6666-DCC3O48F080F' where MenuId='6B16D1D4-FBDA-4B2B-AE0A-B465C686C27D'
GO
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="02/09/2026 11:02:02" ReportInfo.Modified="04/22/2026 16:39:05" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="02/09/2026 11:02:02" ReportInfo.Modified="10/10/2026 09:10:07" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@@ -51,7 +51,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFg1qRjSswFxgpEVsc1cd7Ug=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFTnSgiTjxVXJT4iSckTJclA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="SerialNumber" DataType="System.String" PropName="attach_image_id"/> <Column Name="SerialNumber" DataType="System.String" PropName="attach_image_id"/>
<Column Name="FileCode" DataType="System.String" PropName="image_series"/> <Column Name="FileCode" DataType="System.String" PropName="image_series"/>
@@ -61,7 +61,7 @@ namespace FastReport
</MsSqlDataConnection> </MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/> <Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.4,129.28,390.86,472.89,507.67,261.58,34.78,646.37,45.83,242.86,515.49,646.38,323.19"> <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.4,129.28,390.86,472.89,138.73,261.58,507.67,34.78,646.37,45.83,242.86,515.49,646.38,323.19">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="103.95" Guides="0,103.95,66.15,37.8"> <PageHeaderBand Name="PageHeader1" Width="646.38" Height="103.95" Guides="0,103.95,66.15,37.8">
<TableObject Name="Table1" Width="646.4" Height="103.95" Border.Lines="Left"> <TableObject Name="Table1" Width="646.4" Height="103.95" Border.Lines="Left">
<TableColumn Name="Column1" Width="129.28"/> <TableColumn Name="Column1" Width="129.28"/>
@@ -72,16 +72,16 @@ namespace FastReport
<TableRow Name="Row1" Height="66.15"> <TableRow Name="Row1" Height="66.15">
<TableCell Name="Cell1" Border.Lines="Top, Bottom" Text="SH/T 3503—J103" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="2"/> <TableCell Name="Cell1" Border.Lines="Top, Bottom" Text="SH/T 3503—J103" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All" Text="交工技术文件目录" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold" RowSpan="2"/> <TableCell Name="Cell2" Border.Lines="All" Text="交工技术文件目录" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold" RowSpan="2"/>
<TableCell Name="Cell3" Border.Lines="Left, Top" Text="工程名称:" Padding="2, 15, 2, 1" Font="宋体, 10.5pt"/> <TableCell Name="Cell3" Border.Lines="Left, Top" Text="工程名称:" Padding="2, 15, 1, 1" Font="宋体, 10.5pt"/>
<TableCell Name="Cell4" Border.Lines="Right, Top" Text="[ProjectName]" Padding="2, 10, 2, 1" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell4" Border.Lines="Right, Top" Text="[ProjectName]" Padding="1, 15, 2, 1" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell5" Font="宋体, 10.5pt"/> <TableCell Name="Cell5" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row2" Height="37.8"> <TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell6"/> <TableCell Name="Cell6"/>
<TableCell Name="Cell7"/> <TableCell Name="Cell7"/>
<TableCell Name="Cell8" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell8" Border.Lines="Left, Bottom" Text="单位工程名称:" Padding="2, 1, 1, 1" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell9" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell9" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell10" Border.Lines="Right, Bottom" Text="管道安装工程" Padding="1, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
<ChildBand Name="Child1" Top="107.95" Width="646.38" Height="34.85" Guides="0,34.85"> <ChildBand Name="Child1" Top="107.95" Width="646.38" Height="34.85" Guides="0,34.85">
@@ -99,13 +99,13 @@ namespace FastReport
</TableObject> </TableObject>
</ChildBand> </ChildBand>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="146.8" Width="646.38" Height="34.85" Guides="0,34.85"> <DataBand Name="Data1" Top="146.8" Width="646.38" Height="25.4" Guides="0,25.4">
<TableObject Name="Table3" Width="646.37" Height="34.85" Border.Lines="All" ManualBuildEvent="Table3_ManualBuild"> <TableObject Name="Table3" Width="646.37" Height="25.4" Border.Lines="All" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column10" Width="45.83"/> <TableColumn Name="Column10" Width="45.83"/>
<TableColumn Name="Column11" Width="197.03"/> <TableColumn Name="Column11" Width="197.03"/>
<TableColumn Name="Column12" Width="272.63"/> <TableColumn Name="Column12" Width="272.63"/>
<TableColumn Name="Column13" Width="130.88"/> <TableColumn Name="Column13" Width="130.88"/>
<TableRow Name="Row4" Height="34.85"> <TableRow Name="Row4" Height="25.4">
<TableCell Name="Cell15" Border.Lines="All" Text="[Data.SerialNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell15" Border.Lines="All" Text="[Data.SerialNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell16" Border.Lines="All" Text="[Data.FileCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell16" Border.Lines="All" Text="[Data.FileCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[Data.FileName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell17" Border.Lines="All" Text="[Data.FileName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
@@ -113,14 +113,14 @@ namespace FastReport
</TableRow> </TableRow>
</TableObject> </TableObject>
</DataBand> </DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="224.5" Width="646.38"> <ColumnFooterBand Name="ColumnFooter1" Top="205.6" Width="646.38">
<ChildBand Name="Child2" Top="185.65" Width="646.38" Height="34.85" Guides="0,34.85" FillUnusedSpace="true"> <ChildBand Name="Child2" Top="176.2" Width="646.38" Height="25.4" Guides="0,25.4" FillUnusedSpace="true">
<TableObject Name="Table4" Width="646.37" Height="34.85" Border.Lines="All"> <TableObject Name="Table4" Width="646.37" Height="25.4" Border.Lines="All">
<TableColumn Name="Column14" Width="45.83"/> <TableColumn Name="Column14" Width="45.83"/>
<TableColumn Name="Column15" Width="197.03"/> <TableColumn Name="Column15" Width="197.03"/>
<TableColumn Name="Column16" Width="272.63"/> <TableColumn Name="Column16" Width="272.63"/>
<TableColumn Name="Column17" Width="130.88"/> <TableColumn Name="Column17" Width="130.88"/>
<TableRow Name="Row5" Height="34.85"> <TableRow Name="Row5" Height="25.4">
<TableCell Name="Cell19" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell19" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell21" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell21" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
@@ -129,15 +129,15 @@ namespace FastReport
</TableObject> </TableObject>
</ChildBand> </ChildBand>
</ColumnFooterBand> </ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="228.5" Width="646.38" Height="103.95" PrintOn="LastPage" BeforePrintEvent="PageFooter1_BeforePrint" Guides="0,103.95,40.95,72.45"> <PageFooterBand Name="PageFooter1" Top="209.6" Width="646.38" Height="109.12" PrintOn="LastPage" BeforePrintEvent="PageFooter1_BeforePrint" Guides="0,109.12,40.95,77.62">
<TableObject Name="Table5" Width="646.38" Height="103.95" Border.Lines="Left"> <TableObject Name="Table5" Width="646.38" Height="109.12" Border.Lines="Left">
<TableColumn Name="Column18" Width="323.19"/> <TableColumn Name="Column18" Width="323.19"/>
<TableColumn Name="Column19" Width="323.19"/> <TableColumn Name="Column19" Width="323.19"/>
<TableRow Name="Row6" Height="40.95"> <TableRow Name="Row6" Height="40.95">
<TableCell Name="Cell23" Border.Lines="Right" Text="编制人:" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell23" Border.Lines="Right, Top" Text="编制人:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell24" Border.Lines="Right" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell24" Border.Lines="Right, Top" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row7" Height="31.5"> <TableRow Name="Row7" Height="36.67">
<TableCell Name="Cell28" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell28" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell29" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="04/22/2026 16:42:34" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="10/10/2026 09:15:26" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@@ -33,7 +33,7 @@ namespace FastReport
<Parameter Name="MainContent" DataType="System.String"/> <Parameter Name="MainContent" DataType="System.String"/>
<Parameter Name="CopiesNum" DataType="System.String"/> <Parameter Name="CopiesNum" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.38,149.31,383.67,468.72,418.23,228.15,323.19"> <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.38,149.31,383.67,468.72,228.15,418.23,323.19">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="94.5" Guides="0,94.5"> <PageHeaderBand Name="PageHeader1" Width="646.38" Height="94.5" Guides="0,94.5">
<TableObject Name="Table1" Width="646.38" Height="94.5" Border.Lines="Left"> <TableObject Name="Table1" Width="646.38" Height="94.5" Border.Lines="Left">
<TableColumn Name="Column1" Width="149.31"/> <TableColumn Name="Column1" Width="149.31"/>
@@ -48,14 +48,18 @@ namespace FastReport
</TableRow> </TableRow>
</TableObject> </TableObject>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="98.5" Width="646.38" Height="830.2" Guides="0,830.2,194.11,227.57,33.46,327.95,361.41,394.87,428.33,461.79,495.25,528.71,642.88,42.91,37.8,676.34,709.8,749.49"> <DataBand Name="Data1" Top="98.5" Width="646.38" Height="830.2" Guides="0,830.2,24.01,194.11,227.57,33.46,327.95,361.41,394.87,428.33,461.79,495.25,528.71,642.88,42.91,37.8,676.34,709.8,749.49">
<TableObject Name="Table2" Width="646.38" Height="830.2" Border.Lines="Left, Right, Bottom"> <TableObject Name="Table2" Width="646.38" Height="830.2" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column4" Width="228.15"/> <TableColumn Name="Column4" Width="228.15"/>
<TableColumn Name="Column5" Width="418.23"/> <TableColumn Name="Column5" Width="418.23"/>
<TableRow Name="Row2" Height="194.11"> <TableRow Name="Row2" Height="24.01">
<TableCell Name="Cell4" Text="一、工程概况:[ProjectOverview]" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell4" Text="一、工程概况:" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell5" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell5" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row22" Height="170.1">
<TableCell Name="Cell60" Text="[ProjectOverview]" Padding="50, 1, 2, 1" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell61"/>
</TableRow>
<TableRow Name="Row3" Height="33.46"> <TableRow Name="Row3" Height="33.46">
<TableCell Name="Cell9" Text="二、编制依据" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/> <TableCell Name="Cell9" Text="二、编制依据" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell10" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell10" VertAlign="Center" Font="楷体, 10.5pt"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="09/09/2026 16:50:18" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="10/13/2026 16:09:56" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFPBBtNNSbxRL0XXYTtAoVIA=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFGAuPUX4+1p6Hpm3DKm9KJQ==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/> <Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="PipelineCode" DataType="System.String" PropName="image_series"/> <Column Name="PipelineCode" DataType="System.String" PropName="image_series"/>
@@ -75,13 +75,14 @@ namespace FastReport
<Parameter Name="DeliveryUnit" DataType="System.String"/> <Parameter Name="DeliveryUnit" DataType="System.String"/>
<Parameter Name="DeliveryUnitCode" DataType="System.String"/> <Parameter Name="DeliveryUnitCode" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="718.2,1001.7,311.85,670.95,0,141.75,132.3,463.05,1009.26,151.2,85.05,9.45,37.8,538.65,28.35,56.7,47.25,66.15,669.0601,54.81,113.4,207.9,264.6,349.65,406.35,472.5,510.3,567,621.81,716.31,773.01,820.26,867.51,914.76,962.01,18.9,179.55,75.6,103.95,274.05,368.55,803.25,897.75,633.15,387.45"> <ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="718.2,1001.7,311.85,670.95,0,141.75,132.3,463.05,1009.26,151.2,85.05,9.45,37.8,538.65,28.35,56.7,47.25,66.15,669.0601,54.81,113.4,207.9,264.6,349.65,406.35,472.5,510.3,567,621.81,716.31,773.01,820.26,867.51,914.76,962.01,18.9,179.55,75.6,103.95,274.05,368.55,803.25,897.75,633.15,378,661.5">
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="236.25" Guides="0,18.9,56.7,85.05,236.25,37.8,151.2,94.5"> <PageHeaderBand Name="PageHeader1" Width="1012.28" Height="85.05" Guides="0,18.9,56.7,85.05">
<TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/1.2025" HorzAlign="Center" VertAlign="Center" Font="宋体, 14pt"/> <TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/1.2025" HorzAlign="Center" VertAlign="Center" Font="宋体, 14pt"/>
<TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="工业管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/> <TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="工业管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
<TextObject Name="Text3" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text3" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text4" Left="132.3" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text4" Left="132.3" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableObject Name="Table1" Top="85.05" Width="1009.26" Height="151.2" Border.Lines="Bottom"> <ChildBand Name="Child2" Top="89.05" Width="1012.28" Height="37.8" PrintOn="FirstPage" Guides="0,37.8">
<TableObject Name="Table1" Width="1009.26" Height="37.8" Border.Lines="Bottom">
<TableColumn Name="Column1" Width="18.9"/> <TableColumn Name="Column1" Width="18.9"/>
<TableColumn Name="Column23" Width="85.05"/> <TableColumn Name="Column23" Width="85.05"/>
<TableColumn Name="Column2" Width="9.45"/> <TableColumn Name="Column2" Width="9.45"/>
@@ -106,11 +107,11 @@ namespace FastReport
<TableColumn Name="Column21" Width="47.25"/> <TableColumn Name="Column21" Width="47.25"/>
<TableColumn Name="Column22" Width="47.25"/> <TableColumn Name="Column22" Width="47.25"/>
<TableRow Name="Row1" Height="37.8"> <TableRow Name="Row1" Height="37.8">
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt" ColSpan="4"/> <TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell175" Border.Lines="Top" Text="[DeliveryUnit]" VertAlign="Center" Font="宋体, 12pt" ColSpan="9"/> <TableCell Name="Cell175" Border.Lines="Top" Text="[DeliveryUnit]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="9"/>
<TableCell Name="Cell172" Border.Lines="Top" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell172" Border.Lines="Top" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell4" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell4" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell5" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell5" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
@@ -119,10 +120,10 @@ namespace FastReport
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell29" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell30" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell30" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell31" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell31" Border.Lines="All" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt" ColSpan="3"/> <TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="宋体, 12pt" ColSpan="7"/> <TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
@@ -130,60 +131,88 @@ namespace FastReport
<TableCell Name="Cell41" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell41" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow> </TableRow>
<TableRow Name="Row2" Height="56.7"> </TableObject>
<TableCell Name="Cell6" Border.Lines="All" Text="管道编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="3" RowSpan="2"/> <ChildBand Name="Child3" Top="130.85" Width="1012.28" Height="113.4" Guides="0,113.4,56.7">
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableObject Name="Table4" Width="1009.26" Height="113.4" Border.Lines="Bottom">
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableColumn Name="Column76" Width="18.9"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column77" Width="85.05"/>
<TableCell Name="Cell176" Border.Lines="All" Text="起止点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="2"/> <TableColumn Name="Column78" Width="9.45"/>
<TableCell Name="Cell173" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableColumn Name="Column79" Width="37.8"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column80" Width="28.35"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column81" Width="28.35"/>
<TableCell Name="Cell44" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column82" Width="56.7"/>
<TableCell Name="Cell45" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column83" Width="47.25"/>
<TableCell Name="Cell46" Border.Lines="All" Text="规格&#13;&#10;(mm)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column84" Width="37.8"/>
<TableCell Name="Cell47" Border.Lines="All" Text="长度(m)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column85" Width="56.7"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column86"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column87" Width="37.8"/>
<TableCell Name="Cell50" Border.Lines="All" Text="无损检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column88" Width="28.35"/>
<TableCell Name="Cell51" Border.Lines="All" Text="耐压试验方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column89" Width="28.35"/>
<TableCell Name="Cell52" Border.Lines="All" Text="耐压试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column90" Width="54.81"/>
<TableCell Name="Cell53" Border.Lines="All" Text="耐压试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column91" Width="47.25"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column92" Width="47.25"/>
<TableCell Name="Cell55" Border.Lines="All" Text="泄漏试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column93" Width="56.7"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹扫、清洗方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column94" Width="47.25"/>
<TableCell Name="Cell58" Border.Lines="All" Text="腐蚀控制方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column95" Width="47.25"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" RowSpan="2"/> <TableColumn Name="Column96" Width="47.25"/>
<TableColumn Name="Column97" Width="47.25"/>
<TableColumn Name="Column98" Width="47.25"/>
<TableRow Name="Row9" Height="56.7">
<TableCell Name="Cell205" Border.Lines="All" Text="管道编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3" RowSpan="2"/>
<TableCell Name="Cell206" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell207" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell208" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell209" Border.Lines="All" Text="起止点" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell210" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell211" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell212" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell213" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell214" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell215" Border.Lines="All" Text="规格&#13;&#10;(mm)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell216" Border.Lines="All" Text="长度(m)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell217" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell218" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell219" Border.Lines="All" Text="无损检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell220" Border.Lines="All" Text="耐压试验方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell221" Border.Lines="All" Text="耐压试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell222" Border.Lines="All" Text="耐压试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell223" Border.Lines="All" Text="泄漏试验介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell224" Border.Lines="All" Text="泄漏试验压力(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell225" Border.Lines="All" Text="吹扫、清洗方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell226" Border.Lines="All" Text="腐蚀控制方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell227" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
</TableRow> </TableRow>
<TableRow Name="Row3" Height="56.7"> <TableRow Name="Row10" Height="56.7">
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell228" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell229" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell230" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell231" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell177" Border.Lines="All" Text="起&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell232" Border.Lines="All" Text="起&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell174" Border.Lines="All" Text="终&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell233" Border.Lines="All" Text="终&#13;&#10;点" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell234" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell235" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell236" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell237" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell238" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell239" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell240" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell241" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell242" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell243" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell244" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell245" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell246" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell247" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell248" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell249" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell250" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
</ChildBand>
</ChildBand>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="240.25" Width="1012.28" Height="85.05" Guides="0,85.05"> <DataBand Name="Data1" Top="248.25" Width="1012.28" Height="75.6" Guides="0,75.6">
<TableObject Name="Table2" Width="1009.26" Height="85.05" Border.Lines="Bottom" ManualBuildEvent="Table2_ManualBuild"> <TableObject Name="Table2" Width="1009.26" Height="75.6" Border.Lines="Bottom" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column24" Width="18.9"/> <TableColumn Name="Column24" Width="18.9"/>
<TableColumn Name="Column25" Width="75.6"/> <TableColumn Name="Column25" Width="75.6"/>
<TableColumn Name="Column26" Width="18.9"/> <TableColumn Name="Column26" Width="18.9"/>
@@ -207,36 +236,36 @@ namespace FastReport
<TableColumn Name="Column44" Width="47.25"/> <TableColumn Name="Column44" Width="47.25"/>
<TableColumn Name="Column45" Width="47.25"/> <TableColumn Name="Column45" Width="47.25"/>
<TableColumn Name="Column46" Width="47.25"/> <TableColumn Name="Column46" Width="47.25"/>
<TableRow Name="Row6" Height="85.05"> <TableRow Name="Row6" Height="75.6">
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="3"/> <TableCell Name="Cell126" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell127" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell127" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell179" Border.Lines="All" Text="[Data.PipelineStartPoint]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell179" Border.Lines="All" Text="[Data.PipelineStartPoint]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell178" Border.Lines="All" Text="[Data.PipelineEndPoint]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell178" Border.Lines="All" Text="[Data.PipelineEndPoint]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.Remark]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell140" Border.Lines="All" Text="[Data.Remark]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
</DataBand> </DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="418.35" Width="1012.28"> <ColumnFooterBand Name="ColumnFooter1" Top="407.45" Width="1012.28">
<ChildBand Name="Child1" Top="329.3" Width="1012.28" Height="85.05" Guides="0,85.05" FillUnusedSpace="true"> <ChildBand Name="Child1" Top="327.85" Width="1012.28" Height="75.6" Guides="0,75.6" FillUnusedSpace="true">
<TableObject Name="Table3" Width="1009.26" Height="85.05" Border.Lines="Bottom"> <TableObject Name="Table3" Width="1009.26" Height="75.6" Border.Lines="Bottom">
<TableColumn Name="Column47" Width="18.9"/> <TableColumn Name="Column47" Width="18.9"/>
<TableColumn Name="Column48" Width="75.6"/> <TableColumn Name="Column48" Width="75.6"/>
<TableColumn Name="Column49" Width="18.9"/> <TableColumn Name="Column49" Width="18.9"/>
@@ -260,7 +289,7 @@ namespace FastReport
<TableColumn Name="Column67" Width="47.25"/> <TableColumn Name="Column67" Width="47.25"/>
<TableColumn Name="Column68" Width="47.25"/> <TableColumn Name="Column68" Width="47.25"/>
<TableColumn Name="Column69" Width="47.25"/> <TableColumn Name="Column69" Width="47.25"/>
<TableRow Name="Row7" Height="85.05"> <TableRow Name="Row7" Height="75.6">
<TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/> <TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
@@ -288,12 +317,14 @@ namespace FastReport
</TableObject> </TableObject>
</ChildBand> </ChildBand>
</ColumnFooterBand> </ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="422.35" Width="1012.28" Height="56.7" Guides="9.45,28.35,37.8,56.7"> <PageFooterBand Name="PageFooter1" Top="411.45" Width="1012.28" Height="28.35" PrintOn="LastPage" Guides="9.45,28.35">
<TextObject Name="Text5" Left="9.45" Top="9.45" Width="94.5" Height="18.9" Text="填表:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text5" Left="9.45" Top="9.45" Width="94.5" Height="18.9" Text="填表:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text6" Left="274.05" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text6" Left="274.05" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text7" Left="803.25" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text7" Left="803.25" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text8" Left="538.65" Top="9.45" Width="94.5" Height="18.9" Text="审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text8" Left="538.65" Top="9.45" Width="94.5" Height="18.9" Text="审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text9" Left="387.45" Top="37.8" Width="283.5" Height="18.9" Text="共[TotalPages#]页 第[Page#]页" Font="宋体, 12pt"/> <ChildBand Name="Child4" Top="443.8" Width="1012.28" Height="28.35" Guides="9.45,28.35">
<TextObject Name="Text9" Left="378" Top="9.45" Width="283.5" Height="18.9" Text="共[TotalPages#]页 第[Page#]页" Font="宋体, 12pt"/>
</ChildBand>
</PageFooterBand> </PageFooterBand>
</ReportPage> </ReportPage>
</Report> </Report>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="09/10/2026 09:47:10" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="10/13/2026 16:15:01" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@@ -18,7 +18,6 @@ namespace FastReport
{ {
public class ReportScript public class ReportScript
{ {
private void Table2_ManualBuild(object sender, EventArgs e) private void Table2_ManualBuild(object sender, EventArgs e)
{ {
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;); DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
@@ -42,7 +41,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFSNC6k3/Jky1tLKNl3mNErg=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFjoj0apwefOc2l/sd78fdnQ==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/> <Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="PipelineCode" DataType="System.String" PropName="image_series"/> <Column Name="PipelineCode" DataType="System.String" PropName="image_series"/>
@@ -75,16 +74,17 @@ namespace FastReport
<Parameter Name="DeliveryUnit" DataType="System.String"/> <Parameter Name="DeliveryUnit" DataType="System.String"/>
<Parameter Name="DeliveryUnitCode" DataType="System.String"/> <Parameter Name="DeliveryUnitCode" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="718.2,1001.7,311.85,670.95,500.85,642.6,973.35,0,1009.26,151.2,85.05,9.45,37.8,56.7,66.15,28.35,631.26,54.81,47.25,18.9,113.4,198.45,236.25,274.05,368.55,434.7,472.5,529.2,584.01,735.21,886.41,924.21,962.01,669.06,782.46,820.26,103.95,803.25,897.75,538.65,633.15"> <ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="718.2,1001.7,311.85,670.95,500.85,642.6,973.35,0,1010.26,152.2,75.6,1,37.8,501.85,56.7,66.15,28.35,632.26,54.81,47.25,114.4,199.45,237.25,275.05,312.85,369.55,435.7,473.5,530.2,585.01,736.21,887.41,925.21,963.01,670.06,783.46,821.26,9.45,103.95,274.05,368.55,803.25,897.75,538.65,633.15">
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="236.25" Guides="0,18.9,56.7,85.05,236.25,37.8,151.2,75.6"> <PageHeaderBand Name="PageHeader1" Width="1012.28" Height="85.05" Guides="0,18.9,56.7,85.05">
<TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 15pt"/> <TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 15pt"/>
<TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="二、压力管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/> <TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="二、压力管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
<TextObject Name="Text3" Left="500.85" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TextObject Name="Text3" Left="500.85" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text4" Left="642.6" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 10.5pt"/> <TextObject Name="Text4" Left="642.6" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableObject Name="Table1" Top="85.05" Width="1009.26" Height="151.2" Border.Lines="Bottom"> <ChildBand Name="Child2" Top="89.05" Width="1012.28" Height="37.8" PrintOn="FirstPage" Guides="0,37.8">
<TableColumn Name="Column1" Width="18.9"/> <TableObject Name="Table1" Width="1010.26" Height="37.8" Border.Lines="Bottom">
<TableColumn Name="Column23" Width="85.05"/> <TableColumn Name="Column1" Width="37.8"/>
<TableColumn Name="Column2" Width="9.45"/> <TableColumn Name="Column23" Width="75.6"/>
<TableColumn Name="Column2" Width="1"/>
<TableColumn Name="Column3" Width="37.8"/> <TableColumn Name="Column3" Width="37.8"/>
<TableColumn Name="Column4" Width="47.25"/> <TableColumn Name="Column4" Width="47.25"/>
<TableColumn Name="Column5" Width="37.8"/> <TableColumn Name="Column5" Width="37.8"/>
@@ -106,11 +106,11 @@ namespace FastReport
<TableColumn Name="Column21" Width="37.8"/> <TableColumn Name="Column21" Width="37.8"/>
<TableColumn Name="Column22" Width="47.25"/> <TableColumn Name="Column22" Width="47.25"/>
<TableRow Name="Row1" Height="37.8"> <TableRow Name="Row1" Height="37.8">
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" ColSpan="4"/> <TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center"/> <TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center"/>
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell4" Border.Lines="All" Text="[DeliveryUnit]" VertAlign="Center" ColSpan="8"/> <TableCell Name="Cell4" Border.Lines="All" Text="[DeliveryUnit]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="8"/>
<TableCell Name="Cell5" Border.Lines="All" VertAlign="Center"/> <TableCell Name="Cell5" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell172"/> <TableCell Name="Cell172"/>
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center"/> <TableCell Name="Cell27" Border.Lines="All" VertAlign="Center"/>
@@ -118,10 +118,10 @@ namespace FastReport
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center"/> <TableCell Name="Cell29" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell30" Border.Lines="All" VertAlign="Center"/> <TableCell Name="Cell30" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell31" Border.Lines="All" VertAlign="Center"/> <TableCell Name="Cell31" Border.Lines="All" VertAlign="Center"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" ColSpan="3"/> <TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" ColSpan="8"/> <TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="8"/>
<TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
@@ -130,63 +130,91 @@ namespace FastReport
<TableCell Name="Cell41" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell41" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow> </TableRow>
<TableRow Name="Row2" Height="37.8"> </TableObject>
<TableCell Name="Cell6" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <ChildBand Name="Child3" Top="130.85" Width="1012.28" Height="94.5" Guides="0,94.5,37.8,56.7">
<TableCell Name="Cell78" Border.Lines="All" Text="单线号" HorzAlign="Center" VertAlign="Center" ColSpan="2" RowSpan="2"/> <TableObject Name="Table4" Width="1010.26" Height="94.5" Border.Lines="Bottom">
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableColumn Name="Column76" Width="37.8"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column77" Width="75.6"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column78" Width="1"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column79" Width="37.8"/>
<TableCell Name="Cell173" Text="操作温度℃" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column80" Width="47.25"/>
<TableCell Name="Cell44" Border.Lines="All" Text="输送介质" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column81" Width="37.8"/>
<TableCell Name="Cell45" Border.Lines="All" Text="管道材质牌号及标准" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column82" Width="37.8"/>
<TableCell Name="Cell46" Border.Lines="All" Text="管道规格&#13;&#10;(外径×壁厚mm)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column83" Width="37.8"/>
<TableCell Name="Cell47" Border.Lines="All" Text="管道长度(m)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column84" Width="56.7"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column85"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column86" Width="37.8"/>
<TableCell Name="Cell50" Border.Lines="All" Text="检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column87" Width="28.35"/>
<TableCell Name="Cell51" Border.Lines="All" Text="压力试验" HorzAlign="Center" VertAlign="Center" ColSpan="3"/> <TableColumn Name="Column88" Width="28.35"/>
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableColumn Name="Column89" Width="54.81"/>
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableColumn Name="Column90" Width="47.25"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" ColSpan="3"/> <TableColumn Name="Column91" Width="37.8"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableColumn Name="Column92"/>
<TableCell Name="Cell178"/> <TableColumn Name="Column93" Width="47.25"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹洗方法" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column94" Width="37.8"/>
<TableCell Name="Cell58" Border.Lines="All" Text="防腐方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column95"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/> <TableColumn Name="Column96" Width="37.8"/>
<TableColumn Name="Column97" Width="37.8"/>
<TableColumn Name="Column98" Width="47.25"/>
<TableRow Name="Row9" Height="37.8">
<TableCell Name="Cell205" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell206" Border.Lines="All" Text="单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell207" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell208" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell209" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell210" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell211" Border.Lines="Top" Text="操作温度℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell212" Border.Lines="All" Text="输送介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell213" Border.Lines="All" Text="管道材质牌号及标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell214" Border.Lines="All" Text="管道规格&#13;&#10;(外径×壁厚mm)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell215" Border.Lines="All" Text="管道长度(m)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell216" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell217" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell218" Border.Lines="All" Text="检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell219" Border.Lines="All" Text="压力试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell220" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell221" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell222" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell223" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell224" Font="宋体, 10.5pt"/>
<TableCell Name="Cell225" Border.Lines="All" Text="吹洗方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell226" Border.Lines="All" Text="防腐方式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell227" Border.Lines="All" Text="保温(绝热)方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
</TableRow> </TableRow>
<TableRow Name="Row3" Height="75.6"> <TableRow Name="Row10" Height="56.7">
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell228" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell229" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell230" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell231" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell232" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell233" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell174"/> <TableCell Name="Cell234" Font="宋体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell235" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell236" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell237" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell238" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell239" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell240" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell241" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell242" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell243" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell244" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell245" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell246" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell179" Text="日期" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell247" Text="日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell248" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell249" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell250" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
</ChildBand>
</ChildBand>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="240.25" Width="1012.28" Height="85.05" Guides="0,85.05"> <DataBand Name="Data1" Top="229.35" Width="1012.28" Height="56.7" Guides="0,56.7">
<TableObject Name="Table2" Width="1009.26" Height="85.05" Border.Lines="Bottom" ManualBuildEvent="Table2_ManualBuild"> <TableObject Name="Table2" Width="1010.26" Height="56.7" Border.Lines="Bottom" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column24" Width="18.9"/> <TableColumn Name="Column24" Width="37.8"/>
<TableColumn Name="Column25" Width="75.6"/> <TableColumn Name="Column25" Width="75.6"/>
<TableColumn Name="Column26" Width="18.9"/> <TableColumn Name="Column26" Width="1"/>
<TableColumn Name="Column27" Width="37.8"/> <TableColumn Name="Column27" Width="37.8"/>
<TableColumn Name="Column28" Width="47.25"/> <TableColumn Name="Column28" Width="47.25"/>
<TableColumn Name="Column29" Width="37.8"/> <TableColumn Name="Column29" Width="37.8"/>
@@ -207,39 +235,39 @@ namespace FastReport
<TableColumn Name="Column44" Width="37.8"/> <TableColumn Name="Column44" Width="37.8"/>
<TableColumn Name="Column45" Width="37.8"/> <TableColumn Name="Column45" Width="37.8"/>
<TableColumn Name="Column46" Width="47.25"/> <TableColumn Name="Column46" Width="47.25"/>
<TableRow Name="Row6" Height="85.05"> <TableRow Name="Row6" Height="56.7">
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell126" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell127" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt" ColSpan="2"/> <TableCell Name="Cell127" Border.Lines="All" Text="[Data.PipelineCode]" Padding="1, 1, 1, 1" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt" ColSpan="2"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell175" Border.Lines="All" Text="[Data.OperatingTemperature]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell175" Border.Lines="All" Text="[Data.OperatingTemperature]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/> <TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/> <TableCell Name="Cell140" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestDate]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/> <TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell180" Border.Lines="All" Text="[Data.LeakageTestDate]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/> <TableCell Name="Cell180" Border.Lines="All" Text="[Data.LeakageTestDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/> <TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/> <TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 8pt"/> <TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 9pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
</DataBand> </DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="418.35" Width="1012.28"> <ColumnFooterBand Name="ColumnFooter1" Top="350.75" Width="1012.28">
<ChildBand Name="Child1" Top="329.3" Width="1012.28" Height="85.05" Guides="0,85.05" FillUnusedSpace="true"> <ChildBand Name="Child1" Top="290.05" Width="1012.28" Height="56.7" Guides="0,56.7" FillUnusedSpace="true">
<TableObject Name="Table3" Width="1009.26" Height="85.05" Border.Lines="Bottom"> <TableObject Name="Table3" Width="1010.26" Height="56.7" Border.Lines="Bottom">
<TableColumn Name="Column47" Width="18.9"/> <TableColumn Name="Column47" Width="37.8"/>
<TableColumn Name="Column48" Width="75.6"/> <TableColumn Name="Column48" Width="75.6"/>
<TableColumn Name="Column49" Width="18.9"/> <TableColumn Name="Column49" Width="1"/>
<TableColumn Name="Column50" Width="37.8"/> <TableColumn Name="Column50" Width="37.8"/>
<TableColumn Name="Column51" Width="47.25"/> <TableColumn Name="Column51" Width="47.25"/>
<TableColumn Name="Column52" Width="37.8"/> <TableColumn Name="Column52" Width="37.8"/>
@@ -260,7 +288,7 @@ namespace FastReport
<TableColumn Name="Column67" Width="37.8"/> <TableColumn Name="Column67" Width="37.8"/>
<TableColumn Name="Column68" Width="37.8"/> <TableColumn Name="Column68" Width="37.8"/>
<TableColumn Name="Column69" Width="47.25"/> <TableColumn Name="Column69" Width="47.25"/>
<TableRow Name="Row7" Height="85.05"> <TableRow Name="Row7" Height="56.7">
<TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/> <TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/> <TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
@@ -288,11 +316,11 @@ namespace FastReport
</TableObject> </TableObject>
</ChildBand> </ChildBand>
</ColumnFooterBand> </ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="422.35" Width="1012.28" Height="56.7" Guides="9.45,28.35"> <PageFooterBand Name="PageFooter1" Top="354.75" Width="1012.28" Height="28.35" PrintOn="LastPage" Guides="0,28.35">
<TextObject Name="Text5" Left="9.45" Top="9.45" Width="94.5" Height="18.9" Text="填表:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text5" Left="9.45" Width="94.5" Height="28.35" Text="填表:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text6" Left="274.05" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text6" Left="274.05" Width="94.5" Height="28.35" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text7" Left="803.25" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text7" Left="803.25" Width="94.5" Height="28.35" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text8" Left="538.65" Top="9.45" Width="94.5" Height="18.9" Text="审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TextObject Name="Text8" Left="538.65" Width="94.5" Height="28.35" Text="审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</PageFooterBand> </PageFooterBand>
</ReportPage> </ReportPage>
</Report> </Report>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="09/10/2026 11:10:02" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="10/10/2026 14:32:26" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFRLE3fVb1N0D74ri9q0f0Mg=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFWqDDMaPXqV/z/brFfXz69A==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/> <Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="EngineeringName" DataType="System.String" PropName="image_series"/> <Column Name="EngineeringName" DataType="System.String" PropName="image_series"/>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="09/09/2026 10:05:21" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="10/12/2026 16:12:50" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFjoj0apwefOc2l/sd78fdnQ=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFDbN1Q7UYiQPLPu1xuNqgnQ==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/> <Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="EngineeringName" DataType="System.String" PropName="image_series"/> <Column Name="EngineeringName" DataType="System.String" PropName="image_series"/>
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 15:42:03" ReportInfo.Modified="02/07/2026 10:37:06" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 15:42:03" ReportInfo.Modified="10/09/2026 17:13:41" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/> <Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="Code" DataType="System.String"/> <Parameter Name="Code" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.37,178.38,394.56,459.55,500,146.37,646.38,212.31,424.62"> <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.37,178.38,394.56,459.55,396.05,580.22,684.17,146.37,542.42,646.38,212.31,424.62">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="88.83" Guides="0,88.83"> <PageHeaderBand Name="PageHeader1" Width="646.38" Height="88.83" Guides="0,88.83">
<TableObject Name="Table1" Width="646.37" Height="88.83" Border.Lines="Right"> <TableObject Name="Table1" Width="646.37" Height="88.83" Border.Lines="Right">
<TableColumn Name="Column1" Width="178.38"/> <TableColumn Name="Column1" Width="178.38"/>
@@ -19,25 +19,30 @@
</TableRow> </TableRow>
</TableObject> </TableObject>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="92.83" Width="646.38" Height="694.37" Guides="0,694.37,173.12,251.74,330.36"> <DataBand Name="Data1" Top="92.83" Width="646.38" Height="694.37" Guides="0,694.37,173.12,232.84,311.46">
<TableObject Name="Table2" Width="646.37" Height="694.37" Border.Lines="Left, Right"> <TableObject Name="Table2" Width="646.37" Height="694.37" Border.Lines="Left, Right">
<TableColumn Name="Column4" Width="146.37"/> <TableColumn Name="Column4" Width="146.37"/>
<TableColumn Name="Column5" Width="500"/> <TableColumn Name="Column5" Width="396.05"/>
<TableColumn Name="Column10" Width="103.95"/>
<TableRow Name="Row2" Height="173.12"> <TableRow Name="Row2" Height="173.12">
<TableCell Name="Cell4" Border.Lines="Left" Text="石油化工建设工程项目交工技术文件" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt, style=Bold" ColSpan="2"/> <TableCell Name="Cell4" Border.Lines="Left" Text="石油化工建设工程项目交工技术文件" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt, style=Bold" ColSpan="3"/>
<TableCell Name="Cell20" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt"/> <TableCell Name="Cell20" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt"/>
<TableCell Name="Cell48"/>
</TableRow> </TableRow>
<TableRow Name="Row3" Height="78.62"> <TableRow Name="Row3" Height="59.72">
<TableCell Name="Cell9" Border.Lines="Left" Text="工程名称:" HorzAlign="Right" VertAlign="Bottom" Font="宋体, 14pt"/> <TableCell Name="Cell9" Border.Lines="Left" Text="工程名称:" HorzAlign="Right" Font="宋体, 14pt"/>
<TableCell Name="Cell21" Text="[ProjectName]" VertAlign="Bottom" Font="楷体, 14pt"/> <TableCell Name="Cell21" Text="[ProjectName]" Font="楷体, 14pt"/>
<TableCell Name="Cell49"/>
</TableRow> </TableRow>
<TableRow Name="Row4" Height="78.62"> <TableRow Name="Row4" Height="78.62">
<TableCell Name="Cell14" Border.Lines="Left" Text="卷名:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/> <TableCell Name="Cell14" Border.Lines="Left" Text="卷 名:" HorzAlign="Right" Font="宋体, 14pt"/>
<TableCell Name="Cell22" Text="管道安装工程卷" VertAlign="Center" Font="楷体, 14pt"/> <TableCell Name="Cell22" Text="管道安装工程卷" Font="楷体, 14pt"/>
<TableCell Name="Cell50"/>
</TableRow> </TableRow>
<TableRow Name="Row5" Height="364.01"> <TableRow Name="Row5" Height="382.91">
<TableCell Name="Cell19" Border.Lines="Left"/> <TableCell Name="Cell19" Border.Lines="Left"/>
<TableCell Name="Cell23"/> <TableCell Name="Cell23"/>
<TableCell Name="Cell51"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
</DataBand> </DataBand>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="09/11/2026 14:43:51" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="10/12/2026 16:13:11" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFaSQGGfp0C04d0yi9F5iJBg=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFthogzLLWZLLsLiHjss2ZTA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="QualityCertificateCode" DataType="System.String" PropName="attach_image_id"/> <Column Name="QualityCertificateCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="ConUnit" DataType="System.String" PropName="image_series"/> <Column Name="ConUnit" DataType="System.String" PropName="image_series"/>
@@ -30,7 +30,7 @@
<Parameter Name="chkZhongDaWeiXiu" DataType="System.String"/> <Parameter Name="chkZhongDaWeiXiu" DataType="System.String"/>
<Parameter Name="chkWeiXiu" DataType="System.String"/> <Parameter Name="chkWeiXiu" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="368.55,642.6,9.45,0,311.85,646.4,112.27,337.94,431.31,140.62,93.37,74.47,440.76,452.1,497.46,508.8,582.51,593.85,506.91,591.96,639.21,450.21,225.67,505.78,508.04"> <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="368.55,642.6,9.45,0,311.85,646.4,112.27,337.94,431.31,140.62,93.37,74.47,440.76,452.1,497.46,508.8,582.51,593.85,506.91,591.96,639.21,450.21,225.67,505.78">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="122.85" Guides="9.45,37.8,66.15,94.5,122.85"> <PageHeaderBand Name="PageHeader1" Width="646.38" Height="122.85" Guides="9.45,37.8,66.15,94.5,122.85">
<TextObject Name="Text1" Left="368.55" Top="9.45" Width="274.05" Height="28.35" Text="ZDS-T6.38.048.A/0.2020" HorzAlign="Right" VertAlign="Center" Font="Calibri, 15pt, style=Bold"/> <TextObject Name="Text1" Left="368.55" Top="9.45" Width="274.05" Height="28.35" Text="ZDS-T6.38.048.A/0.2020" HorzAlign="Right" VertAlign="Center" Font="Calibri, 15pt, style=Bold"/>
<TextObject Name="Text2" Left="9.45" Top="66.15" Width="633.15" Height="28.35" Text="压力管道改造维修质量证明书" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 22pt, style=Bold"/> <TextObject Name="Text2" Left="9.45" Top="66.15" Width="633.15" Height="28.35" Text="压力管道改造维修质量证明书" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 22pt, style=Bold"/>
@@ -90,19 +90,19 @@
<TableCell Name="Cell31" Border.Lines="All" Text="使用单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell31" Border.Lines="All" Text="使用单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell32" Border.Lines="All" Text="[Data.UseUnit]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell32" Border.Lines="All" Text="[Data.UseUnit]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell33" Border.Lines="All" Text="统一社会信用代码" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell33" Border.Lines="All" Text="统一社会信用代码" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell34" Border.Lines="All" Text="[Data.UseUSCC]" HorzAlign="Center" VertAlign="Center" Font="楷体, 12pt" ColSpan="2"/> <TableCell Name="Cell34" Border.Lines="All" Text="[Data.UseUSCC]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row8" Height="43.46"> <TableRow Name="Row8" Height="43.46">
<TableCell Name="Cell36" Border.Lines="All" Text="使用地点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell36" Border.Lines="All" Text="使用地点" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="[Data.UseAddress]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/> <TableCell Name="Cell37" Border.Lines="All" Text="[Data.UseAddress]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell39" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell40" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row9" Height="43.46"> <TableRow Name="Row9" Height="43.46">
<TableCell Name="Cell41" Border.Lines="All" Text="设计单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell41" Border.Lines="All" Text="设计单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell42" Border.Lines="All" Text="[Data.DesignUnit]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/> <TableCell Name="Cell42" Border.Lines="All" Text="[Data.DesignUnit]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell43" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell43" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
@@ -145,18 +145,14 @@
<TableRow Name="Row13" Height="52.91"> <TableRow Name="Row13" Height="52.91">
<TableCell Name="Cell61" Border.Lines="Left" Text="质检员(签章):" Padding="50, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="黑体, 12pt" ColSpan="2"/> <TableCell Name="Cell61" Border.Lines="Left" Text="质检员(签章):" Padding="50, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="黑体, 12pt" ColSpan="2"/>
<TableCell Name="Cell62" HorzAlign="Right" VertAlign="Center" Font="黑体, 10.5pt"/> <TableCell Name="Cell62" HorzAlign="Right" VertAlign="Center" Font="黑体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="Right" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"> <TableCell Name="Cell63" Border.Lines="Right" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TextObject Name="Text3" Top="9.45" Width="170.1" Height="28.35" Border.Lines="Bottom" Text="[Data.QC_Inspector]" VertAlign="Center" Font="黑体, 12pt"/>
</TableCell>
<TableCell Name="Cell64" Border.Lines="Right" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell64" Border.Lines="Right" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell65" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row14" Height="71.81"> <TableRow Name="Row14" Height="71.81">
<TableCell Name="Cell66" Border.Lines="Left" Padding="2, 1, 50, 1" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt"/> <TableCell Name="Cell66" Border.Lines="Left" Padding="2, 1, 50, 1" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell67" Text="质量保证工程师(签章):" HorzAlign="Right" VertAlign="Center" Font="黑体, 12pt"/> <TableCell Name="Cell67" Text="质量保证工程师(签章):" HorzAlign="Right" VertAlign="Center" Font="黑体, 12pt"/>
<TableCell Name="Cell68" Border.Lines="Right" VertAlign="Center" Font="楷体, 12pt" ColSpan="3"> <TableCell Name="Cell68" Border.Lines="Right" VertAlign="Center" Font="楷体, 12pt" ColSpan="3"/>
<TextObject Name="Text5" Top="18.9" Width="170.1" Height="28.35" Border.Lines="Bottom" Text="[Data.QA_Engineer]" VertAlign="Center" Font="黑体, 12pt"/>
</TableCell>
<TableCell Name="Cell69" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="楷体, 12pt"/> <TableCell Name="Cell69" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="楷体, 12pt"/>
<TableCell Name="Cell70" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="楷体, 12pt"/> <TableCell Name="Cell70" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="楷体, 12pt"/>
</TableRow> </TableRow>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/22/2025 14:15:28" ReportInfo.Modified="04/22/2026 16:42:54" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="12/22/2025 14:15:28" ReportInfo.Modified="10/10/2026 10:27:55" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFtUIxFNKm2jviWjofgJksTw=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF089YVQm2WmvoAT9oe8vufw==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="MaintenanceCode" DataType="System.String" PropName="attach_image_id"/> <Column Name="MaintenanceCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="ConUnit" DataType="System.String" PropName="image_series"/> <Column Name="ConUnit" DataType="System.String" PropName="image_series"/>
+16 -16
View File
@@ -1404,7 +1404,9 @@
<Content Include="JGZL\ElectrodeRecovery.aspx" /> <Content Include="JGZL\ElectrodeRecovery.aspx" />
<Content Include="JGZL\EWeldRHRecord.aspx" /> <Content Include="JGZL\EWeldRHRecord.aspx" />
<Content Include="JGZL\FileDirectory.aspx" /> <Content Include="JGZL\FileDirectory.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationQualityCertificateEdit.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx" /> <Content Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationSummaryEdit.aspx" />
<Content Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx" /> <Content Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx" />
<Content Include="JGZL\InsulationAcceptanceRecord.aspx" /> <Content Include="JGZL\InsulationAcceptanceRecord.aspx" />
<Content Include="JGZL\InsulationAcceptanceRecordEdit.aspx" /> <Content Include="JGZL\InsulationAcceptanceRecordEdit.aspx" />
@@ -1434,9 +1436,7 @@
<Content Include="JGZL\HandoverCertificate.aspx" /> <Content Include="JGZL\HandoverCertificate.aspx" />
<Content Include="JGZL\HandoverCertificateEdit.aspx" /> <Content Include="JGZL\HandoverCertificateEdit.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationQualityCertificate.aspx" /> <Content Include="JGZL\IndustrialPipelineInstallationQualityCertificate.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationQualityCertificateEdit.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationSummary.aspx" /> <Content Include="JGZL\IndustrialPipelineInstallationSummary.aspx" />
<Content Include="JGZL\IndustrialPipelineInstallationSummaryEdit.aspx" />
<Content Include="JGZL\MaterialIdentificationInspectionRecord.aspx" /> <Content Include="JGZL\MaterialIdentificationInspectionRecord.aspx" />
<Content Include="JGZL\MaterialIdentificationInspectionRecordEdit.aspx" /> <Content Include="JGZL\MaterialIdentificationInspectionRecordEdit.aspx" />
<Content Include="JGZL\MaterialIdentificationInspectionRecordSearch.aspx" /> <Content Include="JGZL\MaterialIdentificationInspectionRecordSearch.aspx" />
@@ -7063,6 +7063,13 @@
<Compile Include="JGZL\FileDirectory.aspx.designer.cs"> <Compile Include="JGZL\FileDirectory.aspx.designer.cs">
<DependentUpon>FileDirectory.aspx</DependentUpon> <DependentUpon>FileDirectory.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationQualityCertificateEdit.aspx.cs">
<DependentUpon>IndustrialPipelineInstallationQualityCertificateEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationQualityCertificateEdit.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationQualityCertificateEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx.cs"> <Compile Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx.cs">
<DependentUpon>IndustrialPipelineInstallationSummary2020.aspx</DependentUpon> <DependentUpon>IndustrialPipelineInstallationSummary2020.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@@ -7070,6 +7077,13 @@
<Compile Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx.designer.cs"> <Compile Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationSummary2020.aspx</DependentUpon> <DependentUpon>IndustrialPipelineInstallationSummary2020.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationSummaryEdit.aspx.cs">
<DependentUpon>IndustrialPipelineInstallationSummaryEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationSummaryEdit.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx.cs"> <Compile Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx.cs">
<DependentUpon>IndustrialPipelineQualityCertificate2020.aspx</DependentUpon> <DependentUpon>IndustrialPipelineQualityCertificate2020.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@@ -7273,13 +7287,6 @@
<Compile Include="JGZL\IndustrialPipelineInstallationQualityCertificate.aspx.designer.cs"> <Compile Include="JGZL\IndustrialPipelineInstallationQualityCertificate.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationQualityCertificate.aspx</DependentUpon> <DependentUpon>IndustrialPipelineInstallationQualityCertificate.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationQualityCertificateEdit.aspx.cs">
<SubType>ASPXCodeBehind</SubType>
<DependentUpon>IndustrialPipelineInstallationQualityCertificateEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationQualityCertificateEdit.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationQualityCertificateEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationSummary.aspx.cs"> <Compile Include="JGZL\IndustrialPipelineInstallationSummary.aspx.cs">
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
<DependentUpon>IndustrialPipelineInstallationSummary.aspx</DependentUpon> <DependentUpon>IndustrialPipelineInstallationSummary.aspx</DependentUpon>
@@ -7287,13 +7294,6 @@
<Compile Include="JGZL\IndustrialPipelineInstallationSummary.aspx.designer.cs"> <Compile Include="JGZL\IndustrialPipelineInstallationSummary.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationSummary.aspx</DependentUpon> <DependentUpon>IndustrialPipelineInstallationSummary.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationSummaryEdit.aspx.cs">
<SubType>ASPXCodeBehind</SubType>
<DependentUpon>IndustrialPipelineInstallationSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\IndustrialPipelineInstallationSummaryEdit.aspx.designer.cs">
<DependentUpon>IndustrialPipelineInstallationSummaryEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\MaterialIdentificationInspectionRecord.aspx.cs"> <Compile Include="JGZL\MaterialIdentificationInspectionRecord.aspx.cs">
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
<DependentUpon>MaterialIdentificationInspectionRecord.aspx</DependentUpon> <DependentUpon>MaterialIdentificationInspectionRecord.aspx</DependentUpon>
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<Use64BitIISExpress /> <Use64BitIISExpress />
<IISExpressSSLPort /> <IISExpressSSLPort />
<IISExpressAnonymousAuthentication /> <IISExpressAnonymousAuthentication />
+1 -1
View File
@@ -53,7 +53,7 @@
<f:ToolbarFill ID="ToolbarFill1" runat="server"> <f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill> </f:ToolbarFill>
<f:TextBox ID="txtCode" runat="server" Label="卷号" LabelAlign="Right"></f:TextBox> <f:TextBox ID="txtCode" runat="server" Label="卷号" LabelAlign="Right"></f:TextBox>
<f:Button ID="btnPrint" Text="封面打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -42,7 +42,7 @@
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1" <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click"> OnClick="btnSave_Click">
</f:Button> </f:Button>
<f:Button ID="btnPrint" Text="交工技术文件说明打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -39,7 +39,7 @@
<Items> <Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server"> <f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill> </f:ToolbarFill>
<f:Button ID="btnPrint" Text="交工技术文件目录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -309,7 +309,7 @@ namespace FineUIPro.Web.JGZL
string filePath = string.Empty; string filePath = string.Empty;
//每页显示的固定数据行数 //每页显示的固定数据行数
int rowsPerPage = 36; int rowsPerPage = 33;
string projectId = this.tvControlItem.SelectedNodeID; string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId)) if (!string.IsNullOrEmpty(projectId))
@@ -353,6 +353,8 @@ namespace FineUIPro.Web.JGZL
{ {
//创建行 //创建行
Row row = new Row(doc); Row row = new Row(doc);
row.RowFormat.Height = 18;
row.RowFormat.HeightRule = HeightRule.Exactly;
row.Cells.Add(CreateCell((i + 1).ToString(), doc, 27, "", "")); row.Cells.Add(CreateCell((i + 1).ToString(), doc, 27, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["FileCode"].ToString(), doc, 118, "", "")); row.Cells.Add(CreateCell(tb.Rows[i]["FileCode"].ToString(), doc, 118, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["FileName"].ToString(), doc, 261.3, "", "")); row.Cells.Add(CreateCell(tb.Rows[i]["FileName"].ToString(), doc, 261.3, "", ""));
@@ -370,6 +372,8 @@ namespace FineUIPro.Web.JGZL
for (int i = 0; i < needBlankRows - 1; i++) for (int i = 0; i < needBlankRows - 1; i++)
{ {
Row blankRow = new Row(doc); Row blankRow = new Row(doc);
blankRow.RowFormat.Height = 18;
blankRow.RowFormat.HeightRule = HeightRule.Exactly;
// 空白行的单元格宽度和数据行保持一致 // 空白行的单元格宽度和数据行保持一致
blankRow.Cells.Add(CreateCell("", doc, 27, "", "")); blankRow.Cells.Add(CreateCell("", doc, 27, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 118, "", "")); blankRow.Cells.Add(CreateCell("", doc, 118, "", ""));
@@ -431,6 +435,11 @@ namespace FineUIPro.Web.JGZL
//序号 //序号
value = " " + value; value = " " + value;
} }
Run run = new Run(doc, value);
run.Font.Size = 10.5;
run.Font.Name = "楷体";
if (!string.IsNullOrEmpty(cellUnitLeft)) if (!string.IsNullOrEmpty(cellUnitLeft))
{ {
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左 p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
@@ -441,7 +450,7 @@ namespace FineUIPro.Web.JGZL
} }
p.AppendChild(new Run(doc, value)); p.AppendChild(run);
cell.CellFormat.Width = cellWidth; cell.CellFormat.Width = cellWidth;
@@ -42,8 +42,7 @@
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1" <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click"> OnClick="btnSave_Click">
</f:Button> </f:Button>
<%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
<f:Button ID="btnPrint" Text="工业管道安装质量证明书(安装)打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -60,12 +59,6 @@
<f:TextBox ID="txtCertificateCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtCertificateCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items> </Items>
</f:FormRow> </f:FormRow>
<%--<f:FormRow>
<Items>
<f:TextBox ID="txtEngineeringName" runat="server" Label="工程名称" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtEngineeringCode" runat="server" Label="工程编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
@@ -81,43 +74,33 @@
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:DropDownList ID="drpPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="170px" EnableEdit="true"></f:DropDownList> <f:DropDownList ID="drpPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="170px" EnableEdit="true"></f:DropDownList>
<%--<f:DropDownList ID="drpPipelineLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="170px" EnableEdit="true"></f:DropDownList>--%>
<%--<f:TextBox ID="txtPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>--%>
<f:TextBox ID="txtPipelineLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtPipelineLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items> </Items>
</f:FormRow> </f:FormRow>
<%--<f:FormRow>
<Items>
<f:TextBox ID="txtDesignLicenseCode" runat="server" Label="压力管道设计许可证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtQualificationCertificateCode" runat="server" Label="资质证书编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow> <f:FormRow>
<Items> <Items>
<%--<f:TextBox ID="txtInstitutionalApprovalCertificate" runat="server" Label="无损检测机构核准证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>--%>
<f:TextBox ID="txtDesignUnit" runat="server" Label="设计单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtDesignUnit" runat="server" Label="设计单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLosslessTestingAgency" runat="server" Label="无损检测机构" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtLosslessTestingAgency" runat="server" Label="无损检测机构" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items> </Items>
</f:FormRow> </f:FormRow>
<%--<f:FormRow>
<Items>
<f:TextBox ID="txtSupervisoryAndInspectionAgency" runat="server" Label="监理单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtInstallationInspection" runat="server" Label="监检机构" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtInstallationInspection" runat="server" Label="监检机构" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位(使用单位)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位(使用单位)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow ColumnWidths="20% 40% 40%"> <f:FormRow ColumnWidths="10% 90%">
<Items> <Items>
<f:Label ID="lblRemark" runat="server" Text="本工业管道的安装经质量检验,符合"></f:Label> <f:Label ID="Label1" runat="server"></f:Label>
<%--<f:TextBox ID="txtRemark" runat="server"></f:TextBox>--%> <f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和"></f:Label>
<f:DropDownList ID="drpRemark" runat="server" > </Items>
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范"/> </f:FormRow>
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范"/> <f:FormRow ColumnWidths="10% 55% 35%">
<Items>
<f:Label ID="Label2" runat="server"></f:Label>
<f:DropDownList ID="drpRemark" runat="server">
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" />
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" />
</f:DropDownList> </f:DropDownList>
<f:Label ID="lbld" runat="server" Text="的要求。"></f:Label> <f:Label ID="lbld" runat="server" Text="的要求。"></f:Label>
</Items> </Items>
@@ -125,99 +108,18 @@
<f:FormRow> <f:FormRow>
<Items> <Items>
<f:TextBox ID="txtSpecialEquipmentProductionLicenseCode" runat="server" Label="特种设备安装许可证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtSpecialEquipmentProductionLicenseCode" runat="server" Label="特种设备安装许可证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<%--<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="170px" MaxLength="500"></f:TextArea>--%>
</Items> </Items>
</f:FormRow> </f:FormRow>
</Rows> </Rows>
</f:Form> </f:Form>
<%--<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="工业管道安装质量证明书" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="CertificateId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="CertificateId" AllowSorting="true"
SortField="CertificateCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True" AutoScroll="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
<Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
TextAlign="Center" />
<f:RenderField HeaderText="质量证明书编号" ColumnID="CertificateCode" DataField="CertificateCode" SortField="CertificateCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px">
</f:RenderField>
<f:RenderField HeaderText="交工单元名称" ColumnID="DeliveryUnit" DataField="DeliveryUnit" SortField="DeliveryUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="220px">
</f:RenderField>
<f:RenderField HeaderText="交工单元编号" ColumnID="DeliveryUnitCode" DataField="DeliveryUnitCode" SortField="DeliveryUnitCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="120px">
</f:RenderField>
<f:RenderField HeaderText="安装开工日期" ColumnID="InstallStartDate" DataField="InstallStartDate" SortField="InstallStartDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
<f:RenderField HeaderText="安装竣工日期" ColumnID="InstallEndDate" DataField="InstallEndDate" SortField="InstallEndDate"
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
<f:RenderField HeaderText="管道级别" ColumnID="PipelineLevel" DataField="PipelineLevel" SortField="PipelineLevel"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="120px">
</f:RenderField>
<f:RenderField HeaderText="管道长度" ColumnID="PipelineLength" DataField="PipelineLength" SortField="PipelineLength"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="150px">
</f:RenderField>
<f:RenderField HeaderText="设计单位" ColumnID="DesignUnit" DataField="DesignUnit" SortField="DesignUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="150px">
</f:RenderField>
<f:RenderField HeaderText="无损检测机构" ColumnID="LosslessTestingAgency" DataField="LosslessTestingAgency" SortField="LosslessTestingAgency"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="150px">
</f:RenderField>
<f:RenderField HeaderText="监检机构" ColumnID="InstallationInspection" DataField="InstallationInspection" SortField="InstallationInspection"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="150px">
</f:RenderField>
<f:RenderField HeaderText="建设单位(使用单位)" ColumnID="ConstructionUnit" DataField="ConstructionUnit" SortField="ConstructionUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="150px">
</f:RenderField>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
</f:ToolbarText>
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
<f:ListItem Text="10" Value="10" />
<f:ListItem Text="15" Value="15" />
<f:ListItem Text="20" Value="20" />
<f:ListItem Text="25" Value="25" />
</f:DropDownList>
</PageItems>
</f:Grid>--%>
</Items> </Items>
</f:Panel> </f:Panel>
</Items> </Items>
</f:Panel> </f:Panel>
<%--<f:Window ID="Window1" Title="工业管道安装质量证明书" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="900px" Height="600px">
</f:Window>--%>
<f:Window ID="WindowPrint" Title="打印工业管道安装质量证明书(安装)" Hidden="true" EnableIFrame="true" EnableMaximize="false" <f:Window ID="WindowPrint" Title="打印工业管道安装质量证明书(安装)" Hidden="true" EnableIFrame="true" EnableMaximize="false"
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px" Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="600px"> Height="600px">
</f:Window> </f:Window>
<%--<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
runat="server" Text="编辑" Icon="TableEdit">
</f:MenuButton>
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
</f:MenuButton>
</f:Menu>--%>
</form> </form>
<%--<script type="text/javascript">
var menuID = '<%= Menu1.ClientID %>';
// 返回false,来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
F(menuID).show(); //showAt(event.pageX, event.pageY);
return false;
}
</script>--%>
</body> </body>
</html> </html>
@@ -41,8 +41,6 @@ namespace FineUIPro.Web.JGZL
{ {
if (!IsPostBack) if (!IsPostBack)
{ {
//this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
this.drpProjectId.DataTextField = "ProjectCode"; this.drpProjectId.DataTextField = "ProjectCode";
this.drpProjectId.DataValueField = "ProjectId"; this.drpProjectId.DataValueField = "ProjectId";
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1"); this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
@@ -58,12 +56,6 @@ namespace FineUIPro.Web.JGZL
this.drpPipelineLevel.DataValueField = "ISC_IsoName"; this.drpPipelineLevel.DataValueField = "ISC_IsoName";
this.drpPipelineLevel.DataSource = BLL.HJGL_PW_IsoInfoService.GetPipelineLevelList(this.drpProjectId.SelectedValue); this.drpPipelineLevel.DataSource = BLL.HJGL_PW_IsoInfoService.GetPipelineLevelList(this.drpProjectId.SelectedValue);
this.drpPipelineLevel.DataBind(); this.drpPipelineLevel.DataBind();
//管道长度
//this.drpPipelineLength.DataTextField = "PipeLineLength";
//this.drpPipelineLength.DataValueField = "PipeLineLength";
//this.drpPipelineLength.DataSource = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.drpProjectId.SelectedValue);
//this.drpPipelineLength.DataBind();
//this.BindGrid();
PageData(); PageData();
} }
} }
@@ -222,81 +214,11 @@ namespace FineUIPro.Web.JGZL
{ {
if (this.tvControlItem.SelectedNodeID != "0") if (this.tvControlItem.SelectedNodeID != "0")
{ {
//this.BindGrid();
PageData(); PageData();
} }
} }
#endregion #endregion
#region 数据绑定
/// <summary>
/// 数据绑定
/// </summary>
//private void BindGrid()
//{
// //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
// string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationQualityCertificate where 1=1";
// List<SqlParameter> listStr = new List<SqlParameter>();
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
// {
// strSql += " AND ProjectId = @ProjectId";
// listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
// }
// //else
// //{
// // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
// // listStr.Add(new SqlParameter("@ProjectId", projectIds));
// //}
// SqlParameter[] parameter = listStr.ToArray();
// DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
// // 2.获取当前分页数据
// Grid1.RecordCount = tb.Rows.Count;
// //tb = GetFilteredTable(Grid1.FilteredData, tb);
// var table = this.GetPagedDataTable(Grid1, tb);
// Grid1.DataSource = table;
// Grid1.DataBind();
//}
#endregion
#region 分页排序
#region 页索引改变事件
/// <summary>
/// 页索引改变事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
//{
// BindGrid();
//}
#endregion
#region 排序
/// <summary>
/// 排序
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void Grid1_Sort(object sender, GridSortEventArgs e)
//{
// BindGrid();
//}
#endregion
#region 分页选择下拉改变事件
/// <summary>
/// 分页选择下拉改变事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
//{
// Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
// BindGrid();
//}
#endregion
#endregion
#region 查询 #region 查询
///<summary> ///<summary>
///查询 ///查询
@@ -386,7 +308,7 @@ namespace FineUIPro.Web.JGZL
newRow["InstallationInspection"] = report.InstallationInspection; newRow["InstallationInspection"] = report.InstallationInspection;
newRow["ConstructionUnit"] = report.ConstructionUnit; newRow["ConstructionUnit"] = report.ConstructionUnit;
newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode; newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode;
newRow["Remark"] = " 本工业管道的安装经质量检验,符合" + report.Remark + "要求。"; newRow["Remark"] = " 本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和" + report.Remark + "要求。";
dt.Rows.Add(newRow); dt.Rows.Add(newRow);
BLL.Common.FastReportService.AddFastreportTable(dt); BLL.Common.FastReportService.AddFastreportTable(dt);
@@ -415,148 +337,6 @@ namespace FineUIPro.Web.JGZL
} }
#endregion #endregion
#region 维护
/// <summary>
/// 增加
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void btnAdd_Click(object sender, EventArgs e)
//{
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
// {
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("IndustrialPipelineInstallationQualityCertificateEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
// }
// else
// {
// Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
// return;
// }
//}
/// <summary>
/// 双击编辑
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
//{
// if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_IndustrialPipelineInstallationQualityCertificateMenuId, BLL.Const.BtnModify))
// {
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
// {
// if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
// {
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("IndustrialPipelineInstallationQualityCertificateEdit.aspx?certificateId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
// }
// else
// {
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
// return;
// }
// }
// else
// {
// Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
// return;
// }
// }
// else
// {
// ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
// }
//}
/// <summary>
/// 右键编辑
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void btnMenuEdit_Click(object sender, EventArgs e)
//{
// if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_IndustrialPipelineInstallationQualityCertificateMenuId, BLL.Const.BtnModify))
// {
// if (Grid1.SelectedRowIndexArray.Length == 0)
// {
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
// return;
// }
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("IndustrialPipelineInstallationQualityCertificateEdit.aspx?certificateId={0}", Grid1.SelectedRowID, "维护 - ")));
// }
// else
// {
// Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
// }
//}
/// <summary>
/// 右键删除
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
//protected void btnMenuDelete_Click(object sender, EventArgs e)
//{
// if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_IndustrialPipelineInstallationQualityCertificateMenuId, Const.BtnDelete))
// {
// if (Grid1.SelectedRowIndexArray.Length == 0)
// {
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
// return;
// }
// bool isShow = true;
// if (Grid1.SelectedRowIndexArray.Length > 1)
// {
// isShow = false;
// }
// bool isDelete = false;
// foreach (int rowIndex in Grid1.SelectedRowIndexArray)
// {
// string rowID = Grid1.DataKeys[rowIndex][0].ToString();
// if (judgementDelete(rowID, isShow))
// {
// isDelete = true;
// BLL.IndustrialPipelineInstallationQualityCertificateService.DeleteIndustrialPipelineInstallationQualityCertificateById(rowID);
// BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除工业管道安装质量证明书");
// }
// }
// if (isDelete)
// {
// ShowNotify("删除成功!", MessageBoxIcon.Success);
// }
// this.BindGrid();
// }
// else
// {
// Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
// }
//}
#region 判断是否可删除
/// <summary>
/// 判断是否可以删除
/// </summary>
/// <returns></returns>
//private bool judgementDelete(string id, bool isShow)
//{
// string content = string.Empty;
// if (string.IsNullOrEmpty(content))
// {
// return true;
// }
// else
// {
// if (isShow)
// {
// Alert.ShowInTop(content, MessageBoxIcon.Error);
// }
// return false;
// }
//}
#endregion
#endregion
#region 关闭弹出窗口及刷新页面 #region 关闭弹出窗口及刷新页面
/// <summary> /// <summary>
/// 关闭弹出窗口 /// 关闭弹出窗口
@@ -709,19 +489,28 @@ namespace FineUIPro.Web.JGZL
} }
Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"]; Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"];
if (pipelineLevel != null) if (pipelineLevel != null)
{
if (report.PipelineLevel != null)
{ {
pipelineLevel.Text = report.PipelineLevel; pipelineLevel.Text = report.PipelineLevel;
} }
}
Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"]; Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"];
if (pipelineLength != null) if (pipelineLength != null)
{
if (report.PipelineLength != null)
{ {
pipelineLength.Text = report.PipelineLength; pipelineLength.Text = report.PipelineLength;
} }
}
Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"]; Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"];
if (designUnit != null) if (designUnit != null)
{
if (report.DesignUnit != null)
{ {
designUnit.Text = report.DesignUnit; designUnit.Text = report.DesignUnit;
} }
}
Bookmark losslessTestingAgency = doc.Range.Bookmarks["LosslessTestingAgency"]; Bookmark losslessTestingAgency = doc.Range.Bookmarks["LosslessTestingAgency"];
if (losslessTestingAgency != null) if (losslessTestingAgency != null)
{ {
@@ -239,6 +239,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtConstructionUnit; protected global::FineUIPro.TextBox txtConstructionUnit;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary> /// <summary>
/// lblRemark 控件。 /// lblRemark 控件。
/// </summary> /// </summary>
@@ -248,6 +257,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Label lblRemark; protected global::FineUIPro.Label lblRemark;
/// <summary>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary> /// <summary>
/// drpRemark 控件。 /// drpRemark 控件。
/// </summary> /// </summary>
@@ -42,7 +42,7 @@
</f:ToolbarFill> </f:ToolbarFill>
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button> <f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
<f:Button ID="btnSave" Text="保存" ToolTip="保存" Icon="SystemSave" runat="server" OnClick="btnSave_Click"></f:Button> <f:Button ID="btnSave" Text="保存" ToolTip="保存" Icon="SystemSave" runat="server" OnClick="btnSave_Click"></f:Button>
<f:Button ID="btnPrint" Text="工业管道安装汇总表(安装)打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -1,6 +1,7 @@
using Aspose.Words; using Aspose.Words;
using Aspose.Words.Tables; using Aspose.Words.Tables;
using BLL; using BLL;
using FineUIPro.Web.common.BaseInfo;
using Model; using Model;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using NPOI.SS.Formula.Functions; using NPOI.SS.Formula.Functions;
@@ -146,7 +147,7 @@ namespace FineUIPro.Web.JGZL
var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault(); var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault();
if (jointInfo != null) if (jointInfo != null)
{ {
newSummary.Specifications = jointInfo.JOT_JointDesc; newSummary.Specifications = HttpUtility.HtmlDecode(jointInfo.JOT_JointDesc);
} }
newSummary.Length = item.PipeLineLength.HasValue ? item.PipeLineLength.Value.ToString("#.00") : ""; newSummary.Length = item.PipeLineLength.HasValue ? item.PipeLineLength.Value.ToString("#.00") : "";
newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString(); newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString();
@@ -392,16 +393,26 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
int i = 0; int i = 0;
foreach (var row in rows) foreach (var row in rows)
{ {
string pipeLineClass = string.Empty;
string isoNo = row["PipelineCode"].ToString();
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoNo(isoNo, projectId);
if (isoInfo != null)
{
if (!string.IsNullOrEmpty(isoInfo.PipeLineClass) && isoInfo.PipeLineClass != "/")
{
pipeLineClass = isoInfo.PipeLineClass + "/";
}
}
var newRow = dt.NewRow(); var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString(); newRow["Num"] = (i + 1).ToString();
newRow["PipelineCode"] = row["PipelineCode"].ToString(); newRow["PipelineCode"] = isoNo;
newRow["PipelineLevel"] = row["PipelineLevel"].ToString(); newRow["PipelineLevel"] = pipeLineClass + row["PipelineLevel"].ToString();
newRow["DesignPressure"] = row["DesignPressure"].ToString(); newRow["DesignPressure"] = row["DesignPressure"].ToString();
newRow["DesignTemperature"] = row["DesignTemperature"].ToString(); newRow["DesignTemperature"] = row["DesignTemperature"].ToString();
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString(); newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString();
newRow["Medium"] = row["Medium"].ToString(); newRow["Medium"] = row["Medium"].ToString();
newRow["Material"] = row["Material"].ToString(); newRow["Material"] = row["Material"].ToString();
newRow["Specifications"] = row["Specifications"].ToString(); newRow["Specifications"] = HttpUtility.HtmlDecode(row["Specifications"].ToString());
newRow["Length"] = row["Length"].ToString(); newRow["Length"] = row["Length"].ToString();
newRow["LayingMethod"] = row["LayingMethod"].ToString(); newRow["LayingMethod"] = row["LayingMethod"].ToString();
newRow["WeldsNum"] = row["WeldsNum"].ToString(); newRow["WeldsNum"] = row["WeldsNum"].ToString();
@@ -621,7 +632,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
DesignTemperature = values.Value<string>("DesignTemperature"), DesignTemperature = values.Value<string>("DesignTemperature"),
Medium = values.Value<string>("Medium"), Medium = values.Value<string>("Medium"),
Material = values.Value<string>("Material"), Material = values.Value<string>("Material"),
Specifications = values.Value<string>("Specifications"), Specifications = HttpUtility.HtmlDecode(values.Value<string>("Specifications").Replace('×', 'x')),
Length = values.Value<string>("Length"), Length = values.Value<string>("Length"),
LayingMethod = values.Value<string>("LayingMethod"), LayingMethod = values.Value<string>("LayingMethod"),
WeldsNum = values.Value<string>("WeldsNum"), WeldsNum = values.Value<string>("WeldsNum"),
@@ -661,48 +672,44 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
protected void btnOut_Click(object sender, EventArgs e) protected void btnOut_Click(object sender, EventArgs e)
{ {
string rootPath = Server.MapPath("~/"); string rootPath = Server.MapPath("~/");
string initTemplatePath = string.Empty; string initTemplatePath = Const.JGZL_IndustrialPipelineInstallationSummaryUrl;
string uploadfilepath = string.Empty; string templateFullPath = Path.Combine(rootPath, initTemplatePath);
string newUrl = string.Empty; string saveTempPath = templateFullPath.Replace("工业管道安装汇总表导出模板", "工业管道安装汇总表(安装)");
string filePath = string.Empty; int dataRowsPerPage = 5; //每页明细数据行数
string projectId = tvControlItem.SelectedNodeID;
//每页显示的固定数据行数 if (string.IsNullOrEmpty(projectId))
int rowsPerPage = 4;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{ {
string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary where ProjectId = @ProjectId and FromType='1'"; Alert.ShowInTop("请先选择项目!");
List<SqlParameter> listStr = new List<SqlParameter>(); return;
listStr.Add(new SqlParameter("@ProjectId", projectId));
if (!string.IsNullOrEmpty(this.txtIsoNoS.Text))
{
strSql += " And PipelineCode like @pipeLineCode";
listStr.Add(new SqlParameter("@pipeLineCode", "%" + this.txtIsoNoS.Text + "%"));
} }
SqlParameter[] parameter = listStr.ToArray(); string sql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); WHERE ProjectId = @ProjectId AND FromType='1'";
if (tb.Rows.Count > 0) List<SqlParameter> paras = new List<SqlParameter>();
paras.Add(new SqlParameter("@ProjectId", projectId));
DataTable tb = SQLHelper.GetDataTableRunText(sql, paras.ToArray());
if (tb == null || tb.Rows.Count <= 0)
{ {
initTemplatePath = Const.JGZL_IndustrialPipelineInstallationSummaryUrl; Alert.ShowInTop("当前没有可导出的数据!");
uploadfilepath = rootPath + initTemplatePath; return;
newUrl = uploadfilepath.Replace("工业管道安装汇总表导出模板", "工业管道安装汇总表(安装)");
if (File.Exists(newUrl))
{
File.Delete(newUrl);
} }
File.Copy(uploadfilepath, newUrl); //复制模板
//更新书签内容 if (File.Exists(saveTempPath))
Document doc = new Aspose.Words.Document(newUrl); {
File.Delete(saveTempPath);
}
File.Copy(templateFullPath, saveTempPath);
Document doc = new Document(saveTempPath);
DocumentBuilder builder = new DocumentBuilder(doc); DocumentBuilder builder = new DocumentBuilder(doc);
Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true); Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);
if (table == null)
{
Alert.ShowInTop("导出模板异常,未找到汇总主表格!");
return;
}
string certificateCode = string.Empty; string certificateCode = string.Empty;
string deliveryUnit = string.Empty; string deliveryUnit = string.Empty;
string deliveryUnitCode = string.Empty; string deliveryUnitCode = string.Empty;
string certificateId = tb.Rows[0]["CertificateId"].ToString(); string certificateId = tb.Rows[0]["CertificateId"] == DBNull.Value ? "" : tb.Rows[0]["CertificateId"].ToString();
var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(certificateId); var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(certificateId);
if (certificate != null) if (certificate != null)
{ {
@@ -710,72 +717,211 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
deliveryUnit = certificate.DeliveryUnit; deliveryUnit = certificate.DeliveryUnit;
deliveryUnitCode = certificate.DeliveryUnitCode; deliveryUnitCode = certificate.DeliveryUnitCode;
} }
//书签赋值交工单元
Bookmark bookmark1 = doc.Range.Bookmarks["certificateCode"]; Bookmark bookmark1 = doc.Range.Bookmarks["certificateCode"];
if (bookmark1 != null) if (bookmark1 != null) bookmark1.Text = certificateCode;
{
bookmark1.Text = certificateCode;
}
Bookmark bookmark2 = doc.Range.Bookmarks["deliveryUnit"]; Bookmark bookmark2 = doc.Range.Bookmarks["deliveryUnit"];
if (bookmark2 != null) if (bookmark2 != null) bookmark2.Text = deliveryUnit;
{
bookmark2.Text = deliveryUnit;
}
Bookmark bookmark3 = doc.Range.Bookmarks["deliveryUnitCode"]; Bookmark bookmark3 = doc.Range.Bookmarks["deliveryUnitCode"];
if (bookmark3 != null) if (bookmark3 != null) bookmark3.Text = deliveryUnitCode;
// 关闭HeadingFormat,全部走手动克隆表头
table.Rows[0].RowFormat.HeadingFormat = false;
table.Rows[1].RowFormat.HeadingFormat = false;
table.Rows[2].RowFormat.HeadingFormat = false;
//克隆表格内表头行
Aspose.Words.Tables.Row deliveryUnitRow = (Aspose.Words.Tables.Row)table.Rows[0].Clone(true); //交工单元行,仅首页
Aspose.Words.Tables.Row headerRow1 = (Aspose.Words.Tables.Row)table.Rows[1].Clone(true);
Aspose.Words.Tables.Row headerRow2 = (Aspose.Words.Tables.Row)table.Rows[2].Clone(true);
// 清理模板预留空行;保留 Row0(交工单元)、Row1、Row2(列表头)
while (table.Rows.Count > 3)
{ {
bookmark3.Text = deliveryUnitCode; table.Rows.RemoveAt(3);
}
int totalCount = tb.Rows.Count;
int pageRowCounter = 0;
for (int i = 0; i < totalCount; i++)
{
DataRow dr = tb.Rows[i];
Aspose.Words.Tables.Row dataRow = BuildDataRow(dr, doc);
table.Rows.Add(dataRow);
pageRowCounter++;
// 判断:本页已满,并且不是最后一条记录
if (pageRowCounter >= dataRowsPerPage && i != totalCount - 1)
{
//补本页空白行
int blankNeed = dataRowsPerPage - pageRowCounter;
for (int b = 0; b < blankNeed; b++)
{
table.Rows.Add(BuildBlankRow(doc));
}
// 1. 定位到当前表格之后,输出本页底部页码
if (table.NextSibling == null)
{
Paragraph paraAfter = new Paragraph(doc);
table.ParentNode.InsertAfter(paraAfter, table);
}
builder.MoveTo(table.NextSibling);
builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;
builder.Font.Name = "宋体";
builder.Font.Size = 10.5;
builder.Write("共 ");
builder.InsertField(@"NUMPAGES", "");
builder.Write(" 页 第 ");
builder.InsertField(@"PAGE", "");
builder.Write(" 页");
//保存当前节点(页码段落),后续DOM在它后面追加内容
Node currentParaNode = builder.CurrentParagraph;
//插入分页符(写在当前页码段落末尾)
builder.InsertBreak(BreakType.PageBreak);
//==== DOM方式新建【续页:大标题 + 质量证明书编号】====
//续页主标题:工业管道安装汇总表
Paragraph titlePara = new Paragraph(doc);
titlePara.ParagraphFormat.Alignment = ParagraphAlignment.Center;
Run titleRun = new Run(doc, "工业管道安装汇总表");
titleRun.Font.Name = "宋体";
titleRun.Font.Size = 16;
titleRun.Font.Bold = true;
titlePara.Runs.Add(titleRun);
Paragraph certPara = new Paragraph(doc);
certPara.ParagraphFormat.Alignment = ParagraphAlignment.Left;
Run certRun = new Run(doc, "质量证明书编号:" + certificateCode);
certRun.Font.Name = "宋体";
certRun.Font.Size = 10.5;
certPara.Runs.Add(certRun);
//新建空段落用来做间隔
Paragraph emptyPara = new Paragraph(doc);
//新建续页表格:先加行,再设置格式
Aspose.Words.Tables.Table newPageTable = new Aspose.Words.Tables.Table(doc);
newPageTable.Rows.Add((Aspose.Words.Tables.Row)headerRow1.Clone(true));
newPageTable.Rows.Add((Aspose.Words.Tables.Row)headerRow2.Clone(true));
newPageTable.Alignment = TableAlignment.Center;
newPageTable.AutoFit(AutoFitBehavior.FixedColumnWidths);
//【DOM链式向后插入:页码段落 → 分页符 → 大标题 →证书编号 →空行 →表格】
currentParaNode.ParentNode.InsertAfter(titlePara, currentParaNode);
currentParaNode.ParentNode.InsertAfter(certPara, titlePara);
currentParaNode.ParentNode.InsertAfter(emptyPara, certPara);
currentParaNode.ParentNode.InsertAfter(newPageTable, emptyPara);
//替换table引用,后续数据写入这个新表格
table = newPageTable;
pageRowCounter = 0;
}
}
//处理最后一页剩余数据,补齐空白行
int remain = totalCount % dataRowsPerPage;
int lastBlankRows = remain == 0 ? 0 : dataRowsPerPage - remain;
for (int b = 0; b < lastBlankRows; b++)
{
table.Rows.Add(BuildBlankRow(doc));
} }
// 设置表头行重复显示 // ========== 先插入填表审核签字行(表格之后,页码之前)==========
table.Rows[0].RowFormat.HeadingFormat = true; if (table.NextSibling == null)
table.Rows[1].RowFormat.HeadingFormat = true; {
table.Rows[2].RowFormat.HeadingFormat = true; Paragraph paraAfter = new Paragraph(doc);
table.ParentNode.InsertAfter(paraAfter, table);
// 先记录页尾行,并从表格中移除 }
//Row footerRow = table.Rows[table.Rows.Count - 1]; builder.MoveTo(table.NextSibling);
//table.Rows.RemoveAt(table.Rows.Count - 1); builder.InsertParagraph();
builder.ParagraphFormat.Alignment = ParagraphAlignment.Left;
for (int i = 0; i < tb.Rows.Count; i++) builder.Font.Name = "宋体";
builder.Font.Size = 10.5;
builder.Write(" 填表: 日期: 审核: 日期:");
// ========== 再输出页码(签字行的下方)==========
builder.InsertParagraph();
builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;
builder.Font.Name = "宋体";
builder.Font.Size = 10.5;
builder.Write("共 ");
builder.InsertField(@"NUMPAGES", "");
builder.Write(" 页 第 ");
builder.InsertField(@"PAGE", "");
builder.Write(" 页");
doc.UpdatePageLayout();
doc.UpdateFields();
doc.Save(saveTempPath);
//下载
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment;filename=" + HttpUtility.UrlEncode("工业管道安装汇总表.doc"));
Response.TransmitFile(saveTempPath);
Response.Flush();
Response.End();
File.Delete(saveTempPath);
}
/// <summary>构建明细数据行</summary>
private Aspose.Words.Tables.Row BuildDataRow(DataRow dr, Document doc)
{ {
//创建行
Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc); Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineCode"].ToString(), doc, 32.3, "", "")); row.RowFormat.Height = 47;
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineLevel"].ToString(), doc, 33.7, "", "")); row.RowFormat.HeightRule = HeightRule.Exactly;
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineStartPoint"].ToString(), doc, 31.75, "", "")); string GetCellValue(object obj)
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineEndPoint"].ToString(), doc, 32, "", "")); {
row.Cells.Add(CreateCell(tb.Rows[i]["DesignPressure"].ToString(), doc, 40, "", "")); if (obj == DBNull.Value) return "";
row.Cells.Add(CreateCell(tb.Rows[i]["DesignTemperature"].ToString(), doc, 36, "", "")); return obj.ToString().Replace("\r", "").Replace("\n", "").Trim();
row.Cells.Add(CreateCell(tb.Rows[i]["Medium"].ToString(), doc, 30.6, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Material"].ToString(), doc, 31.47, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Specifications"].ToString(), doc, 32.3, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["Length"].ToString(), doc, 30, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["LayingMethod"].ToString(), doc, 31.49, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["WeldsNum"].ToString(), doc, 30, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["LosslessRatio"].ToString(), doc, 39, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestMethod"].ToString(), doc, 32.3, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestMedium"].ToString(), doc, 28.6, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestPressure"].ToString(), doc, 38, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestMedium"].ToString(), doc, 37.4, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestPressure"].ToString(), doc, 41.67, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["CleaningMethod"].ToString(), doc, 34.3, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["CorrosionControlMethod"].ToString(), doc, 31.2, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["InsulationMethod"].ToString(), doc, 43.9, "", ""));
table.Rows.Insert(i + 3, row);
} }
// 计算并插入空白行,填满整页
// 计算总数据行数
int totalDataRows = tb.Rows.Count;
// 计算需要补充的空白行数量
int remainder = totalDataRows % rowsPerPage;
int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
// 插入空白行(和数据行格式保持一致,仅内容为空) string pipeLineClass = string.Empty;
for (int i = 0; i < needBlankRows - 1; i++) string isoNo = dr["PipelineCode"].ToString();
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoNo(isoNo, this.tvControlItem.SelectedNodeID);
if (isoInfo != null)
{
if (!string.IsNullOrEmpty(isoInfo.PipeLineClass) && isoInfo.PipeLineClass != "/")
{
pipeLineClass = isoInfo.PipeLineClass + "/";
}
}
string pipeCode = GetCellValue(dr["PipelineCode"]);
string pipeLevel = GetCellValue(pipeLineClass + dr["PipelineLevel"]);
string startPoint = GetCellValue(dr["PipelineStartPoint"]);
string endPoint = GetCellValue(dr["PipelineEndPoint"]);
string desPressure = TrimEndZero(dr["DesignPressure"]);
string desTemp = TrimEndZero(dr["DesignTemperature"]);
string medium = GetCellValue(dr["Medium"]);
string material = GetCellValue(dr["Material"]);
string spec = HttpUtility.HtmlDecode(GetCellValue(dr["Specifications"]));
string length = TrimEndZero(dr["Length"]);
string layMethod = GetCellValue(dr["LayingMethod"]);
string weldNum = GetCellValue(dr["WeldsNum"]);
string losslessRatio = GetCellValue(dr["LosslessRatio"]);
string pressTestMethod = GetCellValue(dr["VoltageResistantTestMethod"]);
string pressTestMedium = GetCellValue(dr["VoltageResistantTestMedium"]);
string pressTestPressure = GetCellValue(dr["VoltageResistantTestPressure"]);
string leakMedium = GetCellValue(dr["LeakageTestMedium"]);
string leakPressure = GetCellValue(dr["LeakageTestPressure"]);
string cleanMethod = GetCellValue(dr["CleaningMethod"]);
string corrosion = GetCellValue(dr["CorrosionControlMethod"]);
string insulation = GetCellValue(dr["InsulationMethod"]);
row.Cells.Add(CreateCell(pipeCode, doc, 32.3, "", "c"));
row.Cells.Add(CreateCell(pipeLevel, doc, 33.7, "", "c"));
row.Cells.Add(CreateCell(startPoint, doc, 31.75, "", "c"));
row.Cells.Add(CreateCell(endPoint, doc, 32, "", "c"));
row.Cells.Add(CreateCell(desPressure, doc, 40, "", "c"));
row.Cells.Add(CreateCell(desTemp, doc, 36, "", "c"));
row.Cells.Add(CreateCell(medium, doc, 30.6, "", "c"));
row.Cells.Add(CreateCell(material, doc, 31.47, "", "c"));
row.Cells.Add(CreateCell(spec, doc, 32.3, "", "c"));
row.Cells.Add(CreateCell(length, doc, 30, "", "c"));
row.Cells.Add(CreateCell(layMethod, doc, 31.49, "", "c"));
row.Cells.Add(CreateCell(weldNum, doc, 30, "", "c"));
row.Cells.Add(CreateCell(losslessRatio, doc, 39, "", "c"));
row.Cells.Add(CreateCell(pressTestMethod, doc, 32.3, "", "c"));
row.Cells.Add(CreateCell(pressTestMedium, doc, 28.6, "", "c"));
row.Cells.Add(CreateCell(pressTestPressure, doc, 38, "", "c"));
row.Cells.Add(CreateCell(leakMedium, doc, 37.4, "", "c"));
row.Cells.Add(CreateCell(leakPressure, doc, 41.67, "", "c"));
row.Cells.Add(CreateCell(cleanMethod, doc, 34.3, "", "c"));
row.Cells.Add(CreateCell(corrosion, doc, 31.2, "", "c"));
row.Cells.Add(CreateCell(insulation, doc, 43.9, "", "c"));
return row;
}
/// <summary>空白补行</summary>
private Aspose.Words.Tables.Row BuildBlankRow(Document doc)
{ {
Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc); Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
// 空白行的单元格宽度和数据行保持一致 blankRow.RowFormat.Height = 47;
blankRow.RowFormat.HeightRule = HeightRule.Exactly;
blankRow.Cells.Add(CreateCell("", doc, 32.3, "", "")); blankRow.Cells.Add(CreateCell("", doc, 32.3, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 33.7, "", "")); blankRow.Cells.Add(CreateCell("", doc, 33.7, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 31.75, "", "")); blankRow.Cells.Add(CreateCell("", doc, 31.75, "", ""));
@@ -797,91 +943,58 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
blankRow.Cells.Add(CreateCell("", doc, 34.3, "", "")); blankRow.Cells.Add(CreateCell("", doc, 34.3, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 31.2, "", "")); blankRow.Cells.Add(CreateCell("", doc, 31.2, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 43.9, "", "")); blankRow.Cells.Add(CreateCell("", doc, 43.9, "", ""));
return blankRow;
// 插入到表格最后一行
table.Rows.Add(blankRow);
} }
//把页尾行重新加回表格最后 private Aspose.Words.Tables.Cell CreateCell(string text, Document doc, double width, string mergeDir = "", string vertAlign = "")
//table.Rows.Add(footerRow);
//自动设置表格样式
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
table.Alignment = TableAlignment.Center;
doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize);
Response.Flush();
Response.Close();
File.Delete(newUrl);
}
else
{ {
Alert.ShowInTop("没有要导出的数据!", MessageBoxIcon.Warning); Aspose.Words.Tables.Cell cell = new Aspose.Words.Tables.Cell(doc);
return; cell.CellFormat.Width = width;
}
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "") //单元格内边距,让文字贴近边框
{ cell.CellFormat.TopPadding = 1.5;
Cell cell = new Cell(doc); cell.CellFormat.BottomPadding = 1.5;
Paragraph p = new Paragraph(doc); cell.CellFormat.LeftPadding = 1.5;
if (!string.IsNullOrEmpty(cellMerge)) cell.CellFormat.RightPadding = 1.5;
{
if (cellMerge == "0")
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;//竖直方向合并的第一个单元格
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的第一个单元格
}
} Paragraph para = new Paragraph(doc);
else Run run = new Run(doc, text);
{ run.Font.Name = "楷体";
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None; run.Font.Size = 8;
} para.Runs.Add(run);
if (!string.IsNullOrEmpty(CenterPage))
{
//序号
value = " " + value;
}
if (!string.IsNullOrEmpty(cellUnitLeft))
{
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
}
else
{
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
}
//清除段落自带空白
para.ParagraphFormat.SpaceBefore = 0;
para.ParagraphFormat.SpaceAfter = 0;
para.ParagraphFormat.LineSpacingRule = LineSpacingRule.AtLeast;
para.ParagraphFormat.LineSpacing = 8;
p.AppendChild(new Run(doc, value)); para.ParagraphFormat.Alignment = ParagraphAlignment.Center;
cell.Paragraphs.Add(para);
cell.CellFormat.Width = cellWidth; if (!string.IsNullOrEmpty(vertAlign))
cell.CellFormat.VerticalAlignment = CellVerticalAlignment.Center;
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center; if (mergeDir == "hStart")
cell.CellFormat.HorizontalMerge = CellMerge.First;
cell.CellFormat.Borders.LineWidth = 0.75; else if (mergeDir == "hContinue")
cell.CellFormat.HorizontalMerge = CellMerge.Previous;
cell.AppendChild(p);
return cell; return cell;
} }
/// <summary>
/// 去掉小数末尾无效0
/// </summary>
public static string TrimEndZero(object val)
{
if (val == null || val == DBNull.Value)
return "";
string s = val.ToString().Trim();
if (!decimal.TryParse(s, out decimal num))
return s; // 不是数字原样返回
// 转成字符串自动去除末尾0,.NET decimal.ToString()会自动处理
return num.ToString("G29");
}
#endregion #endregion
} }
} }
@@ -42,7 +42,7 @@
</f:ToolbarFill> </f:ToolbarFill>
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button> <f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
<f:Button ID="btnSave" Text="保存" ToolTip="保存" Icon="SystemSave" runat="server" OnClick="btnSave_Click"></f:Button> <f:Button ID="btnSave" Text="保存" ToolTip="保存" Icon="SystemSave" runat="server" OnClick="btnSave_Click"></f:Button>
<f:Button ID="btnPrint" Text="工业管道安装汇总表(2020版)打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -1,7 +1,9 @@
using Aspose.Words; using Aspose.Words;
using Aspose.Words.Layout;
using Aspose.Words.Tables; using Aspose.Words.Tables;
using BLL; using BLL;
using FastReport.Table; using FastReport.Table;
using FineUIPro.Web.HJGLServer.BaseInfo;
using Model; using Model;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using NPOI.SS.Formula.Functions; using NPOI.SS.Formula.Functions;
@@ -17,6 +19,8 @@ using System.Web.Services;
using System.Web.UI; using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
using static System.Windows.Forms.VisualStyles.VisualStyleElement; using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using Row = Aspose.Words.Tables.Row;
using Table = Aspose.Words.Tables.Table;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@@ -147,7 +151,7 @@ namespace FineUIPro.Web.JGZL
var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault(); var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault();
if (jointInfo != null) if (jointInfo != null)
{ {
newSummary.Specifications = jointInfo.JOT_JointDesc; newSummary.Specifications = HttpUtility.HtmlDecode(jointInfo.JOT_JointDesc);
} }
newSummary.Length = item.PipeLineLength.HasValue ? item.PipeLineLength.Value.ToString("#.00") : ""; newSummary.Length = item.PipeLineLength.HasValue ? item.PipeLineLength.Value.ToString("#.00") : "";
newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString(); newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString();
@@ -392,16 +396,26 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
int i = 0; int i = 0;
foreach (var row in rows) foreach (var row in rows)
{ {
string pipeLineClass = string.Empty;
string isoNo = row["PipelineCode"].ToString();
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoNo(isoNo, this.tvControlItem.SelectedNodeID);
if (isoInfo != null)
{
if (!string.IsNullOrEmpty(isoInfo.PipeLineClass) && isoInfo.PipeLineClass != "/")
{
pipeLineClass = isoInfo.PipeLineClass + "/";
}
}
var newRow = dt.NewRow(); var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString(); newRow["Num"] = (i + 1).ToString();
newRow["PipelineCode"] = row["PipelineCode"].ToString(); newRow["PipelineCode"] = isoNo;
newRow["PipelineLevel"] = row["PipelineLevel"].ToString(); newRow["PipelineLevel"] = pipeLineClass + row["PipelineLevel"].ToString();
newRow["DesignPressure"] = row["DesignPressure"].ToString(); newRow["DesignPressure"] = row["DesignPressure"].ToString();
newRow["DesignTemperature"] = row["DesignTemperature"].ToString(); newRow["DesignTemperature"] = row["DesignTemperature"].ToString();
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString(); newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString();
newRow["Medium"] = row["Medium"].ToString(); newRow["Medium"] = row["Medium"].ToString();
newRow["Material"] = row["Material"].ToString(); newRow["Material"] = row["Material"].ToString();
newRow["Specifications"] = row["Specifications"].ToString(); newRow["Specifications"] = HttpUtility.HtmlDecode(row["Specifications"].ToString());
newRow["Length"] = row["Length"].ToString(); newRow["Length"] = row["Length"].ToString();
newRow["LayingMethod"] = row["LayingMethod"].ToString(); newRow["LayingMethod"] = row["LayingMethod"].ToString();
newRow["WeldsNum"] = row["WeldsNum"].ToString(); newRow["WeldsNum"] = row["WeldsNum"].ToString();
@@ -622,7 +636,7 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
OperatingTemperature = values.Value<string>("OperatingTemperature"), OperatingTemperature = values.Value<string>("OperatingTemperature"),
Medium = values.Value<string>("Medium"), Medium = values.Value<string>("Medium"),
Material = values.Value<string>("Material"), Material = values.Value<string>("Material"),
Specifications = values.Value<string>("Specifications"), Specifications = HttpUtility.HtmlDecode(values.Value<string>("Specifications").Replace('×', 'x')),
Length = values.Value<string>("Length"), Length = values.Value<string>("Length"),
LayingMethod = values.Value<string>("LayingMethod"), LayingMethod = values.Value<string>("LayingMethod"),
WeldsNum = values.Value<string>("WeldsNum"), WeldsNum = values.Value<string>("WeldsNum"),
@@ -656,6 +670,255 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
} }
#endregion #endregion
//#region 导出按钮
///// 导出按钮
///// </summary>
///// <param name="sender"></param>
///// <param name="e"></param>
//protected void btnOut_Click(object sender, EventArgs e)
//{
// string rootPath = Server.MapPath("~/");
// string initTemplatePath = string.Empty;
// string uploadfilepath = string.Empty;
// string newUrl = string.Empty;
// string filePath = string.Empty;
// //每页显示的固定数据行数
// int rowsPerPage = 8;
// string projectId = this.tvControlItem.SelectedNodeID;
// if (!string.IsNullOrEmpty(projectId))
// {
// string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary where ProjectId = @ProjectId and FromType='2'";
// List<SqlParameter> listStr = new List<SqlParameter>();
// listStr.Add(new SqlParameter("@ProjectId", projectId));
// if (!string.IsNullOrEmpty(this.txtIsoNoS.Text))
// {
// strSql += " And PipelineCode like @pipeLineCode";
// listStr.Add(new SqlParameter("@pipeLineCode", "%" + this.txtIsoNoS.Text + "%"));
// }
// SqlParameter[] parameter = listStr.ToArray();
// DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
// if (tb.Rows.Count > 0)
// {
// initTemplatePath = Const.JGZL_IndustrialPipelineInstallationSummary2020Url;
// uploadfilepath = rootPath + initTemplatePath;
// newUrl = uploadfilepath.Replace("工业管道安装汇总表2020导出模板", "压力管道安装汇总表(2020版)");
// if (File.Exists(newUrl))
// {
// File.Delete(newUrl);
// }
// File.Copy(uploadfilepath, newUrl);
// //更新书签内容
// Document doc = new Aspose.Words.Document(newUrl);
// DocumentBuilder builder = new DocumentBuilder(doc);
// Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);
// string certificateCode = string.Empty;
// string deliveryUnit = string.Empty;
// string deliveryUnitCode = string.Empty;
// string certificateId = tb.Rows[0]["CertificateId"].ToString();
// var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(certificateId);
// if (certificate != null)
// {
// certificateCode = certificate.CertificateCode;
// deliveryUnit = certificate.DeliveryUnit;
// deliveryUnitCode = certificate.DeliveryUnitCode;
// }
// Bookmark bookmark1 = doc.Range.Bookmarks["certificateCode"];
// if (bookmark1 != null)
// {
// bookmark1.Text = certificateCode;
// }
// Bookmark bookmark2 = doc.Range.Bookmarks["deliveryUnit"];
// if (bookmark2 != null)
// {
// bookmark2.Text = deliveryUnit;
// }
// Bookmark bookmark3 = doc.Range.Bookmarks["deliveryUnitCode"];
// if (bookmark3 != null)
// {
// bookmark3.Text = deliveryUnitCode;
// }
// // 设置表头行重复显示
// table.Rows[0].RowFormat.HeadingFormat = true;
// table.Rows[1].RowFormat.HeadingFormat = true;
// table.Rows[2].RowFormat.HeadingFormat = true;
// // ====固定表格布局=====
// table.AutoFit(AutoFitBehavior.FixedColumnWidths);
// table.AllowAutoFit = false;
// table.Alignment = TableAlignment.Center;
// // 先记录页尾行,并从表格中移除
// //Row footerRow = table.Rows[table.Rows.Count - 1];
// //table.Rows.RemoveAt(table.Rows.Count - 1);
// for (int i = 0; i < tb.Rows.Count; i++)
// {
// //创建行
// Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
// row.Cells.Add(CreateCell((i + 1).ToString(), doc, 22.68, "", ""));//序号
// row.Cells.Add(CreateCell(tb.Rows[i]["PipelineCode"].ToString(), doc, 65.49, "", ""));//单线号
// row.Cells.Add(CreateCell(tb.Rows[i]["PipelineLevel"].ToString(), doc, 37.14, "", ""));//管道级别
// row.Cells.Add(CreateCell(tb.Rows[i]["DesignPressure"].ToString(), doc, 27.78, "", ""));//设计压力
// row.Cells.Add(CreateCell(tb.Rows[i]["DesignTemperature"].ToString(), doc, 28.06, "", ""));//设计温度
// row.Cells.Add(CreateCell(tb.Rows[i]["OperatingTemperature"].ToString(), doc, 28, "", ""));//操作温度
// row.Cells.Add(CreateCell(tb.Rows[i]["Medium"].ToString(), doc, 34.87, "", ""));//输送介质
// row.Cells.Add(CreateCell(tb.Rows[i]["Material"].ToString(), doc, 43.66, "", ""));//管道材质牌号及标准
// row.Cells.Add(CreateCell(HttpUtility.HtmlDecode(tb.Rows[i]["Specifications"].ToString()), doc, 59.82, "", ""));//管道规格(外径×壁厚mm)
// row.Cells.Add(CreateCell(tb.Rows[i]["Length"].ToString(), doc, 34.58, "", ""));//管道长度(m)
// row.Cells.Add(CreateCell(tb.Rows[i]["LayingMethod"].ToString(), doc, 33.74, "", ""));//铺设方式
// row.Cells.Add(CreateCell(tb.Rows[i]["WeldsNum"].ToString(), doc, 27, "", ""));//焊口数量
// row.Cells.Add(CreateCell(tb.Rows[i]["LosslessRatio"].ToString(), doc, 45.93, "", ""));//检测方法/比例(%)
// row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestMedium"].ToString(), doc, 37.14, "", ""));//压力试验-介质
// row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestPressure"].ToString(), doc, 30.62, "", ""));//压力试验-压力
// row.Cells.Add(CreateCell(string.Format("{0:yyyy.MM.dd}", tb.Rows[i]["VoltageResistantTestDate"]), doc, 48.76, "", ""));//压力试验-日期
// row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestMedium"].ToString(), doc, 25.23, "", ""));//泄漏性试验-介质
// row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestPressure"].ToString(), doc, 28.92, "", ""));//泄漏性试验-压力
// row.Cells.Add(CreateCell(string.Format("{0:yyyy.MM.dd}", tb.Rows[i]["LeakageTestDate"]), doc, 48.76, "", ""));//泄漏性试验-日期
// row.Cells.Add(CreateCell(tb.Rows[i]["CleaningMethod"].ToString(), doc, 26.08, "", ""));//吹洗方法
// row.Cells.Add(CreateCell(tb.Rows[i]["CorrosionControlMethod"].ToString(), doc, 56.7, "", ""));//防腐方式
// row.Cells.Add(CreateCell(tb.Rows[i]["InsulationMethod"].ToString(), doc, 22.11, "", ""));//保温(绝热)方式
// table.Rows.Insert(i + 3, row);
// }
// // 计算并插入空白行,填满整页
// // 计算总数据行数
// int totalDataRows = tb.Rows.Count;
// // 计算需要补充的空白行数量
// int remainder = totalDataRows % rowsPerPage;
// int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
// // 插入空白行(和数据行格式保持一致,仅内容为空)
// for (int i = 0; i < needBlankRows - 1; i++)
// {
// Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
// blankRow.RowFormat.Height = 33;
// blankRow.RowFormat.HeightRule = HeightRule.Exactly;
// // 空白行的单元格宽度和数据行保持一致
// blankRow.Cells.Add(CreateCell("", doc, 22.68, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 65.49, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 27.78, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 28.06, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 28, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 34.87, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 43.66, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 59.82, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 34.58, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 33.74, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 27, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 45.93, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 30.62, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 48.76, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 25.23, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 28.92, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 48.76, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 26.08, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 56.7, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 22.11, "", ""));
// // 插入到表格最后一行
// table.Rows.Add(blankRow);
// }
// //把页尾行重新加回表格最后
// //table.Rows.Add(footerRow);
// doc.Save(newUrl);
// string fileName = Path.GetFileName(newUrl);
// FileInfo info = new FileInfo(newUrl);
// long fileSize = info.Length;
// Response.Clear();
// Response.ContentType = "application/x-zip-compressed";
// Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
// Response.AddHeader("Content-Length", fileSize.ToString());
// Response.TransmitFile(newUrl, 0, fileSize);
// Response.Flush();
// Response.Close();
// File.Delete(newUrl);
// }
// else
// {
// Alert.ShowInTop("没有要导出的数据!", MessageBoxIcon.Warning);
// return;
// }
// }
// else
// {
// Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
// return;
// }
//}
//public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "")
//{
// Cell cell = new Cell(doc);
// Paragraph p = new Paragraph(doc);
// if (!string.IsNullOrEmpty(CenterPage))
// {
// //序号,在最开始就拼接空格
// value = " " + value;
// }
// Run run = new Run(doc, value);
// run.Font.Size = 8;
// run.Font.Name = "楷体";
// if (!string.IsNullOrEmpty(cellMerge))
// {
// if (cellMerge == "0")
// {
// cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;//竖直方向合并的第一个单元格
// }
// else
// {
// cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的后续单元格
// }
// }
// else
// {
// cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
// }
// if (!string.IsNullOrEmpty(cellUnitLeft))
// {
// p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
// }
// else
// {
// p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
// }
// // 把带字体样式的run加入段落
// p.AppendChild(run);
// cell.CellFormat.Width = cellWidth;
// cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
// cell.CellFormat.Borders.LineWidth = 0.75;
// // 单元格内边距
// cell.CellFormat.LeftPadding = 1;
// cell.CellFormat.RightPadding = 1;
// cell.CellFormat.TopPadding = 1;
// cell.CellFormat.BottomPadding = 1;
// //清除段落段前段后间距
// p.ParagraphFormat.SpaceBefore = 0;
// p.ParagraphFormat.SpaceAfter = 0;
// cell.AppendChild(p);
// return cell;
//}
//#endregion
#region 导出按钮 #region 导出按钮
/// 导出按钮 /// 导出按钮
/// </summary> /// </summary>
@@ -667,11 +930,9 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
string initTemplatePath = string.Empty; string initTemplatePath = string.Empty;
string uploadfilepath = string.Empty; string uploadfilepath = string.Empty;
string newUrl = string.Empty; string newUrl = string.Empty;
string filePath = string.Empty;
//每页显示的固定数据行数
int rowsPerPage = 4;
//每页业务数据7行
int rowsPerPage = 7;
string projectId = this.tvControlItem.SelectedNodeID; string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId)) if (!string.IsNullOrEmpty(projectId))
{ {
@@ -689,19 +950,17 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
{ {
initTemplatePath = Const.JGZL_IndustrialPipelineInstallationSummary2020Url; initTemplatePath = Const.JGZL_IndustrialPipelineInstallationSummary2020Url;
uploadfilepath = rootPath + initTemplatePath; uploadfilepath = rootPath + initTemplatePath;
newUrl = uploadfilepath.Replace("工业管道安装汇总表2020导出模板", "压力管道安装汇总表(2020版)"); newUrl = uploadfilepath.Replace("工业管道安装汇总表2020导出模板", "压力管道安装汇总表(2020版)");
if (File.Exists(newUrl)) if (File.Exists(newUrl))
{ {
File.Delete(newUrl); File.Delete(newUrl);
} }
File.Copy(uploadfilepath, newUrl); File.Copy(uploadfilepath, newUrl);
//更新书签内容
Document doc = new Aspose.Words.Document(newUrl); Document doc = new Aspose.Words.Document(newUrl);
DocumentBuilder builder = new DocumentBuilder(doc); DocumentBuilder builder = new DocumentBuilder(doc);
Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true); //填充业务数据
string certificateCode = string.Empty; string certificateCode = string.Empty;
string deliveryUnit = string.Empty; string deliveryUnit = string.Empty;
string deliveryUnitCode = string.Empty; string deliveryUnitCode = string.Empty;
@@ -714,77 +973,146 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
deliveryUnitCode = certificate.DeliveryUnitCode; deliveryUnitCode = certificate.DeliveryUnitCode;
} }
Bookmark bookmark1 = doc.Range.Bookmarks["certificateCode"]; //取出模板原始表格,用于克隆表头行
if (bookmark1 != null) Table templateTable = doc.GetChild(NodeType.Table, 0, true) as Table;
Row templateUnitRow = (Row)templateTable.Rows[0].Clone(true); //交工单元名称+交工单元编号行(仅第一页)
Row templateTableHeader1 = (Row)templateTable.Rows[1].Clone(true);
Row templateTableHeader2 = (Row)templateTable.Rows[2].Clone(true);
//直接替换交工单元行单元格内容
Cell unitNameCell = templateUnitRow.Cells[0];
unitNameCell.FirstParagraph.Runs.Clear();
unitNameCell.FirstParagraph.AppendChild(new Run(doc, $"交工单元名称:{deliveryUnit}"));
Cell unitCodeCell = templateUnitRow.Cells[1];
unitCodeCell.FirstParagraph.Runs.Clear();
unitCodeCell.FirstParagraph.AppendChild(new Run(doc, $"交工单元编号:{deliveryUnitCode}"));
doc.FirstSection.Body.RemoveAllChildren();
int total = tb.Rows.Count;
int pageCount = (int)Math.Ceiling((double)total / rowsPerPage);
for (int pageIndex = 0; pageIndex < pageCount; pageIndex++)
{ {
bookmark1.Text = certificateCode; bool isFirstPage = pageIndex == 0;
} bool isLastPage = pageIndex == pageCount - 1;
Bookmark bookmark2 = doc.Range.Bookmarks["deliveryUnit"];
if (bookmark2 != null) builder.MoveToDocumentEnd();
if (!isFirstPage)
{ {
bookmark2.Text = deliveryUnit; builder.InsertBreak(BreakType.PageBreak);
} builder.MoveToDocumentEnd();
Bookmark bookmark3 = doc.Range.Bookmarks["deliveryUnitCode"];
if (bookmark3 != null)
{
bookmark3.Text = deliveryUnitCode;
} }
// 设置表头行重复显示 //================ 每页顶部三行================
table.Rows[0].RowFormat.HeadingFormat = true; //1.第一行:固定文字 ZDS‑T6.38.047.A/0.2020 居右
table.Rows[1].RowFormat.HeadingFormat = true; builder.ParagraphFormat.SpaceBefore = 0;
table.Rows[2].RowFormat.HeadingFormat = true; builder.ParagraphFormat.SpaceAfter = 1;
builder.ParagraphFormat.Alignment = ParagraphAlignment.Right;
builder.Font.Size = 15;
builder.Font.Name = "Times New Roman";
builder.Font.Bold = true;
builder.Write("ZDS‑T6.38.047.A/0.2020");
builder.InsertParagraph();
// ====固定表格布局===== //2.第二行:大标题 二、压力管道安装汇总表 居中
table.AutoFit(AutoFitBehavior.FixedColumnWidths); builder.ParagraphFormat.SpaceBefore = 0;
table.AllowAutoFit = false; builder.ParagraphFormat.SpaceAfter = 1;
table.Alignment = TableAlignment.Center; builder.ParagraphFormat.Alignment = ParagraphAlignment.Center;
builder.Font.Size = 16;
builder.Font.Name = "宋体";
builder.Font.Bold = true;
builder.Write("二、压力管道安装汇总表");
builder.InsertParagraph();
// 先记录页尾行,并从表格中移除 //3.第三行:证明书编号 居右,下面紧接表格,SpaceAfter=1极小间距
//Row footerRow = table.Rows[table.Rows.Count - 1]; builder.ParagraphFormat.SpaceBefore = 0;
//table.Rows.RemoveAt(table.Rows.Count - 1); builder.ParagraphFormat.SpaceAfter = 1;
builder.ParagraphFormat.Alignment = ParagraphAlignment.Right;
builder.Font.Size = 10.5;
builder.Font.Name = "宋体";
builder.Font.Bold = false;
builder.Write("证明书编号:" + certificateCode + " ");
//builder.InsertParagraph();
//=====================================================
for (int i = 0; i < tb.Rows.Count; i++) //================ 构建本页表格 =================
Table pageTable = new Table(doc);
//第一页才加入交工单元名称编号行,第二页及以后不加
if (isFirstPage)
{ {
//创建行 pageTable.Rows.Add((Row)templateUnitRow.Clone(true));
Aspose.Words.Tables.Row row = new Aspose.Words.Tables.Row(doc);
row.Cells.Add(CreateCell((i + 1).ToString(), doc, 22.68, "", ""));//序号
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineCode"].ToString(), doc, 65.49, "", ""));//单线号
row.Cells.Add(CreateCell(tb.Rows[i]["PipelineLevel"].ToString(), doc, 37.14, "", ""));//管道级别
row.Cells.Add(CreateCell(tb.Rows[i]["DesignPressure"].ToString(), doc, 27.78, "", ""));//设计压力
row.Cells.Add(CreateCell(tb.Rows[i]["DesignTemperature"].ToString(), doc, 28.06, "", ""));//设计温度
row.Cells.Add(CreateCell(tb.Rows[i]["OperatingTemperature"].ToString(), doc, 28, "", ""));//操作温度
row.Cells.Add(CreateCell(tb.Rows[i]["Medium"].ToString(), doc, 34.87, "", ""));//输送介质
row.Cells.Add(CreateCell(tb.Rows[i]["Material"].ToString(), doc, 43.66, "", ""));//管道材质牌号及标准
row.Cells.Add(CreateCell(tb.Rows[i]["Specifications"].ToString(), doc, 59.82, "", ""));//管道规格(外径×壁厚mm)
row.Cells.Add(CreateCell(tb.Rows[i]["Length"].ToString(), doc, 34.58, "", ""));//管道长度(m)
row.Cells.Add(CreateCell(tb.Rows[i]["LayingMethod"].ToString(), doc, 33.74, "", ""));//铺设方式
row.Cells.Add(CreateCell(tb.Rows[i]["WeldsNum"].ToString(), doc, 27, "", ""));//焊口数量
row.Cells.Add(CreateCell(tb.Rows[i]["LosslessRatio"].ToString(), doc, 45.93, "", ""));//检测方法/比例(%)
row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestMedium"].ToString(), doc, 37.14, "", ""));//压力试验-介质
row.Cells.Add(CreateCell(tb.Rows[i]["VoltageResistantTestPressure"].ToString(), doc, 30.62, "", ""));//压力试验-压力
row.Cells.Add(CreateCell(string.Format("{0:yyyy.MM.dd}", tb.Rows[i]["VoltageResistantTestDate"]), doc, 48.76, "", ""));//压力试验-日期
row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestMedium"].ToString(), doc, 25.23, "", ""));//泄漏性试验-介质
row.Cells.Add(CreateCell(tb.Rows[i]["LeakageTestPressure"].ToString(), doc, 28.92, "", ""));//泄漏性试验-压力
row.Cells.Add(CreateCell(string.Format("{0:yyyy.MM.dd}", tb.Rows[i]["LeakageTestDate"]), doc, 48.76, "", ""));//泄漏性试验-日期
row.Cells.Add(CreateCell(tb.Rows[i]["CleaningMethod"].ToString(), doc, 26.08, "", ""));//吹洗方法
row.Cells.Add(CreateCell(tb.Rows[i]["CorrosionControlMethod"].ToString(), doc, 56.7, "", ""));//防腐方式
row.Cells.Add(CreateCell(tb.Rows[i]["InsulationMethod"].ToString(), doc, 22.11, "", ""));//保温(绝热)方式
table.Rows.Insert(i + 3, row);
} }
// 计算并插入空白行,填满整页 //所有页面都加入2行列标题表头
// 计算总数据行数 pageTable.Rows.Add((Row)templateTableHeader1.Clone(true));
int totalDataRows = tb.Rows.Count; pageTable.Rows.Add((Row)templateTableHeader2.Clone(true));
// 计算需要补充的空白行数量
int remainder = totalDataRows % rowsPerPage;
int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
// 插入空白行(和数据行格式保持一致,仅内容为空) //已经添加行之后,再设置表格格式,避免空表格AutoFit报错
for (int i = 0; i < needBlankRows - 1; i++) pageTable.AllowAutoFit = false;
pageTable.AutoFit(AutoFitBehavior.FixedColumnWidths);
pageTable.Alignment = TableAlignment.Center;
int startIdx = pageIndex * rowsPerPage;
int endIdx = Math.Min(startIdx + rowsPerPage, total);
int pageDataCnt = endIdx - startIdx;
//填充业务数据行
for (int i = startIdx; i < endIdx; i++)
{
DataRow dr = tb.Rows[i];
Aspose.Words.Tables.Row dataRow = new Aspose.Words.Tables.Row(doc);
dataRow.RowFormat.Height = 40;
dataRow.RowFormat.HeightRule = HeightRule.Exactly;
dataRow.RowFormat.AllowBreakAcrossPages = false;
string pipeLineClass = string.Empty;
string isoNo = dr["PipelineCode"].ToString();
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoNo(isoNo, this.tvControlItem.SelectedNodeID);
if (isoInfo != null)
{
if (!string.IsNullOrEmpty(isoInfo.PipeLineClass) && isoInfo.PipeLineClass != "/")
{
pipeLineClass = isoInfo.PipeLineClass + "/";
}
}
dataRow.Cells.Add(CreateCell((i + 1).ToString(), doc, 22.68, "", ""));//序号
dataRow.Cells.Add(CreateCell(dr["PipelineCode"].ToString(), doc, 65.49, "", ""));//单线号
dataRow.Cells.Add(CreateCell(pipeLineClass + dr["PipelineLevel"].ToString(), doc, 37.14, "", ""));//管道级别
dataRow.Cells.Add(CreateCell(dr["DesignPressure"].ToString(), doc, 27.78, "", ""));//设计压力
dataRow.Cells.Add(CreateCell(dr["DesignTemperature"].ToString(), doc, 28.06, "", ""));//设计温度
dataRow.Cells.Add(CreateCell(dr["OperatingTemperature"].ToString(), doc, 28, "", ""));//操作温度
dataRow.Cells.Add(CreateCell(dr["Medium"].ToString(), doc, 34.87, "", ""));//输送介质
dataRow.Cells.Add(CreateCell(dr["Material"].ToString(), doc, 43.66, "", ""));//管道材质牌号及标准
dataRow.Cells.Add(CreateCell(HttpUtility.HtmlDecode(dr["Specifications"].ToString()), doc, 59.82, "", ""));//管道规格
dataRow.Cells.Add(CreateCell(dr["Length"].ToString(), doc, 34.58, "", ""));//管道长度(m)
dataRow.Cells.Add(CreateCell(dr["LayingMethod"].ToString(), doc, 33.74, "", ""));//铺设方式
dataRow.Cells.Add(CreateCell(dr["WeldsNum"].ToString(), doc, 27, "", ""));//焊口数量
dataRow.Cells.Add(CreateCell(dr["LosslessRatio"].ToString(), doc, 45.93, "", ""));//检测方法/比例(%)
dataRow.Cells.Add(CreateCell(FormatDateStr(dr["VoltageResistantTestMedium"]), doc, 37.14, "", ""));//压力试验-介质
dataRow.Cells.Add(CreateCell(FormatDateStr(dr["VoltageResistantTestPressure"]), doc, 30.62, "", ""));//压力试验-压力
dataRow.Cells.Add(CreateCell(FormatDateStr(dr["VoltageResistantTestDate"]), doc, 48.76, "", ""));//压力试验-日期
dataRow.Cells.Add(CreateCell(FormatDateStr(dr["LeakageTestMedium"]), doc, 25.23, "", ""));//泄漏性试验-介质
dataRow.Cells.Add(CreateCell(FormatDateStr(dr["LeakageTestPressure"]), doc, 28.92, "", ""));//泄漏性试验-压力
dataRow.Cells.Add(CreateCell(FormatDateStr(dr["LeakageTestDate"]), doc, 48.76, "", ""));//泄漏性试验-日期
dataRow.Cells.Add(CreateCell(dr["CleaningMethod"].ToString(), doc, 26.08, "", ""));//吹洗方法
dataRow.Cells.Add(CreateCell(dr["CorrosionControlMethod"].ToString(), doc, 56.7, "", ""));//防腐方式
dataRow.Cells.Add(CreateCell(dr["InsulationMethod"].ToString(), doc, 22.11, "", ""));//保温(绝热)方式
pageTable.Rows.Add(dataRow);
}
//不足7条补空白行
int blankCount = rowsPerPage - pageDataCnt;
for (int b = 0; b < blankCount; b++)
{ {
Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc); Aspose.Words.Tables.Row blankRow = new Aspose.Words.Tables.Row(doc);
// 空白行的单元格宽度和数据行保持一致 blankRow.RowFormat.Height = 40;
blankRow.RowFormat.HeightRule = HeightRule.Exactly;
blankRow.RowFormat.AllowBreakAcrossPages = false;
blankRow.Cells.Add(CreateCell("", doc, 22.68, "", "")); blankRow.Cells.Add(CreateCell("", doc, 22.68, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 65.49, "", "")); blankRow.Cells.Add(CreateCell("", doc, 65.49, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 37.14, "", "")); blankRow.Cells.Add(CreateCell("", doc, 37.14, "", ""));
@@ -807,19 +1135,32 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
blankRow.Cells.Add(CreateCell("", doc, 26.08, "", "")); blankRow.Cells.Add(CreateCell("", doc, 26.08, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 56.7, "", "")); blankRow.Cells.Add(CreateCell("", doc, 56.7, "", ""));
blankRow.Cells.Add(CreateCell("", doc, 22.11, "", "")); blankRow.Cells.Add(CreateCell("", doc, 22.11, "", ""));
// 插入到表格最后一行
table.Rows.Add(blankRow); pageTable.Rows.Add(blankRow);
}
//把本页表格追加到文档正文
doc.FirstSection.Body.AppendChild(pageTable);
//仅最后一页:表格外部输出签字行
if (isLastPage)
{
Paragraph signPara = new Paragraph(doc);
Run signRun = new Run(doc, " 填表: 日期: 审核: 日期: ");
signRun.Font.Size = 10.5;
signRun.Font.Name = "宋体";
signPara.AppendChild(signRun);
signPara.ParagraphFormat.SpaceBefore = 6;
doc.FirstSection.Body.AppendChild(signPara);
}
} }
//把页尾行重新加回表格最后
//table.Rows.Add(footerRow);
doc.Save(newUrl); doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl); string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl); FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length; long fileSize = info.Length;
Response.Clear(); Response.Clear();
Response.ContentType = "application/x-zip-compressed"; Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8)); Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString()); Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize); Response.TransmitFile(newUrl, 0, fileSize);
@@ -840,53 +1181,68 @@ CASE WHEN ISNUMERIC(DesignPressure)=1 THEN FORMAT(CAST(DesignPressure AS DECIMAL
} }
} }
public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "") private Aspose.Words.Tables.Cell CreateCell(String value, Aspose.Words.Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "")
{ {
Cell cell = new Cell(doc); Aspose.Words.Tables.Cell cell = new Aspose.Words.Tables.Cell(doc);
Paragraph p = new Paragraph(doc); Aspose.Words.Paragraph p = new Aspose.Words.Paragraph(doc);
if (!string.IsNullOrEmpty(CenterPage))
{
value = " " + value;
}
Aspose.Words.Run run = new Aspose.Words.Run(doc, value);
run.Font.Size = 8;
run.Font.Name = "楷体";
if (!string.IsNullOrEmpty(cellMerge)) if (!string.IsNullOrEmpty(cellMerge))
{ {
if (cellMerge == "0") if (cellMerge == "0")
{ {
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;//竖直方向合并的第一个单元格 cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;
} }
else else
{ {
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的第一个单元格 cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;
} }
} }
else else
{ {
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None; cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
} }
if (!string.IsNullOrEmpty(CenterPage))
{
//序号
value = " " + value;
}
if (!string.IsNullOrEmpty(cellUnitLeft)) if (!string.IsNullOrEmpty(cellUnitLeft))
{ {
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左 p.ParagraphFormat.Alignment = Aspose.Words.ParagraphAlignment.Left;
} }
else else
{ {
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中 p.ParagraphFormat.Alignment = Aspose.Words.ParagraphAlignment.Center;
} }
p.AppendChild(run);
if (cellWidth > 0)
p.AppendChild(new Run(doc, value)); {
cell.CellFormat.Width = cellWidth; cell.CellFormat.Width = cellWidth;
}
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center; cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
cell.CellFormat.Borders.LineWidth = 0.75; cell.CellFormat.Borders.LineWidth = 0.75;
cell.CellFormat.LeftPadding = 1;
cell.CellFormat.RightPadding = 1;
cell.CellFormat.TopPadding = 1;
cell.CellFormat.BottomPadding = 1;
p.ParagraphFormat.SpaceBefore = 0;
p.ParagraphFormat.SpaceAfter = 0;
cell.AppendChild(p); cell.AppendChild(p);
return cell; return cell;
} }
private string FormatDateStr(object objVal)
{
if (objVal == DBNull.Value || objVal == null || string.IsNullOrWhiteSpace(objVal.ToString()))
return "";
DateTime dt;
if (DateTime.TryParse(objVal.ToString(), out dt))
{
return dt.ToString("yyyy.MM.dd");
}
return objVal.ToString();
}
#endregion #endregion
} }
} }
@@ -42,7 +42,7 @@
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1" <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click"> OnClick="btnSave_Click">
</f:Button> </f:Button>
<f:Button ID="btnPrint" Text="打印工业管道安装质量证明书(2020版)" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -103,14 +103,19 @@
<f:TextBox ID="txtConstructionUnit" runat="server" Label="使用单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox> <f:TextBox ID="txtConstructionUnit" runat="server" Label="使用单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow ColumnWidths="20% 40% 40%"> <f:FormRow ColumnWidths="10% 90%">
<Items> <Items><f:Label ID="Label1" runat="server" ></f:Label>
<f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合"></f:Label> <f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和"></f:Label>
</Items>
</f:FormRow>
<f:FormRow ColumnWidths="10% 55% 35%">
<Items><f:Label ID="Label2" runat="server" ></f:Label>
<f:DropDownList ID="drpRemark" runat="server"> <f:DropDownList ID="drpRemark" runat="server">
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" /> <f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" />
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" /> <f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" />
</f:DropDownList> </f:DropDownList>
<f:Label ID="lbld" runat="server" Text="的要求。"></f:Label> <f:Label ID="lbld" runat="server" Text="的要求。"></f:Label>
</Items> </Items>
</f:FormRow> </f:FormRow>
<f:FormRow> <f:FormRow>
@@ -288,7 +288,7 @@ namespace FineUIPro.Web.JGZL
newRow["InstallationInspection"] = report.InstallationInspection; newRow["InstallationInspection"] = report.InstallationInspection;
newRow["ConstructionUnit"] = report.ConstructionUnit; newRow["ConstructionUnit"] = report.ConstructionUnit;
newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode; newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode;
newRow["Remark"] = " 本工业管道的安装经质量检验,符合" + report.Remark + "要求。"; newRow["Remark"] = " 本压力管道的安装经质量检验,符合《工业管道安装技术规程》(TSG 31-2025)、设计文件和" + report.Remark + "要求。";
dt.Rows.Add(newRow); dt.Rows.Add(newRow);
BLL.Common.FastReportService.AddFastreportTable(dt); BLL.Common.FastReportService.AddFastreportTable(dt);
@@ -449,14 +449,20 @@ namespace FineUIPro.Web.JGZL
} }
Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"]; Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"];
if (pipelineLevel != null) if (pipelineLevel != null)
{
if (report.PipelineLevel != null)
{ {
pipelineLevel.Text = report.PipelineLevel; pipelineLevel.Text = report.PipelineLevel;
} }
}
Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"]; Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"];
if (pipelineLength != null) if (pipelineLength != null)
{
if (report.PipelineLength != null)
{ {
pipelineLength.Text = report.PipelineLength; pipelineLength.Text = report.PipelineLength;
} }
}
Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"]; Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"];
if (designUnit != null) if (designUnit != null)
{ {
@@ -275,6 +275,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtConstructionUnit; protected global::FineUIPro.TextBox txtConstructionUnit;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary> /// <summary>
/// lblRemark 控件。 /// lblRemark 控件。
/// </summary> /// </summary>
@@ -284,6 +293,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Label lblRemark; protected global::FineUIPro.Label lblRemark;
/// <summary>
/// Label2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label2;
/// <summary> /// <summary>
/// drpRemark 控件。 /// drpRemark 控件。
/// </summary> /// </summary>
@@ -44,7 +44,7 @@
OnClick="btnSave_Click"> OnClick="btnSave_Click">
</f:Button> </f:Button>
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="新增" OnClick="btnAdd_Click"></f:Button> <f:Button ID="btnAdd" runat="server" Icon="Add" Text="新增" OnClick="btnAdd_Click"></f:Button>
<f:Button ID="btnPrint" Text="打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -43,7 +43,7 @@
OnClick="btnSave_Click"> OnClick="btnSave_Click">
</f:Button> </f:Button>
<%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%> <%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%>
<f:Button ID="btnPrint" Text="特种设备安装改造维修告知书打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="预览" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false"> EnableAjax="false" DisableControlBeforePostBack="false">
@@ -19,17 +19,19 @@
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableCheckBoxSelect="true" <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" EnableCheckBoxSelect="true"
KeepCurrentSelection="true" runat="server" BoxFlex="1" DataKeyNames="BakeRecordsId" KeepCurrentSelection="true" runat="server" BoxFlex="1" DataKeyNames="BakeRecordsId"
DataIDField="BakeRecordsId" AllowSorting="true" SortField="BakeDate" SortDirection="DESC" DataIDField="BakeRecordsId" AllowSorting="true" SortField="BakeDate" SortDirection="DESC"
OnSort="Grid1_Sort" EnableTextSelection="True"> OnSort="Grid1_Sort" EnableTextSelection="True" AllowPaging="true" IsDatabasePaging="true" PageSize="50"
OnPageIndexChange="Grid1_PageIndexChange" >
<Toolbars> <Toolbars>
<f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server"> <f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
<Items> <Items>
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="265px" <f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelWidth="50px" Width="200px"
EnableEdit="true"> EnableEdit="true">
</f:DropDownList> </f:DropDownList>
<f:DatePicker ID="txtStartDate" runat="server" Label="烘烤日期" EmptyText="开始时间" Width="220px" LabelAlign="Right"></f:DatePicker> <f:DatePicker ID="txtStartDate" runat="server" Label="烘烤日期" EmptyText="开始时间" Width="220px" LabelAlign="Right"></f:DatePicker>
<f:Label ID="Label1" runat="server" Text="-"></f:Label> <f:Label ID="Label1" runat="server" Text="-"></f:Label>
<f:DatePicker ID="txtEndDate" runat="server" EmptyText="结束时间" Width="120px"></f:DatePicker> <f:DatePicker ID="txtEndDate" runat="server" EmptyText="结束时间" Width="120px"></f:DatePicker>
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="300px" LabelAlign="right"></f:TextBox> <f:DropDownList ID="drpUnitStore" runat="server" Label="焊材库" LabelAlign="Right" Width="320px" LabelWidth="80px"></f:DropDownList>
<f:TextBox runat="server" Label="焊材牌号" ID="txtBrand" EmptyText="输入查询条件" Width="220px" LabelAlign="right"></f:TextBox>
<f:Button ID="btnSearch" runat="server" Text="查询" Icon="SystemSearch" OnClick="btnSearch_Click"></f:Button> <f:Button ID="btnSearch" runat="server" Text="查询" Icon="SystemSearch" OnClick="btnSearch_Click"></f:Button>
<f:ToolbarFill ID="ToolbarFill1" runat="server"> <f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill> </f:ToolbarFill>
@@ -34,6 +34,9 @@ namespace FineUIPro.Web.JGZL
this.drpProjectId.DataBind(); this.drpProjectId.DataBind();
Funs.FineUIPleaseSelect(this.drpProjectId); Funs.FineUIPleaseSelect(this.drpProjectId);
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId; this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
BLL.UnitStoreService.InitUnitStoreDropDownList(drpUnitStore, null, true);
BindGrid(); BindGrid();
} }
} }
@@ -86,13 +89,18 @@ namespace FineUIPro.Web.JGZL
strSql += " AND BakeRecords.BakeDate <= @endDate"; strSql += " AND BakeRecords.BakeDate <= @endDate";
listStr.Add(new SqlParameter("@endDate", this.txtEndDate.Text.Trim())); listStr.Add(new SqlParameter("@endDate", this.txtEndDate.Text.Trim()));
} }
if (this.drpUnitStore.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpUnitStore.SelectedValue))
{
strSql += " AND BakeRecords.UnitStoreId =@unitStoreId ";
listStr.Add(new SqlParameter("@unitStoreId", this.drpUnitStore.SelectedValue));
}
strSql += " order by BakeRecords.BakeDate desc"; strSql += " order by BakeRecords.BakeDate desc";
SqlParameter[] parameter = listStr.ToArray(); SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
Grid1.RecordCount = tb.Rows.Count; Grid1.RecordCount = tb.Rows.Count;
//var table = this.GetPagedDataTable(Grid1, tb); var table = this.GetPagedDataTable(Grid1, tb);
Grid1.DataSource = tb; Grid1.DataSource = table;
Grid1.DataBind(); Grid1.DataBind();
} }
#endregion #endregion
@@ -111,6 +119,19 @@ namespace FineUIPro.Web.JGZL
} }
#endregion #endregion
#region 页索引改变事件
/// <summary>
/// 页索引改变事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
Grid1.PageIndex = e.NewPageIndex;
BindGrid();
}
#endregion
#region 提交 #region 提交
/// <summary> /// <summary>
/// 确定按钮 /// 确定按钮
@@ -104,6 +104,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.DatePicker txtEndDate; protected global::FineUIPro.DatePicker txtEndDate;
/// <summary>
/// drpUnitStore 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpUnitStore;
/// <summary> /// <summary>
/// txtBrand 控件。 /// txtBrand 控件。
/// </summary> /// </summary>
+1 -1
View File
@@ -11,7 +11,7 @@
<FineUIPro DebugMode="false" Theme="Cupertino"/> <FineUIPro DebugMode="false" Theme="Cupertino"/>
<appSettings> <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="SystemName" value="诺必达焊接管理系统"/>
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/> <add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
+2 -2
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile> <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />