1
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/10/2025 11:15:51" ReportInfo.Modified="07/10/2025 11:37:00" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary/>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" FirstPageSource="4" OtherPagesSource="4" Guides="0,963.29,304.61,49.46,354.07,658.68">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="616.32" Guides="0,616.32,34.24,68.48,102.72,136.96,171.2,205.44,239.68,273.92,308.16,342.4,376.64,410.88,445.12,479.36,513.6,547.84,582.08">
|
||||
<TableObject Name="Table1" Width="963.29" Height="616.32" Border.Lines="All">
|
||||
<TableColumn Name="Column1" Width="49.46"/>
|
||||
<TableColumn Name="Column2" Width="304.61"/>
|
||||
<TableColumn Name="Column3" Width="304.61"/>
|
||||
<TableColumn Name="Column4" Width="304.61"/>
|
||||
<TableRow Name="Row1" Height="34.24">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="管道压力包文件资料目录" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell2" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell3" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell4" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="34.24">
|
||||
<TableCell Name="Cell6" Border.Lines="All" Text="1" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell7" Border.Lines="All" Text="已标注管道试压流程图" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell8" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell9" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="34.24">
|
||||
<TableCell Name="Cell11" Border.Lines="All" Text="2" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All" Text="试压管线一览表" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="34.24">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="3" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell17" Border.Lines="All" Text="已标注管道空视图" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell18" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell19" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="34.24">
|
||||
<TableCell Name="Cell21" Border.Lines="All" Text="4" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell22" Border.Lines="All" Text="设计变更单" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row6" Height="34.24">
|
||||
<TableCell Name="Cell25" Border.Lines="All" Text="5" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell26" Border.Lines="All" Text="管道试压盲板装拆一览表" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell28" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="34.24">
|
||||
<TableCell Name="Cell29" Border.Lines="All" Text="6" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All" Text="管道试压临时材料表" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell31" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell32" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="34.24">
|
||||
<TableCell Name="Cell33" Border.Lines="All" Text="7" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" Text="签字的管道系统压力试验条件确认记录" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell36" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="34.24">
|
||||
<TableCell Name="Cell37" Border.Lines="All" Text="8" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell38" Border.Lines="All" Text="签字的管道试压包尾项清单" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell39" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="34.24">
|
||||
<TableCell Name="Cell41" Border.Lines="All" Text="9" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell42" Border.Lines="All" Text="签字的管道系统压力试验记录" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell43" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell44" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="34.24">
|
||||
<TableCell Name="Cell45" Border.Lines="All" Text="10" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell46" Border.Lines="All" Text="管道系统安装、检验资料" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell47" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell48" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row12" Height="34.24">
|
||||
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell50" Border.Lines="All" Text="10.1 管道材料材质标识检查记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell51" Border.Lines="All" Text="10.8 弹簧支吊架安装检验记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" Text="10.15 无损检测结果汇总表" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row13" Height="34.24">
|
||||
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell54" Border.Lines="All" Text="10.2 管道光谱检测报告" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell55" Border.Lines="All" Text="10.9 滑动固定管托安装检验记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell56" Border.Lines="All" Text="10.16 管道焊口无损检测结果通知单" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row14" Height="34.24">
|
||||
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" Text="10.3 管道组成件验证性和补充性检验记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" Text="10.10 管道静电接地测试记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell60" Border.Lines="All" Text="10.17 管道焊口射线检测报告" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row15" Height="34.24">
|
||||
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" Text="10.4 阀门检验试验记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All" Text="10.11 管道焊口检测总委托单" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All" Text="10.18 管道焊口超声检测报告" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row16" Height="34.24">
|
||||
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All" Text="10.5 阀门试验确认表" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All" Text="10.12 管道焊口检测委托单" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" Text="10.19 管道焊口磁粉检测报告" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row17" Height="34.24">
|
||||
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" Text="10.6 带方向闸阀安装检查记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" Text="10.13 管道焊接工作记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" Text="10.20 管道焊口渗透检测报告" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row18" Height="34.24">
|
||||
<TableCell Name="Cell73" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" Text="10.7 管道补偿器安装检验记录" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" Text="10.14 管道无损检测数量统计表" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell76" Border.Lines="All" Text="10.21 管道焊接接头热处理报告" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/10/2025 10:54:01" ReportInfo.Modified="07/10/2025 11:05:43" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary/>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" FirstPageSource="4" OtherPagesSource="4" Guides="0,964.11,84.21,65.31,74.76,169.26,103.11,486.36,794.85,187.32,271.53,336.84,411.6,570.57,654.78,720.09">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="604.93" Guides="0,604.93,30.08,90.24,60.16,129.77,169.3,208.83,248.36,287.89,327.42,366.95,237.98">
|
||||
<TableObject Name="Table1" Width="964.11" Height="604.93" Border.Lines="Right, Bottom">
|
||||
<TableColumn Name="Column1" Width="103.11"/>
|
||||
<TableColumn Name="Column2" Width="84.21"/>
|
||||
<TableColumn Name="Column3" Width="84.21"/>
|
||||
<TableColumn Name="Column4" Width="65.31"/>
|
||||
<TableColumn Name="Column5" Width="74.76"/>
|
||||
<TableColumn Name="Column6" Width="74.76"/>
|
||||
<TableColumn Name="Column7" Width="84.21"/>
|
||||
<TableColumn Name="Column8" Width="84.21"/>
|
||||
<TableColumn Name="Column9" Width="65.31"/>
|
||||
<TableColumn Name="Column10" Width="74.76"/>
|
||||
<TableColumn Name="Column11" Width="169.26"/>
|
||||
<TableRow Name="Row1" Height="30.08">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="管道压力试验技术要求" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="11"/>
|
||||
<TableCell Name="Cell2" Border.Lines="All"/>
|
||||
<TableCell Name="Cell3" Border.Lines="All"/>
|
||||
<TableCell Name="Cell4" Border.Lines="All"/>
|
||||
<TableCell Name="Cell5" Border.Lines="All"/>
|
||||
<TableCell Name="Cell26" Border.Lines="All"/>
|
||||
<TableCell Name="Cell27" Border.Lines="All"/>
|
||||
<TableCell Name="Cell28" Border.Lines="All"/>
|
||||
<TableCell Name="Cell29" Border.Lines="All"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All"/>
|
||||
<TableCell Name="Cell31" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="30.08">
|
||||
<TableCell Name="Cell6" Border.Lines="All" Text="试验方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell7" Border.Lines="All" Text="管道介质、材质、长度、设计压力、设计温度" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
|
||||
<TableCell Name="Cell8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell9" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell10" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell33" Border.Lines="All" Text="试验介质、试验压力、试验温度、稳压时间" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell37" Border.Lines="All" Text="试验合格标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="30.08">
|
||||
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All" Text="长度m" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell15" Border.Lines="All" Text="压力MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell38" Border.Lines="All" Text="温度℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell39" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All" Text="压力MPa" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell41" Border.Lines="All" Text="温度℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell42" Border.Lines="All" Text="时间min" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell43" Border.Lines="All" Text="标准号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="39.53">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="液压试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell18" 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="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell46" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell47" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell48" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="39.53">
|
||||
<TableCell Name="Cell21" Border.Lines="All" Text="气压试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell25" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell50" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell51" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row6" Height="39.53">
|
||||
<TableCell Name="Cell56" Border.Lines="All" Text="液压-气压试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="39.53">
|
||||
<TableCell Name="Cell67" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="39.53">
|
||||
<TableCell Name="Cell78" Border.Lines="All" Text="真空试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell80" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell82" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell83" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell84" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell85" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell86" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell87" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell88" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="39.53">
|
||||
<TableCell Name="Cell89" Border.Lines="All" Text="外观检查" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell90" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell91" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell92" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell93" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell94" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell95" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell96" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell97" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell98" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell99" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="39.53">
|
||||
<TableCell Name="Cell100" Border.Lines="All" Text="试车试验" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell101" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell102" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell103" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell104" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell105" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell106" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell107" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell108" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell109" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell110" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="237.98">
|
||||
<TableCell Name="Cell111" Border.Lines="All" Text="其他说明:" Font="宋体, 10.5pt" ColSpan="11"/>
|
||||
<TableCell Name="Cell112" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell113" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell114" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell115" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell116" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell117" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell118" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell119" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell120" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell121" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -0,0 +1,293 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/10/2025 14:13:40" ReportInfo.Modified="07/10/2025 14:46:25" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||
<Parameter Name="InstallationName" DataType="System.String"/>
|
||||
<Parameter Name="TestpackageNo" DataType="System.String"/>
|
||||
<Parameter Name="TestpackageName" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" FirstPageSource="4" OtherPagesSource="4" Guides="0,623.7,171.99,85.05,383.67,86.94,470.61,96.39,28.35,124.74,498.96,296.73">
|
||||
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="963.9" Guides="0,963.9,103.95,66.15,37.8,132.3,28.35,160.65,189,217.35,292.95,75.6,321.3,349.65,378,406.35,434.7,472.5,500.85,557.55,56.7,585.9,614.25,642.6,670.95,699.3,727.65,822.15,94.5,850.5,878.85,907.2,935.55">
|
||||
<TableObject Name="Table1" Width="623.7" Height="963.9">
|
||||
<TableColumn Name="Column1" Width="86.94"/>
|
||||
<TableColumn Name="Column7" Width="85.05"/>
|
||||
<TableColumn Name="Column2" Width="124.74"/>
|
||||
<TableColumn Name="Column3" Width="86.94"/>
|
||||
<TableColumn Name="Column4" Width="86.94"/>
|
||||
<TableColumn Name="Column8" Width="28.35"/>
|
||||
<TableColumn Name="Column5" Width="96.39"/>
|
||||
<TableColumn Name="Column6" Width="28.35"/>
|
||||
<TableRow Name="Row1" Height="66.15">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J406-1改" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="2"/>
|
||||
<TableCell Name="Cell163" Border.Lines="All"/>
|
||||
<TableCell Name="Cell2" Border.Lines="All" Text="管道系统压力试验条件确认记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="2"/>
|
||||
<TableCell Name="Cell3" Border.Lines="All"/>
|
||||
<TableCell Name="Cell4" Border.Lines="Left, Top" Text="工程名称:" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell190" Border.Lines="Right, Top" Text="[ProjectName]" Font="楷体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell5" Border.Lines="All"/>
|
||||
<TableCell Name="Cell136" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="37.8">
|
||||
<TableCell Name="Cell6" Border.Lines="All"/>
|
||||
<TableCell Name="Cell164" Border.Lines="All"/>
|
||||
<TableCell Name="Cell7" Border.Lines="All"/>
|
||||
<TableCell Name="Cell8" Border.Lines="All"/>
|
||||
<TableCell Name="Cell9" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell191" Border.Lines="All"/>
|
||||
<TableCell Name="Cell10" Border.Lines="Right, Bottom" Text="[InstallationName]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell137" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="28.35">
|
||||
<TableCell Name="Cell11" Border.Lines="All" Text="试压包名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell165" Border.Lines="All" Text="[TestpackageName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All" Text="试压包编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All" Text="[TestpackageNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell192" Border.Lines="All"/>
|
||||
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell138" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="28.35">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="检查项目与要求" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell166" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell18" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell19" Border.Lines="All" Text="检查结果" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell193" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell139" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="28.35">
|
||||
<TableCell Name="Cell21" Border.Lines="All" Text="管道试压方案已审批和确认、方案已技术和安全交底。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell167" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell22" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell194" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell25" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell140" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row6" Height="28.35">
|
||||
<TableCell Name="Cell26" Border.Lines="All" Text="管道试压包文件已齐全,并已审批和确认。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell168" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell28" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell29" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell195" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell141" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="75.6">
|
||||
<TableCell Name="Cell31" Border.Lines="All" Text="管道(含仪表部件、阀门、补偿器、法兰、螺栓、螺母、垫片、静电接地、伴热管等)的规格、材质、等级、安装方向、安装位置、安装水平度和垂直度、安装坡度、仪表部件前后直管段长度等符合设计文件和规范要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell169" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell32" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell33" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell196" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell142" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="28.35">
|
||||
<TableCell Name="Cell36" Border.Lines="All" Text="管道组成件复验合格。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell170" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell37" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell38" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell39" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell197" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell143" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="28.35">
|
||||
<TableCell Name="Cell41" Border.Lines="All" Text="焊接工作记录齐全。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell171" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell42" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell43" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell44" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell198" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell144" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="28.35">
|
||||
<TableCell Name="Cell46" Border.Lines="All" Text="焊缝外观检查合格且未隐蔽。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell172" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell47" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell48" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell49" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell199" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell50" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell145" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="28.35">
|
||||
<TableCell Name="Cell51" Border.Lines="All" Text="无损检测比例及结果符合设计文件和规范要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell173" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell53" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell54" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell200" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell146" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row12" Height="28.35">
|
||||
<TableCell Name="Cell56" Border.Lines="All" Text="热处理结果符合设计文件和规范要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell174" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell57" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell201" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell147" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row13" Height="37.8">
|
||||
<TableCell Name="Cell61" Border.Lines="All" Text="支、吊架的型式、材质、安装位置正确,数量齐全,紧固程度、焊接质量合格。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell175" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell202" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell148" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row14" Height="28.35">
|
||||
<TableCell Name="Cell66" Border.Lines="All" Text="合金钢管道材质标记清楚。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell176" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell203" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row15" Height="56.7">
|
||||
<TableCell Name="Cell71" Border.Lines="All" Text="不参与管道系统试验的安全附件(包括安全阀、爆破片等)、仪表(包括调节阀、仪表元件等)已按规定拆除或隔离,参与试压的系统内的阀门全部开启。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell177" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell204" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row16" Height="28.35">
|
||||
<TableCell Name="Cell76" Border.Lines="All" Text="临时加固措施、盲板位置与标识符合施工方案要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell178" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell78" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell79" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell205" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell80" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row17" Height="28.35">
|
||||
<TableCell Name="Cell81" Border.Lines="All" Text="焊接接头及需要检验的部位未被覆盖。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell179" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell82" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell83" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell84" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell206" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell85" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell152" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row18" Height="28.35">
|
||||
<TableCell Name="Cell86" Border.Lines="All" Text="试压用压力表量程、精度等级、检定状态符合规范要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell180" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell87" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell88" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell89" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell207" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell90" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell153" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row19" Height="28.35">
|
||||
<TableCell Name="Cell91" Border.Lines="All" Text="不锈钢管道试验用水符合规范要求、附水质分析报告。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell181" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell92" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell93" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell94" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell208" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell95" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell154" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row20" Height="28.35">
|
||||
<TableCell Name="Cell96" Border.Lines="All" Text="安全防护措施符合方案要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell182" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell97" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell98" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell99" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell209" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell100" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell155" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row21" Height="28.35">
|
||||
<TableCell Name="Cell101" Border.Lines="All" Text="管道试压包尾项清单已全部整改完毕。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell183" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell102" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell103" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell104" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell210" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell105" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell156" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row22" Height="94.5">
|
||||
<TableCell Name="Cell106" Border.Lines="All" Text="备注:" Font="宋体, 10.5pt" ColSpan="8"/>
|
||||
<TableCell Name="Cell184" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell107" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell108" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell109" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell211" Border.Lines="All"/>
|
||||
<TableCell Name="Cell110" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell157" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row23" Height="28.35">
|
||||
<TableCell Name="Cell111" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell185" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell112" Border.Lines="All" Text="总 承 包 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell113" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell114" Border.Lines="All" Text="施 工 单 位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell212" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell115" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell158" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row24" Height="28.35">
|
||||
<TableCell Name="Cell116" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell186" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell117" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell118" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell119" Border.Lines="Left, Right" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell213" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell120" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell159" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row25" Height="28.35">
|
||||
<TableCell Name="Cell121" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell187" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell122" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell123" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell124" Border.Lines="Left, Right" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell214" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell125" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell160" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row26" Height="28.35">
|
||||
<TableCell Name="Cell126" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell188" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell127" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell128" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell129" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell215" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell130" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell161" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row27" Height="28.35">
|
||||
<TableCell Name="Cell131" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell189" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell132" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell133" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell134" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell216" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell135" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell162" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/10/2025 15:44:11" ReportInfo.Modified="07/10/2025 15:44:22" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary/>
|
||||
<ReportPage Name="Page1">
|
||||
<PageHeaderBand Name="PageHeader1" Width="718.2" Height="28.35"/>
|
||||
<DataBand Name="Data1" Top="32.35" Width="718.2" Height="75.6"/>
|
||||
<PageFooterBand Name="PageFooter1" Top="111.95" Width="718.2" Height="18.9"/>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -0,0 +1,175 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/10/2025 14:49:03" ReportInfo.Modified="07/10/2025 15:42:42" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using FastReport;
|
||||
using FastReport.Data;
|
||||
using FastReport.Dialog;
|
||||
using FastReport.Barcode;
|
||||
using FastReport.Table;
|
||||
using FastReport.Utils;
|
||||
|
||||
namespace FastReport
|
||||
{
|
||||
public class ReportScript
|
||||
{
|
||||
|
||||
private void Table2_ManualBuild(object sender, EventArgs e)
|
||||
{
|
||||
DataSourceBase rowData = Report.GetDataSource("Data");
|
||||
// init the data source
|
||||
rowData.Init();
|
||||
|
||||
// print the first table row - it is a header
|
||||
|
||||
// now enumerate the data source and print the table body
|
||||
while (rowData.HasMoreRows)
|
||||
{
|
||||
// print the table body
|
||||
Table2.PrintRow(0);
|
||||
Table2.PrintColumns();
|
||||
|
||||
// go next data source row
|
||||
rowData.Next();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqM3/HbiZANEYP3Y6oNtE7mqsCE0NW5tkXiWL0RJsdm/BnXhHrIFd8DaTyqYvkCZwzxANNAMKR/4NYq8Hpgr74n03/lNGCep+NFhLBpywxcCJykGjY1hpi9XXIOAbXetC7CXLOSRSH8epZCbNSEsmvTn+6oa5Ga7wbTAiWTKBm7+K/ZyLsHdEDQE4HlsTkPVD6ebuJXi19u6jzACSKZBJenA==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Accident_AccidentHandle" Enabled="true" TableName="Data">
|
||||
<Column Name="SortNumber" DataType="System.String" PropName="AccidentHandleId"/>
|
||||
<Column Name="PipelineCode" DataType="System.String" PropName="ProjectId"/>
|
||||
<Column Name="AccidentHandleCode" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="AccidentHandleName" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="AccidentDate" Enabled="false" DataType="System.DateTime"/>
|
||||
<Column Name="AccidentDef" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="Death" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="MoneyLoss" Enabled="false" DataType="System.Decimal"/>
|
||||
<Column Name="AccidentHandle" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="Remark" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="States" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="CompileMan" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="CompileDate" Enabled="false" DataType="System.DateTime"/>
|
||||
<Column Name="UnitId" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="DeathPersonNum" Enabled="false" DataType="System.Int32"/>
|
||||
<Column Name="InjuriesPersonNum" Enabled="false" DataType="System.Int32"/>
|
||||
<Column Name="MinorInjuriesPersonNum" Enabled="false" DataType="System.Int32"/>
|
||||
<Column Name="WorkHoursLoss" Enabled="false" DataType="System.Decimal"/>
|
||||
</TableDataSource>
|
||||
</MsSqlDataConnection>
|
||||
<Parameter Name="TestPackageNo" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" FirstPageSource="4" OtherPagesSource="4" Guides="0,963.9,97.65,56.7,466.2,201.6,78.75,88.2,40.95,185.85,387.45,601.65,787.5,135.45,699.3,875.7">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="94.5" Guides="0,94.5,31.5,63">
|
||||
<TableObject Name="Table1" Width="963.9" Height="94.5">
|
||||
<TableColumn Name="Column1" Width="40.95"/>
|
||||
<TableColumn Name="Column10" Width="56.7"/>
|
||||
<TableColumn Name="Column2" Width="88.2"/>
|
||||
<TableColumn Name="Column3" Width="201.6"/>
|
||||
<TableColumn Name="Column4" Width="78.75"/>
|
||||
<TableColumn Name="Column5" Width="135.45"/>
|
||||
<TableColumn Name="Column6" Width="97.65"/>
|
||||
<TableColumn Name="Column7" Width="88.2"/>
|
||||
<TableColumn Name="Column8" Width="88.2"/>
|
||||
<TableColumn Name="Column9" Width="88.2"/>
|
||||
<TableRow Name="Row1" Height="31.5">
|
||||
<TableCell Name="Cell1" Text="试压包号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell38"/>
|
||||
<TableCell Name="Cell2" Text="[TestPackageNo]" VertAlign="Center" Font="宋体, 11pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell3" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell4" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell5" Text="管道试压包尾项清单" VertAlign="Center" Font="宋体, 11pt, style=Bold" ColSpan="5"/>
|
||||
<TableCell Name="Cell26" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell27" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell28" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell29" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="31.5">
|
||||
<TableCell Name="Cell6" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell39" Border.Lines="All" Text="管线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" ColSpan="2" RowSpan="2"/>
|
||||
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell8" Border.Lines="All" Text="尾项说明" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell9" Border.Lines="All" Text="尾项类别" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell10" Border.Lines="All" Text="整改计划完成时间" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All" Text="整改完成责任人" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell32" Border.Lines="All" Text="整改检查确认责任人" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="31.5">
|
||||
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" Text="签字" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell36" Border.Lines="All" Text="签字" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell37" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="98.5" Width="971.46" Height="40.95" Guides="0,40.95">
|
||||
<TableObject Name="Table2" Width="963.9" Height="40.95" ManualBuildEvent="Table2_ManualBuild">
|
||||
<TableColumn Name="Column11" Width="40.95"/>
|
||||
<TableColumn Name="Column12" Width="56.7"/>
|
||||
<TableColumn Name="Column13" Width="88.2"/>
|
||||
<TableColumn Name="Column14" Width="201.6"/>
|
||||
<TableColumn Name="Column15" Width="78.75"/>
|
||||
<TableColumn Name="Column16" Width="135.45"/>
|
||||
<TableColumn Name="Column17" Width="97.65"/>
|
||||
<TableColumn Name="Column18" Width="88.2"/>
|
||||
<TableColumn Name="Column19" Width="88.2"/>
|
||||
<TableColumn Name="Column20" Width="88.2"/>
|
||||
<TableRow Name="Row6" Height="40.95">
|
||||
<TableCell Name="Cell61" Border.Lines="All" Text="[Data.SortNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 11pt"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 11pt"/>
|
||||
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 11pt"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 11pt"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</DataBand>
|
||||
<ColumnFooterBand Name="ColumnFooter1" Top="188.4" Width="971.46">
|
||||
<ChildBand Name="Child1" Top="143.45" Width="971.46" Height="40.95" Guides="0,40.95" FillUnusedSpace="true">
|
||||
<TableObject Name="Table3" Width="963.9" Height="40.95">
|
||||
<TableColumn Name="Column21" Width="40.95"/>
|
||||
<TableColumn Name="Column22" Width="56.7"/>
|
||||
<TableColumn Name="Column23" Width="88.2"/>
|
||||
<TableColumn Name="Column24" Width="201.6"/>
|
||||
<TableColumn Name="Column25" Width="78.75"/>
|
||||
<TableColumn Name="Column26" Width="135.45"/>
|
||||
<TableColumn Name="Column27" Width="97.65"/>
|
||||
<TableColumn Name="Column28" Width="88.2"/>
|
||||
<TableColumn Name="Column29" Width="88.2"/>
|
||||
<TableColumn Name="Column30" Width="88.2"/>
|
||||
<TableRow Name="Row7" Height="40.95">
|
||||
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" ColSpan="2"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell78" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
<TableCell Name="Cell80" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 11pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</ChildBand>
|
||||
</ColumnFooterBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/10/2025 10:27:28" ReportInfo.Modified="07/10/2025 10:53:57" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||
<Parameter Name="InstallationName" DataType="System.String"/>
|
||||
<Parameter Name="TestPackageNo" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="20" FirstPageSource="4" OtherPagesSource="4" Guides="0,963.9,224.91,164.43,623.7,183.33,69.93,75.6,708.75,189,60.48,85.05,66.15,294.84,478.17,548.1,774.9">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="612.36" Guides="0,612.36,124.74,58.59,66.15,268.38,143.64,553.77,285.39">
|
||||
<TableObject Name="Table1" Width="963.9" Height="612.36">
|
||||
<TableColumn Name="Column1" Width="60.48"/>
|
||||
<TableColumn Name="Column2" Width="164.43"/>
|
||||
<TableColumn Name="Column3" Width="69.93"/>
|
||||
<TableColumn Name="Column4" Width="183.33"/>
|
||||
<TableColumn Name="Column5" Width="69.93"/>
|
||||
<TableColumn Name="Column6" Width="75.6"/>
|
||||
<TableColumn Name="Column9" Width="85.05"/>
|
||||
<TableColumn Name="Column7"/>
|
||||
<TableColumn Name="Column8" Width="189"/>
|
||||
<TableRow Name="Row1" Height="58.59">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J101A" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="2"/>
|
||||
<TableCell Name="Cell2" Border.Lines="All"/>
|
||||
<TableCell Name="Cell3" Border.Lines="All" ColSpan="4" RowSpan="2"/>
|
||||
<TableCell Name="Cell4" Border.Lines="All"/>
|
||||
<TableCell Name="Cell5" Border.Lines="All"/>
|
||||
<TableCell Name="Cell21" Border.Lines="All"/>
|
||||
<TableCell Name="Cell33" Border.Lines="Left, Top" Text="项目名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell25" Border.Lines="Right, Top" Text="[ProjectName]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell29" Border.Lines="Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="66.15">
|
||||
<TableCell Name="Cell37" Border.Lines="All"/>
|
||||
<TableCell Name="Cell38" Border.Lines="All"/>
|
||||
<TableCell Name="Cell39" Border.Lines="All"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All"/>
|
||||
<TableCell Name="Cell41" Border.Lines="All"/>
|
||||
<TableCell Name="Cell42" Border.Lines="All"/>
|
||||
<TableCell Name="Cell43" Border.Lines="Left, Bottom" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell44" Border.Lines="Right, Bottom" Text="[InstallationName]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell45" Border.Lines="Right, Bottom" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="143.64">
|
||||
<TableCell Name="Cell6" Border.Lines="Left, Right, Top" Text="管道试压包文件资料" HorzAlign="Center" VertAlign="Center" Font="黑体, 22pt" ColSpan="9"/>
|
||||
<TableCell Name="Cell7" Border.Lines="All"/>
|
||||
<TableCell Name="Cell8" Border.Lines="All"/>
|
||||
<TableCell Name="Cell9" Border.Lines="All"/>
|
||||
<TableCell Name="Cell10" Border.Lines="All"/>
|
||||
<TableCell Name="Cell22" Border.Lines="All"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All"/>
|
||||
<TableCell Name="Cell26" Border.Lines="All"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="285.39">
|
||||
<TableCell Name="Cell11" Border.Lines="Left, Right" Text="试压包号:[TestPackageNo]" HorzAlign="Center" Font="黑体, 12pt" ColSpan="9"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All"/>
|
||||
<TableCell Name="Cell13" Border.Lines="All"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All"/>
|
||||
<TableCell Name="Cell15" Border.Lines="All"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All"/>
|
||||
<TableCell Name="Cell27" Border.Lines="All"/>
|
||||
<TableCell Name="Cell31" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="58.59">
|
||||
<TableCell Name="Cell16" Border.Lines="Left, Bottom" Text="编制:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell17" Border.Lines="Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell18" Border.Lines="Bottom" Text="审核:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell19" Border.Lines="Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell20" Border.Lines="Bottom" Text="审批:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell24" Border.Lines="Bottom" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell36" Border.Lines="Left, Right, Bottom"/>
|
||||
<TableCell Name="Cell28" Border.Lines="Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell32" Border.Lines="Right, Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -307,6 +307,9 @@
|
||||
<Content Include="BaseInfo\UnitType.aspx" />
|
||||
<Content Include="BaseInfo\WorkPost.aspx" />
|
||||
<Content Include="BaseInfo\WorkStage.aspx" />
|
||||
<Content Include="bin\FastReport.dll" />
|
||||
<Content Include="bin\FastReport.Editor.dll" />
|
||||
<Content Include="bin\FastReport.Web.dll" />
|
||||
<Content Include="bin\FineUIPro.Web.dll" />
|
||||
<Content Include="bin\FineUIPro.Web.pdb" />
|
||||
<Content Include="CLGL\ArrivalStatistics.aspx" />
|
||||
@@ -1612,6 +1615,7 @@
|
||||
<Content Include="HJGL\TestPackage\TestPackageAudit.aspx" />
|
||||
<Content Include="HJGL\TestPackage\TestPackageComplete.aspx" />
|
||||
<Content Include="HJGL\TestPackage\TestPackageCompleteEdit.aspx" />
|
||||
<Content Include="HJGL\TestPackage\TestPackageData.aspx" />
|
||||
<Content Include="HJGL\TestPackage\TestPackageEdit.aspx" />
|
||||
<Content Include="HJGL\TestPackage\TestPackageImport.aspx" />
|
||||
<Content Include="HJGL\TestPackage\TestPackageItemEdit.aspx" />
|
||||
@@ -10991,6 +10995,13 @@
|
||||
<Compile Include="HJGL\TestPackage\TestPackageCompleteEdit.aspx.designer.cs">
|
||||
<DependentUpon>TestPackageCompleteEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="HJGL\TestPackage\TestPackageData.aspx.cs">
|
||||
<DependentUpon>TestPackageData.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="HJGL\TestPackage\TestPackageData.aspx.designer.cs">
|
||||
<DependentUpon>TestPackageData.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="HJGL\TestPackage\TestPackageEdit.aspx.cs">
|
||||
<DependentUpon>TestPackageEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -16785,7 +16796,7 @@
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v15.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v17.0\WebApplications\Microsoft.WebApplication.targets" />
|
||||
<ProjectExtensions>
|
||||
<VisualStudio>
|
||||
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
using BLL;
|
||||
using Aspose.Words.Lists;
|
||||
using BLL;
|
||||
using MiniExcelLibs;
|
||||
using Model;
|
||||
using NPOI.SS.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@@ -141,19 +143,6 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
{
|
||||
if (e.EventArgument == "Confirm_OK")
|
||||
{
|
||||
//string rootPath = Server.MapPath("~/");
|
||||
//string uploadfilepath = rootPath + Const.NDTBatchTemplateUrl;
|
||||
//string filePath = Const.NDTBatchTemplateUrl;
|
||||
//string fileName = Path.GetFileName(filePath);
|
||||
//FileInfo info = new FileInfo(uploadfilepath);
|
||||
//long fileSize = info.Length;
|
||||
//Response.ClearContent();
|
||||
//Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
|
||||
//Response.ContentType = "excel/plain";
|
||||
//Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||
//Response.AddHeader("Content-Length", fileSize.ToString().Trim());
|
||||
//Response.TransmitFile(uploadfilepath, 0, fileSize);
|
||||
//Response.End();
|
||||
string rootPath = Server.MapPath("~/");
|
||||
string initTemplatePath = Const.NDTBatchTemplateUrl;
|
||||
string uploadfilepath = string.Empty;
|
||||
@@ -177,8 +166,8 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
NPOI.SS.UserModel.IWorkbook workbook;
|
||||
using (FileStream stream = new FileStream(newUrl, FileMode.Open, FileAccess.Read))
|
||||
{
|
||||
workbook = new NPOI.XSSF.UserModel.XSSFWorkbook(stream);
|
||||
//workbook = new NPOI.HSSF.UserModel.HSSFWorkbook(stream);
|
||||
workbook = new NPOI.XSSF.UserModel.XSSFWorkbook(stream);//.xlsx
|
||||
//workbook = new NPOI.HSSF.UserModel.HSSFWorkbook(stream);//.xls
|
||||
}
|
||||
// 创建单元格样式
|
||||
NPOI.SS.UserModel.ICellStyle cellStyle = workbook.CreateCellStyle();
|
||||
@@ -188,17 +177,36 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
cellStyle.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
|
||||
cellStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Center;
|
||||
cellStyle.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Center;
|
||||
cellStyle.WrapText = true;//自动换行
|
||||
cellStyle.WrapText = true;//自动换行
|
||||
var font = workbook.CreateFont();
|
||||
font.FontHeightInPoints = 10;
|
||||
cellStyle.SetFont(font);
|
||||
|
||||
// 第二步:创建新数据行
|
||||
//尾部样式
|
||||
NPOI.SS.UserModel.ICellStyle bottomStyle = workbook.CreateCellStyle();
|
||||
bottomStyle.BorderTop = NPOI.SS.UserModel.BorderStyle.Thin;
|
||||
bottomStyle.BorderRight = NPOI.SS.UserModel.BorderStyle.Thin;
|
||||
bottomStyle.BorderBottom = NPOI.SS.UserModel.BorderStyle.Thin;
|
||||
bottomStyle.BorderLeft = NPOI.SS.UserModel.BorderStyle.Thin;
|
||||
bottomStyle.Alignment = NPOI.SS.UserModel.HorizontalAlignment.Left;
|
||||
bottomStyle.VerticalAlignment = NPOI.SS.UserModel.VerticalAlignment.Top;
|
||||
bottomStyle.WrapText = true;//自动换行
|
||||
var bottomfont = workbook.CreateFont();
|
||||
bottomfont.FontHeightInPoints = 10;
|
||||
bottomStyle.SetFont(bottomfont);
|
||||
|
||||
//第二步:创建新数据行
|
||||
NPOI.SS.UserModel.ISheet sheet = workbook.GetSheetAt(0);
|
||||
NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
|
||||
NPOI.SS.UserModel.ICell cell;
|
||||
|
||||
// 添加数据
|
||||
//设置生成下拉框的行和列
|
||||
SetCellDropdownList(sheet, 6, 6, new List<string>() { "合格", "不合格" }.ToArray());//是否合格
|
||||
SetCellDropdownList(sheet, 7, 7, new List<string>() { "Ⅰ", "Ⅱ", "Ⅲ", "Ⅳ", "Ⅴ" }.ToArray());//评定级别
|
||||
var defects = from x in Funs.DB.Base_Defect select x.DefectName;//缺陷
|
||||
SetCellDropdownList(sheet, 8, 8, new List<string>() { string.Join(",", defects.ToList())}.ToArray());
|
||||
|
||||
//添加数据
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(batchTrust.ProjectName);//工程名称
|
||||
@@ -244,63 +252,351 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
if (!string.IsNullOrEmpty(batchTrustItemLists.FirstOrDefault().GrooveTypeCode))
|
||||
{
|
||||
cell.SetCellValue(batchTrustItemLists.FirstOrDefault().GrooveTypeCode);//坡口形式
|
||||
}
|
||||
}
|
||||
|
||||
cell = row5.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(batchTrust.DetectionRateValue + "%");//检测比例
|
||||
|
||||
|
||||
int i = 9;
|
||||
foreach (var item in batchTrustItemLists)
|
||||
//未满11行,填充空白行到11行;超过11行按实际行填充
|
||||
if (batchTrustItemLists.Count() < 11)
|
||||
{
|
||||
// 第二步:创建新数据行
|
||||
row = sheet.CreateRow(i);
|
||||
// 添加数据
|
||||
foreach (var item in batchTrustItemLists)
|
||||
{
|
||||
// 第二步:创建新数据行
|
||||
row = sheet.CreateRow(i);
|
||||
// 添加数据
|
||||
cell = row.CreateCell(0);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue((i - 8).ToString());//序号
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.PipelineCode.ToString());//管线号
|
||||
|
||||
cell = row.CreateCell(2);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.WeldJointCode);//焊口号
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.WelderCode);//焊工号
|
||||
|
||||
cell = row.CreateCell(4);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//检测总数
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//合格数
|
||||
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//是否合格
|
||||
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//评定级别
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//缺陷
|
||||
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//返修位置
|
||||
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//备注
|
||||
i++;
|
||||
}
|
||||
|
||||
for (int j = 0; j < 11 - batchTrustItemLists.Count(); j++)
|
||||
{
|
||||
// 第二步:创建新数据行
|
||||
row = sheet.CreateRow(i);
|
||||
// 添加数据
|
||||
cell = row.CreateCell(0);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue((i - 8).ToString());//序号
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//管线号
|
||||
|
||||
cell = row.CreateCell(2);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//焊口号
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//焊工号
|
||||
|
||||
cell = row.CreateCell(4);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//检测总数
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//合格数
|
||||
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//是否合格
|
||||
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//评定级别
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//缺陷
|
||||
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//返修位置
|
||||
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//备注
|
||||
|
||||
i++;
|
||||
}
|
||||
|
||||
//尾部 签字盖章
|
||||
// 创建新数据行
|
||||
row = sheet.CreateRow(20);
|
||||
row.HeightInPoints = 43;
|
||||
CellRangeAddress region = new CellRangeAddress(20, 20, 0, 1);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(0);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue((i - 8).ToString());//序号
|
||||
cell.SetCellValue("委托方单位:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.PipelineCode.ToString());//管线号
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(20, 20, 2, 3);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(2);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.WeldJointCode);//焊口号
|
||||
cell.SetCellValue("评片人:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.WelderCode);//焊工号
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(20, 20, 4, 6);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(4);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//检测总数
|
||||
cell.SetCellValue("检测方单位:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//合格数
|
||||
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//是否合格
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(20, 20, 7, 10);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//评定级别
|
||||
cell.SetCellValue("监理单位:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//缺陷
|
||||
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//返修位置
|
||||
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//备注
|
||||
i++;
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
row = sheet.CreateRow(21);
|
||||
row.HeightInPoints = 43;
|
||||
region = new CellRangeAddress(21, 21, 0, 1);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(0);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(21, 21, 2, 3);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(2);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(21, 21, 4, 6);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(4);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(21, 21, 7, 10);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(7);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = bottomStyle;
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var item in batchTrustItemLists)
|
||||
{
|
||||
// 第二步:创建新数据行
|
||||
row = sheet.CreateRow(i);
|
||||
// 添加数据
|
||||
cell = row.CreateCell(0);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue((i - 8).ToString());//序号
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.PipelineCode.ToString());//管线号
|
||||
|
||||
cell = row.CreateCell(2);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.WeldJointCode);//焊口号
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(item.WelderCode);//焊工号
|
||||
|
||||
cell = row.CreateCell(4);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//检测总数
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//合格数
|
||||
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//是否合格
|
||||
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//评定级别
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//缺陷
|
||||
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//返修位置
|
||||
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue("");//备注
|
||||
i++;
|
||||
}
|
||||
|
||||
//尾部 签字盖章
|
||||
// 创建新数据行
|
||||
row = sheet.CreateRow(i);
|
||||
row.HeightInPoints = 43;
|
||||
CellRangeAddress region = new CellRangeAddress(i, i, 0, 1);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(0);
|
||||
cell.SetCellValue("委托方单位:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(i, i, 2, 3);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(2);
|
||||
cell.SetCellValue("评片人:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(i, i, 4, 6);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(4);
|
||||
cell.SetCellValue("检测方单位:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(i, i, 7, 10);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(7);
|
||||
cell.SetCellValue("监理单位:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
row = sheet.CreateRow(i + 1);
|
||||
row.HeightInPoints = 43;
|
||||
region = new CellRangeAddress(i + 1, i + 1, 0, 1);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(0);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(1);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(i + 1, i + 1, 2, 3);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(2);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(3);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(i + 1, i + 1, 4, 6);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(4);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(5);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
region = new CellRangeAddress(i + 1, i + 1, 7, 10);
|
||||
sheet.AddMergedRegion(region);
|
||||
cell = row.CreateCell(7);
|
||||
cell.SetCellValue("日期:");
|
||||
cell.CellStyle = bottomStyle;
|
||||
|
||||
cell = row.CreateCell(8);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(9);
|
||||
cell.CellStyle = bottomStyle;
|
||||
cell = row.CreateCell(10);
|
||||
cell.CellStyle = bottomStyle;
|
||||
}
|
||||
// 第三步:写入文件流
|
||||
using (FileStream stream = new FileStream(newUrl, FileMode.Create, FileAccess.Write))
|
||||
@@ -322,7 +618,37 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 设置单元格下拉框约束
|
||||
/// </summary>
|
||||
/// <param name="sheet"></param>
|
||||
/// <param name="firstcol"></param>
|
||||
/// <param name="lastcol"></param>
|
||||
/// <param name="vals"></param>
|
||||
public static void SetCellDropdownList(NPOI.SS.UserModel.ISheet sheet, int firstcol, int lastcol, string[] vals)
|
||||
{
|
||||
//设置生成下拉框的行和列
|
||||
var cellRegions = new CellRangeAddressList(1, 65535, firstcol, lastcol);
|
||||
NPOI.SS.UserModel.IDataValidation validation = null;
|
||||
|
||||
if (sheet.GetType().Name.Contains("XSSF")) // .xlsx
|
||||
{
|
||||
NPOI.XSSF.UserModel.XSSFDataValidationHelper helper = new NPOI.XSSF.UserModel.XSSFDataValidationHelper((NPOI.XSSF.UserModel.XSSFSheet)sheet);//获得一个数据验证Helper
|
||||
//IDataValidation
|
||||
validation = helper.CreateValidation(
|
||||
helper.CreateExplicitListConstraint(vals), cellRegions);//创建约束
|
||||
}
|
||||
else // HSSF .xls
|
||||
{
|
||||
//設置 下拉框內容
|
||||
NPOI.HSSF.UserModel.DVConstraint constraint = NPOI.HSSF.UserModel.DVConstraint.CreateExplicitListConstraint(vals);
|
||||
validation = new NPOI.HSSF.UserModel.HSSFDataValidation(cellRegions, constraint);
|
||||
}
|
||||
sheet.AddValidationData(validation);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 将Dataset的数据导入数据库
|
||||
/// <summary>
|
||||
/// 将Dataset的数据导入数据库
|
||||
@@ -341,7 +667,7 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
responeData.message = "导入Excel格式错误!Excel只有" + count.ToString().Trim() + "列";
|
||||
return responeData;
|
||||
}
|
||||
if (pds.Count > 0 && pds != null)
|
||||
if (pds.Count-2 > 0 && pds != null)
|
||||
{
|
||||
string NDEId = string.Empty;
|
||||
//string unitworkId = string.Empty;
|
||||
@@ -415,143 +741,138 @@ namespace FineUIPro.Web.HJGL.NDT
|
||||
ndes.Add(nde);
|
||||
}
|
||||
|
||||
for (int i = 9; i < pds.Count; i++)
|
||||
for (int i = 9; i < pds.Count - 2; i++)
|
||||
{
|
||||
HJGL_Batch_NDEItem item = new HJGL_Batch_NDEItem();
|
||||
item.NDEItemID = SQLHelper.GetNewID(typeof(Model.HJGL_Batch_NDEItem));
|
||||
item.NDEID = NDEId;
|
||||
var batchTrustItems = BLL.Batch_BatchTrustItemService.GetViewBatchTrustItem(this.TrustBatchId);
|
||||
if (batchTrustItems != null)
|
||||
if (!string.IsNullOrEmpty(pds[i].B.ToString()) && !string.IsNullOrEmpty(pds[i].C.ToString()))
|
||||
{
|
||||
var trustItem = batchTrustItems.FirstOrDefault(x => x.PipelineCode == pds[i].B.ToString() && x.WeldJointCode == pds[i].C.ToString());
|
||||
if (trustItem != null)
|
||||
HJGL_Batch_NDEItem item = new HJGL_Batch_NDEItem();
|
||||
item.NDEItemID = SQLHelper.GetNewID(typeof(Model.HJGL_Batch_NDEItem));
|
||||
item.NDEID = NDEId;
|
||||
var batchTrustItems = BLL.Batch_BatchTrustItemService.GetViewBatchTrustItem(this.TrustBatchId);
|
||||
if (batchTrustItems != null)
|
||||
{
|
||||
item.TrustBatchItemId = trustItem.TrustBatchItemId;
|
||||
item.DetectionTypeId = trustItem.DetectionTypeId;
|
||||
|
||||
//检测总数
|
||||
if (pds[i].E != null && !string.IsNullOrEmpty(pds[i].E.ToString()))
|
||||
var trustItem = batchTrustItems.FirstOrDefault(x => x.PipelineCode == pds[i].B.ToString() && x.WeldJointCode == pds[i].C.ToString());
|
||||
if (trustItem != null)
|
||||
{
|
||||
try
|
||||
item.TrustBatchItemId = trustItem.TrustBatchItemId;
|
||||
item.DetectionTypeId = trustItem.DetectionTypeId;
|
||||
|
||||
//检测总数
|
||||
if (pds[i].E != null && !string.IsNullOrEmpty(pds[i].E.ToString()))
|
||||
{
|
||||
item.TotalFilm = Funs.GetNewInt(pds[i].E.ToString());
|
||||
if (item.TotalFilm == null)
|
||||
try
|
||||
{
|
||||
item.TotalFilm = Funs.GetNewInt(pds[i].E.ToString());
|
||||
if (item.TotalFilm == null)
|
||||
{
|
||||
result.Add("检测总数[" + pds[i].E.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
result.Add("检测总数[" + pds[i].E.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
//合格数
|
||||
if (pds[i].F != null && !string.IsNullOrEmpty(pds[i].F.ToString()))
|
||||
{
|
||||
result.Add("检测总数[" + pds[i].E.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
//合格数
|
||||
if (pds[i].F != null && !string.IsNullOrEmpty(pds[i].F.ToString()))
|
||||
{
|
||||
try
|
||||
{
|
||||
item.PassFilm = Funs.GetNewInt(pds[i].F.ToString());
|
||||
if (item.PassFilm == null)
|
||||
try
|
||||
{
|
||||
item.PassFilm = Funs.GetNewInt(pds[i].F.ToString());
|
||||
if (item.PassFilm == null)
|
||||
{
|
||||
result.Add("合格数[" + pds[i].F.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
result.Add("合格数[" + pds[i].F.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
//是否合格
|
||||
if (pds[i].G != null && !string.IsNullOrEmpty(pds[i].G.ToString()))
|
||||
{
|
||||
result.Add("合格数[" + pds[i].F.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
//是否合格
|
||||
if (pds[i].G != null && !string.IsNullOrEmpty(pds[i].G.ToString()))
|
||||
{
|
||||
if (pds[i].G.ToString() == "合格" || pds[i].G.ToString() == "不合格")
|
||||
{
|
||||
item.CheckResult = pds[i].G.ToString() == "合格" ? "1" : "2";
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add("是否合格[" + pds[i].G.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
//评定级别
|
||||
if (pds[i].H != null && !string.IsNullOrEmpty(pds[i].H.ToString()))
|
||||
{
|
||||
string gudgeGrade = pds[i].H.ToString();
|
||||
if (gudgeGrade != "Ⅰ" && gudgeGrade != "Ⅱ" && gudgeGrade != "Ⅲ" && gudgeGrade != "Ⅳ" && gudgeGrade != "Ⅴ")
|
||||
{
|
||||
result.Add("评定级别" + gudgeGrade + "错误");
|
||||
}
|
||||
else
|
||||
{
|
||||
item.JudgeGrade = gudgeGrade;
|
||||
}
|
||||
}
|
||||
//缺陷
|
||||
if (pds[i].I != null && !string.IsNullOrEmpty(pds[i].I.ToString()))
|
||||
{
|
||||
string checkDefects = pds[i].I.ToString();
|
||||
string defectIds = string.Empty;
|
||||
string[] lists = checkDefects.Split(',');
|
||||
foreach (var j in lists)
|
||||
{
|
||||
var u = defects.Where(x => x.DefectName == j.Trim()).FirstOrDefault();
|
||||
if (u == null)
|
||||
if (pds[i].G.ToString() == "合格" || pds[i].G.ToString() == "不合格")
|
||||
{
|
||||
result.Add("缺陷" + j.Trim() + "不存在");
|
||||
item.CheckResult = pds[i].G.ToString() == "合格" ? "1" : "2";
|
||||
}
|
||||
else
|
||||
{
|
||||
var q = BLL.Base_DefectService.GetDefectByDefectName(u.DefectName);
|
||||
defectIds += q.DefectId + ",";
|
||||
result.Add("是否合格[" + pds[i].G.ToString() + "]格式错误");
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(defectIds))
|
||||
//评定级别
|
||||
if (pds[i].H != null && !string.IsNullOrEmpty(pds[i].H.ToString()))
|
||||
{
|
||||
defectIds = defectIds.Substring(0, defectIds.LastIndexOf(","));
|
||||
item.CheckDefects = defectIds;
|
||||
string gudgeGrade = pds[i].H.ToString();
|
||||
if (gudgeGrade != "Ⅰ" && gudgeGrade != "Ⅱ" && gudgeGrade != "Ⅲ" && gudgeGrade != "Ⅳ" && gudgeGrade != "Ⅴ")
|
||||
{
|
||||
result.Add("评定级别" + gudgeGrade + "错误");
|
||||
}
|
||||
else
|
||||
{
|
||||
item.JudgeGrade = gudgeGrade;
|
||||
}
|
||||
}
|
||||
}
|
||||
//返修位置
|
||||
if (pds[i].J != null && !string.IsNullOrEmpty(pds[i].J.ToString()))
|
||||
{
|
||||
item.RepairLocation = pds[i].J.ToString();
|
||||
}
|
||||
if (pds[i].K != null && !string.IsNullOrEmpty(pds[i].K.ToString()))
|
||||
{
|
||||
item.Remark = pds[i].K.ToString();
|
||||
}
|
||||
//报告日期
|
||||
if (pds[6].H != null && !string.IsNullOrEmpty(pds[6].H.ToString()))
|
||||
{
|
||||
try
|
||||
//缺陷
|
||||
if (pds[i].I != null && !string.IsNullOrEmpty(pds[i].I.ToString()))
|
||||
{
|
||||
item.ReportDate = Funs.GetNewDateTime(pds[6].H.ToString());
|
||||
if (item.ReportDate == null)
|
||||
string checkDefects = pds[i].I.ToString();
|
||||
string defectIds = string.Empty;
|
||||
string[] lists = checkDefects.Split(',');
|
||||
foreach (var j in lists)
|
||||
{
|
||||
var u = defects.Where(x => x.DefectName == j.Trim()).FirstOrDefault();
|
||||
if (u == null)
|
||||
{
|
||||
result.Add("缺陷" + j.Trim() + "不存在");
|
||||
}
|
||||
else
|
||||
{
|
||||
var q = BLL.Base_DefectService.GetDefectByDefectName(u.DefectName);
|
||||
defectIds += q.DefectId + ",";
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(defectIds))
|
||||
{
|
||||
defectIds = defectIds.Substring(0, defectIds.LastIndexOf(","));
|
||||
item.CheckDefects = defectIds;
|
||||
}
|
||||
}
|
||||
//返修位置
|
||||
if (pds[i].J != null && !string.IsNullOrEmpty(pds[i].J.ToString()))
|
||||
{
|
||||
item.RepairLocation = pds[i].J.ToString();
|
||||
}
|
||||
if (pds[i].K != null && !string.IsNullOrEmpty(pds[i].K.ToString()))
|
||||
{
|
||||
item.Remark = pds[i].K.ToString();
|
||||
}
|
||||
//报告日期
|
||||
if (pds[6].H != null && !string.IsNullOrEmpty(pds[6].H.ToString()))
|
||||
{
|
||||
try
|
||||
{
|
||||
item.ReportDate = Funs.GetNewDateTime(pds[6].H.ToString());
|
||||
if (item.ReportDate == null)
|
||||
{
|
||||
result.Add("报告日期" + pds[6].H.ToString() + "格式错误");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
result.Add("报告日期" + pds[6].H.ToString() + "格式错误");
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
result.Add("报告日期" + pds[6].H.ToString() + "格式错误");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add("管线[" + pds[i].B.ToString() + "]焊口[" + pds[i].C.ToString() + "]" + "不存在该委托单中");
|
||||
}
|
||||
item.SubmitDate = DateTime.Now;
|
||||
ndeItems.Add(item);
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add("管线[" + pds[i].B.ToString() + "]焊口[" + pds[i].C.ToString() + "]" + "不存在该委托单中");
|
||||
}
|
||||
//var model = ndeItems.Where(x => x.TrustBatchItemId == item.TrustBatchItemId);
|
||||
//if (model.Count() == 0)
|
||||
//{
|
||||
item.SubmitDate = DateTime.Now;
|
||||
ndeItems.Add(item);
|
||||
//}
|
||||
// }
|
||||
}
|
||||
#region 数据验证和赋值
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -1032,7 +1032,7 @@ namespace FineUIPro.Web.HJGL.PointTrust
|
||||
protected void btnBack_Click(object sender, EventArgs e)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
string trustBatchId = string.Empty;
|
||||
//string trustBatchId = string.Empty;
|
||||
var lists = this.Grid1.SelectedRowIDArray;
|
||||
if (lists.Count() > 0)
|
||||
{
|
||||
@@ -1047,8 +1047,10 @@ namespace FineUIPro.Web.HJGL.PointTrust
|
||||
var batchTrustItem = (from x in db.HJGL_Batch_BatchTrustItem where x.PointBatchItemId == pointBatchItemId select x).FirstOrDefault();
|
||||
if (batchTrustItem != null)
|
||||
{
|
||||
trustBatchId = batchTrustItem.TrustBatchId;
|
||||
BLL.Batch_BatchTrustItemService.DeleteTrustItemByTrustBatchItemId(batchTrustItem.TrustBatchItemId);
|
||||
//trustBatchId = batchTrustItem.TrustBatchId;
|
||||
BLL.Batch_BatchTrustItemService.DeleteTrustItemByTrustBatchId(batchTrustItem.TrustBatchId);
|
||||
BLL.Batch_BatchTrustService.DeleteBatchTrustById(batchTrustItem.TrustBatchId);
|
||||
//BLL.Batch_BatchTrustItemService.DeleteTrustItemByTrustBatchItemId(batchTrustItem.TrustBatchItemId);
|
||||
}
|
||||
|
||||
//修改点口中的委托状态
|
||||
@@ -1057,17 +1059,25 @@ namespace FineUIPro.Web.HJGL.PointTrust
|
||||
{
|
||||
if (pointBatchItem.IsBuildTrust != null)
|
||||
{
|
||||
pointBatchItem.IsBuildTrust = null;
|
||||
pointBatchItem.IsBuildTrust = null;//是否委托
|
||||
pointBatchItem.PointState = null;//点口类型
|
||||
pointBatchItem.PointDate = null;//点口时间
|
||||
db.SubmitChanges();
|
||||
}
|
||||
var pointBatch = BLL.PointBatchService.GetPointBatchById(pointBatchItem.PointBatchId);
|
||||
if (pointBatch!=null)
|
||||
{
|
||||
pointBatch.IsClosed = null;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var trustItemList = BLL.Batch_BatchTrustItemService.GetBatchTrustItemByTrustBatchId(trustBatchId);
|
||||
if (trustItemList.Count == 0)
|
||||
{
|
||||
BLL.Batch_BatchTrustService.DeleteBatchTrustById(trustBatchId);
|
||||
}
|
||||
//var trustItemList = BLL.Batch_BatchTrustItemService.GetBatchTrustItemByTrustBatchId(trustBatchId);
|
||||
//if (trustItemList.Count == 0)
|
||||
//{
|
||||
// BLL.Batch_BatchTrustService.DeleteBatchTrustById(trustBatchId);
|
||||
//}
|
||||
PageInfo();
|
||||
BindGrid();
|
||||
ShowNotify("退回成功!", MessageBoxIcon.Success);
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestPackageData.aspx.cs" Inherits="FineUIPro.Web.HJGL.TestPackage.TestPackageData" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>试压包资料</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="200px" Title="WBS目录" ShowBorder="true" Layout="VBox"
|
||||
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
||||
<Items>
|
||||
<f:Tree ID="tvControlItem" ShowHeader="false" Title="试压包节点树" OnNodeCommand="tvControlItem_NodeCommand"
|
||||
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true" AutoLeafIdentification="true"
|
||||
EnableSingleExpand="true" EnableTextSelection="true">
|
||||
</f:Tree>
|
||||
<f:HiddenField runat="server" ID="hdPTP_ID"></f:HiddenField>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel ID="Panel2" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
|
||||
ShowHeader="false" Layout="Region" BoxConfigAlign="Stretch">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" Title="试压包" EnableCollapse="true" Collapsed="false"
|
||||
runat="server" BoxFlex="1" DataKeyNames="PTP_ID" AllowCellEditing="true"
|
||||
EnableColumnLines="true" ClicksToEdit="2" DataIDField="PTP_ID" AllowSorting="true"
|
||||
SortField="TestPackageNo" SortDirection="ASC" OnSort="Grid1_Sort" EnableTextSelection="True"
|
||||
AllowPaging="true" IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" ForceFit="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server"></f:ToolbarFill>
|
||||
<f:DropDownList ID="drpPrintType" runat="server" Label="格式" LabelAlign="Right" LabelWidth="120px" Width="200px" Hidden="false">
|
||||
<f:ListItem Value="1" Text="PDF" Selected="true" />
|
||||
<f:ListItem Value="2" Text="Word" />
|
||||
</f:DropDownList>
|
||||
<f:Button ID="btnPrint" Text="打印" ToolTip="打印" Icon="Printer" runat="server" OnClick="btnPrint_Click" EnablePostBack="true" EnableAjax="false">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RenderField HeaderText="试压包号" ColumnID="TestPackageNo" DataField="TestPackageNo" SortField="TestPackageNo"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="160px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="试压名称" ColumnID="TestPackageName" DataField="TestPackageName" SortField="TestPackageName"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="试压状态" ColumnID="" DataField="" SortField=""
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="试压时间" ColumnID="" DataField="" SortField=""
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="试压结论" ColumnID="" DataField="" SortField=""
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="打印状态" ColumnID="" DataField="" SortField=""
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="120px">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<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="90px" 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>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
function reloadGrid() {
|
||||
__doPostBack(null, 'reloadGrid');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,522 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.IO;
|
||||
using Model;
|
||||
|
||||
namespace FineUIPro.Web.HJGL.TestPackage
|
||||
{
|
||||
public partial class TestPackageData : PageBase
|
||||
{
|
||||
#region 定义项
|
||||
/// <summary>
|
||||
/// 试压包主键
|
||||
/// </summary>
|
||||
public string PTP_ID
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["PTP_ID"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["PTP_ID"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单位工程Id
|
||||
/// </summary>
|
||||
public string UnitWorkId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["UnitWorkId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["UnitWorkId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
this.InitTreeMenu();//加载树
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载树装置-单位-工作区
|
||||
/// <summary>
|
||||
/// 加载树
|
||||
/// </summary>
|
||||
private void InitTreeMenu()
|
||||
{
|
||||
this.tvControlItem.Nodes.Clear();
|
||||
|
||||
TreeNode rootNode1 = new TreeNode();
|
||||
rootNode1.NodeID = "1";
|
||||
rootNode1.Text = "建筑工程";
|
||||
rootNode1.CommandName = "建筑工程";
|
||||
rootNode1.Selectable = false;
|
||||
rootNode1.EnableClickEvent = true;
|
||||
this.tvControlItem.Nodes.Add(rootNode1);
|
||||
|
||||
TreeNode rootNode2 = new TreeNode();
|
||||
rootNode2.NodeID = "2";
|
||||
rootNode2.Text = "安装工程";
|
||||
rootNode2.CommandName = "安装工程";
|
||||
rootNode2.Expanded = true;
|
||||
rootNode2.EnableClickEvent = true;
|
||||
this.tvControlItem.Nodes.Add(rootNode2);
|
||||
var pUnits = (from x in Funs.DB.Project_ProjectUnit where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
// 获取当前用户所在单位
|
||||
var currUnit = pUnits.FirstOrDefault(x => x.UnitId == this.CurrUser.UnitId);
|
||||
|
||||
var unitWorkList = (from x in Funs.DB.WBS_UnitWork
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||
&& x.SuperUnitWork == null && x.UnitId != null && x.ProjectType != null
|
||||
select x).ToList();
|
||||
//List<Model.PTP_TestPackage> testPackageLists = (from x in Funs.DB.PTP_TestPackage
|
||||
//where x.ProjectId == this.CurrUser.LoginProjectId
|
||||
//select x).ToList();
|
||||
List<Model.WBS_UnitWork> unitWork1 = null;
|
||||
List<Model.WBS_UnitWork> unitWork2 = null;
|
||||
|
||||
//// 当前为施工单位,只能操作本单位的数据
|
||||
//if (currUnit != null && currUnit.UnitType == Const.ProjectUnitType_2)
|
||||
//{
|
||||
// unitWork1 = (from x in unitWorkList
|
||||
// where x.UnitId == this.CurrUser.UnitId && x.ProjectType == "1"
|
||||
// select x).ToList();
|
||||
// unitWork2 = (from x in unitWorkList
|
||||
// where x.UnitId == this.CurrUser.UnitId && x.ProjectType == "2"
|
||||
// select x).ToList();
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
unitWork1 = (from x in unitWorkList where x.ProjectType == "1" select x).ToList();
|
||||
unitWork2 = (from x in unitWorkList where x.ProjectType == "2" select x).ToList();
|
||||
//}
|
||||
|
||||
if (unitWork1.Count() > 0)
|
||||
{
|
||||
foreach (var q in unitWork1)
|
||||
{
|
||||
var unitNamesUnitIds = BLL.UnitService.getUnitNamesUnitIds(q.UnitId);
|
||||
TreeNode tn1 = new TreeNode();
|
||||
tn1.NodeID = q.UnitWorkId;
|
||||
tn1.Text = q.UnitWorkName;
|
||||
tn1.ToolTip = "施工单位:" + unitNamesUnitIds;
|
||||
tn1.CommandName = "单位工程";
|
||||
tn1.EnableClickEvent = true;
|
||||
rootNode1.Nodes.Add(tn1);
|
||||
//var testPackageUnitList = testPackageLists.Where(x => x.UnitWorkId == q.UnitWorkId).ToList();
|
||||
//BindNodes(tn1, testPackageUnitList);
|
||||
}
|
||||
}
|
||||
if (unitWork2.Count() > 0)
|
||||
{
|
||||
foreach (var q in unitWork2)
|
||||
{
|
||||
var unitNamesUnitIds = BLL.UnitService.getUnitNamesUnitIds(q.UnitId);
|
||||
TreeNode tn2 = new TreeNode();
|
||||
tn2.NodeID = q.UnitWorkId;
|
||||
tn2.Text = q.UnitWorkName;
|
||||
tn2.ToolTip = "施工单位:" + unitNamesUnitIds;
|
||||
tn2.CommandName = "单位工程";
|
||||
tn2.EnableClickEvent = true;
|
||||
rootNode2.Nodes.Add(tn2);
|
||||
//var testPackageUnitList = testPackageLists.Where(x => x.UnitWorkId == q.UnitWorkId).ToList();
|
||||
//BindNodes(tn2, testPackageUnitList);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 点击TreeView
|
||||
/// <summary>
|
||||
/// 点击TreeView
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||
{
|
||||
this.UnitWorkId = tvControlItem.SelectedNodeID;
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 数据绑定
|
||||
/// <summary>
|
||||
/// 数据绑定
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @" select t.PTP_ID,
|
||||
t.ProjectId,
|
||||
t.UnitId,
|
||||
t.UnitWorkId,
|
||||
t.TestPackageNo,
|
||||
t.TestPackageName
|
||||
from PTP_TestPackage t where t.ProjectId=@projectId and t.UnitWorkId=@unitWorkId";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
listStr.Add(new SqlParameter("@unitWorkId", this.UnitWorkId));
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// 2.获取当前分页数据
|
||||
//var table = this.GetPagedDataTable(Grid1, tb1);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
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 打印
|
||||
/// <summary>
|
||||
/// 打印按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
{
|
||||
this.PTP_ID = this.Grid1.SelectedRowID;
|
||||
exportWord("1");
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条试压包", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
protected void exportWord(string type)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.PTP_ID))
|
||||
{
|
||||
var updateTestPackage = Funs.DB.PTP_TestPackage.FirstOrDefault(x => x.PTP_ID == this.PTP_ID);
|
||||
if (updateTestPackage != null)
|
||||
{
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.FastReportService.ResetData();
|
||||
|
||||
if (this.drpPrintType.SelectedValue == "1")//pdf格式
|
||||
{
|
||||
ListItem[] list = new ListItem[5];
|
||||
list[0] = new ListItem("0", "File\\Fastreport\\JGZL\\管道试压包文件资料.frx");
|
||||
list[1] = new ListItem("1", "File\\Fastreport\\JGZL\\管道压力试验技术要求.frx");
|
||||
list[2] = new ListItem("2", "File\\Fastreport\\JGZL\\管道压力包文件资料目录.frx");
|
||||
list[3] = new ListItem("3", "File\\Fastreport\\JGZL\\管道系统压力试验条件确认记录.frx");
|
||||
list[4] = new ListItem("4", "File\\Fastreport\\JGZL\\管道试压包尾项清单.frx");
|
||||
//list[5] = new ListItem("5", "File\\Fastreport\\JGZL\\管道系统压力试验记录.frx");
|
||||
//list[6] = new ListItem("6", "File\\Fastreport\\JGZL\\管道材料材质标识检查记录.frx");
|
||||
//list[7] = new ListItem("7", "File\\Fastreport\\JGZL\\管道焊接工作记录.frx");
|
||||
//list[8] = new ListItem("8", "File\\Fastreport\\JGZL\\管道无损检测数量统计表.frx");
|
||||
//list[9] = new ListItem("9", "File\\Fastreport\\JGZL\\无损检测结果汇总表.frx");
|
||||
|
||||
List<Model.FastReportItem> FastReportItemList = new List<Model.FastReportItem>();
|
||||
foreach (var item in list)
|
||||
{
|
||||
FastReportItemList.Add(GetFastReportItem(updateTestPackage, item.Text));
|
||||
}
|
||||
|
||||
var Path = Funs.RootPath + "FileUpload/" + this.PTP_ID + ".pdf";
|
||||
|
||||
BLL.FastReportService.ExportMergeReport(FastReportItemList, Path, this.drpPrintType.SelectedValue);
|
||||
FileInfo info = new FileInfo(Path);
|
||||
long fileSize = info.Length;
|
||||
|
||||
System.Web.HttpContext.Current.Response.Clear();
|
||||
System.Web.HttpContext.Current.Response.ContentType = "application/x-zip-compressed";
|
||||
System.Web.HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode("交工资料.pdf", System.Text.Encoding.UTF8));
|
||||
System.Web.HttpContext.Current.Response.AddHeader("Content-Length", fileSize.ToString());
|
||||
System.Web.HttpContext.Current.Response.TransmitFile(Path, 0, fileSize);
|
||||
System.Web.HttpContext.Current.Response.Flush();
|
||||
System.Web.HttpContext.Current.Response.Close();
|
||||
File.Delete(Path);
|
||||
}
|
||||
else if (this.drpPrintType.SelectedValue == "2")//word格式
|
||||
{
|
||||
ListItem[] list = new ListItem[3];
|
||||
list[0] = new ListItem("0", "File\\Fastreport\\JGZL\\管道试压包文件资料.frx");
|
||||
list[1] = new ListItem("1", "File\\Fastreport\\JGZL\\管道压力试验技术要求.frx");
|
||||
list[2] = new ListItem("2", "File\\Fastreport\\JGZL\\管道压力包文件资料目录.frx");
|
||||
|
||||
List<Model.FastReportItem> FastReportItemList = new List<Model.FastReportItem>();
|
||||
foreach (var item in list)
|
||||
{
|
||||
FastReportItemList.Add(GetFastReportItem(updateTestPackage, item.Text));
|
||||
}
|
||||
var PathA = Funs.RootPath + "FileUpload/" + this.PTP_ID + ".docx";
|
||||
BLL.FastReportService.ExportMergeReport(FastReportItemList, PathA, this.drpPrintType.SelectedValue);
|
||||
Aspose.Words.Document doc1 = new Aspose.Words.Document(PathA);
|
||||
|
||||
ListItem[] list2 = new ListItem[1];
|
||||
list2[0] = new ListItem("3", "File\\Fastreport\\JGZL\\管道系统压力试验条件确认记录.frx");
|
||||
List<Model.FastReportItem> FastReportItemList2 = new List<Model.FastReportItem>();
|
||||
foreach (var item in list2)
|
||||
{
|
||||
FastReportItemList2.Add(GetFastReportItem(updateTestPackage, item.Text));
|
||||
}
|
||||
var PathB = Funs.RootPath + "FileUpload/" + this.PTP_ID + "2.docx";
|
||||
BLL.FastReportService.ExportMergeReport(FastReportItemList2, PathB, this.drpPrintType.SelectedValue);
|
||||
Aspose.Words.Document doc2 = new Aspose.Words.Document(PathB);
|
||||
|
||||
// 合并 Word DOcx 文档
|
||||
doc1.AppendDocument(doc2, Aspose.Words.ImportFormatMode.KeepSourceFormatting);
|
||||
|
||||
|
||||
ListItem[] list3 = new ListItem[1];
|
||||
list3[0] = new ListItem("4", "File\\Fastreport\\JGZL\\管道试压包尾项清单.frx");
|
||||
List<Model.FastReportItem> FastReportItemList3 = new List<Model.FastReportItem>();
|
||||
foreach (var item in list3)
|
||||
{
|
||||
FastReportItemList3.Add(GetFastReportItem(updateTestPackage, item.Text));
|
||||
}
|
||||
var PathC = Funs.RootPath + "FileUpload/" + this.PTP_ID + "3.docx";
|
||||
BLL.FastReportService.ExportMergeReport(FastReportItemList3, PathC, this.drpPrintType.SelectedValue);
|
||||
Aspose.Words.Document doc3 = new Aspose.Words.Document(PathC);
|
||||
// 合并 Word DOcx 文档
|
||||
doc1.AppendDocument(doc3, Aspose.Words.ImportFormatMode.KeepSourceFormatting);
|
||||
|
||||
ListItem[] list4 = new ListItem[2];
|
||||
list4[0] = new ListItem("5", "File\\Fastreport\\JGZL\\管道系统压力试验记录.frx");
|
||||
list4[1] = new ListItem("6", "File\\Fastreport\\JGZL\\管道材料材质标识检查记录.frx");
|
||||
List<Model.FastReportItem> FastReportItemList4 = new List<Model.FastReportItem>();
|
||||
foreach (var item in list4)
|
||||
{
|
||||
FastReportItemList4.Add(GetFastReportItem(updateTestPackage, item.Text));
|
||||
}
|
||||
var PathD = Funs.RootPath + "FileUpload/" + this.PTP_ID + "4.docx";
|
||||
BLL.FastReportService.ExportMergeReport(FastReportItemList4, PathD, this.drpPrintType.SelectedValue);
|
||||
Aspose.Words.Document doc4 = new Aspose.Words.Document(PathD);
|
||||
// 合并 Word DOcx 文档
|
||||
doc1.AppendDocument(doc4, Aspose.Words.ImportFormatMode.KeepSourceFormatting);
|
||||
|
||||
ListItem[] list5 = new ListItem[3];
|
||||
list5[0] = new ListItem("7", "File\\Fastreport\\JGZL\\管道焊接工作记录.frx");
|
||||
list5[1] = new ListItem("8", "File\\Fastreport\\JGZL\\管道无损检测数量统计表.frx");
|
||||
list5[2] = new ListItem("9", "File\\Fastreport\\JGZL\\无损检测结果汇总表.frx");
|
||||
List<Model.FastReportItem> FastReportItemList5 = new List<Model.FastReportItem>();
|
||||
foreach (var item in list5)
|
||||
{
|
||||
FastReportItemList5.Add(GetFastReportItem(updateTestPackage, item.Text));
|
||||
}
|
||||
var PathE = Funs.RootPath + "FileUpload/" + this.PTP_ID + "5.docx";
|
||||
BLL.FastReportService.ExportMergeReport(FastReportItemList5, PathE, this.drpPrintType.SelectedValue);
|
||||
Aspose.Words.Document doc5 = new Aspose.Words.Document(PathE);
|
||||
// 合并 Word DOcx 文档
|
||||
doc1.AppendDocument(doc5, Aspose.Words.ImportFormatMode.KeepSourceFormatting);
|
||||
|
||||
//将合并的文档保存为 DOCX 文件
|
||||
doc1.Save(Funs.RootPath + "FileUpload/doc.docx");
|
||||
|
||||
var Path = Funs.RootPath + "FileUpload/doc.docx";
|
||||
FileInfo info = new FileInfo(Path);
|
||||
long fileSize = info.Length;
|
||||
|
||||
System.Web.HttpContext.Current.Response.Clear();
|
||||
System.Web.HttpContext.Current.Response.ContentType = "application/x-zip-compressed";
|
||||
System.Web.HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode("交工资料.docx", System.Text.Encoding.UTF8));
|
||||
System.Web.HttpContext.Current.Response.AddHeader("Content-Length", fileSize.ToString());
|
||||
System.Web.HttpContext.Current.Response.TransmitFile(Path, 0, fileSize);
|
||||
System.Web.HttpContext.Current.Response.Flush();
|
||||
System.Web.HttpContext.Current.Response.Close();
|
||||
File.Delete(Path);
|
||||
File.Delete(PathA);
|
||||
File.Delete(PathB);
|
||||
File.Delete(PathC);
|
||||
File.Delete(PathD);
|
||||
File.Delete(PathE);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择要打印的单据!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected Model.FastReportItem GetFastReportItem(Model.PTP_TestPackage updateTestPackage, string printType)
|
||||
{
|
||||
string initTemplatePath = "";
|
||||
Model.FastReportItem fastReportItem = new Model.FastReportItem();
|
||||
switch (printType)
|
||||
{
|
||||
case "0"://管道试压包文件资料
|
||||
{
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
|
||||
var InstallationName = BLL.UnitWorkService.getUnitWorkByUnitWorkId(updateTestPackage.UnitWorkId).UnitWorkName;
|
||||
keyValuePairs.Add("ProjectName", projectName);
|
||||
keyValuePairs.Add("InstallationName", projectName + InstallationName);
|
||||
keyValuePairs.Add("TestPackageNo", updateTestPackage.TestPackageNo);
|
||||
BLL.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道试压包文件资料.frx";
|
||||
fastReportItem.ReportPath = initTemplatePath;
|
||||
fastReportItem.ParameterValues = keyValuePairs;
|
||||
}
|
||||
break;
|
||||
case "1"://管道压力试验技术要求
|
||||
{
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
BLL.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道压力试验技术要求.frx";
|
||||
fastReportItem.ReportPath = initTemplatePath;
|
||||
fastReportItem.ParameterValues = keyValuePairs;
|
||||
}
|
||||
break;
|
||||
case "2"://管道压力包文件资料目录
|
||||
{
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
BLL.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道压力包文件资料目录.frx";
|
||||
fastReportItem.ReportPath = initTemplatePath;
|
||||
fastReportItem.ParameterValues = keyValuePairs;
|
||||
}
|
||||
break;
|
||||
case "3"://管道系统压力试验条件确认记录
|
||||
{
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
var projectName = BLL.ProjectService.GetProjectNameByProjectId(this.CurrUser.LoginProjectId);
|
||||
var InstallationName = BLL.UnitWorkService.getUnitWorkByUnitWorkId(updateTestPackage.UnitWorkId).UnitWorkName;
|
||||
keyValuePairs.Add("ProjectName", projectName);
|
||||
keyValuePairs.Add("InstallationName", InstallationName);
|
||||
keyValuePairs.Add("TestPackageNo", updateTestPackage.TestPackageNo);
|
||||
keyValuePairs.Add("TestPackageName", updateTestPackage.TestPackageName);
|
||||
BLL.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道系统压力试验条件确认记录.frx";
|
||||
fastReportItem.ReportPath = initTemplatePath;
|
||||
fastReportItem.ParameterValues = keyValuePairs;
|
||||
}
|
||||
break;
|
||||
case "4"://管道试压包尾项清单
|
||||
{
|
||||
string sql = @"select PT_PipeId,PTP_ID,pipelineList.PipelineId,pipeline.PipelineCode from PTP_PipelineList as pipelineList
|
||||
left join HJGL_Pipeline pipeline on pipeline.PipelineId = pipelineList.PipelineId
|
||||
where PTP_ID=@ptp_id";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>
|
||||
{
|
||||
new SqlParameter("@ptp_id", this.PTP_ID),
|
||||
};
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(sql, parameter);
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "Data";
|
||||
dt.Columns.Add("SortNumber");
|
||||
dt.Columns.Add("PipelineCode");
|
||||
|
||||
for (int i = 0; i < tb.Rows.Count; i++)
|
||||
{
|
||||
var newRows = dt.NewRow();
|
||||
newRows["SortNumber"] = (i + 1).ToString();
|
||||
newRows["PipelineCode"] = tb.Rows[i]["PipelineCode"].ToString();
|
||||
|
||||
dt.Rows.Add(newRows);
|
||||
}
|
||||
BLL.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("TestPackageNo", updateTestPackage.TestPackageNo);
|
||||
BLL.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道试压包尾项清单.frx";
|
||||
|
||||
List<DataTable> dataTables = new List<DataTable>();
|
||||
dataTables.Add(dt);
|
||||
fastReportItem.ReportPath = initTemplatePath;
|
||||
fastReportItem.ParameterValues = keyValuePairs;
|
||||
fastReportItem.DataTables = dataTables;
|
||||
}
|
||||
break;
|
||||
case "5"://管道系统压力试验记录
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
case "6"://管道材料材质标识检查记录
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
case "7"://管道焊接工作记录
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
case "8"://管道无损检测数量统计表
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
case "9"://无损检测结果汇总表
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
return fastReportItem;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HJGL.TestPackage
|
||||
{
|
||||
|
||||
|
||||
public partial class TestPackageData
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
/// <summary>
|
||||
/// tvControlItem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvControlItem;
|
||||
|
||||
/// <summary>
|
||||
/// hdPTP_ID 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdPTP_ID;
|
||||
|
||||
/// <summary>
|
||||
/// Panel2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel2;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// drpPrintType 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpPrintType;
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
}
|
||||
}
|
||||
@@ -111,7 +111,7 @@
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<Items>
|
||||
<f:MenuButton ID="btnMenuImport" EnablePostBack="true" runat="server" Text="导入" Icon="PageExcel" OnClick="btnMenuImport_Click" Hidden="true">
|
||||
<f:MenuButton ID="btnMenuImport" EnablePostBack="true" runat="server" Text="导入" Icon="PageExcel" OnClick="btnMenuImport_Click" >
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuNew" EnablePostBack="true" runat="server" Text="新增" Icon="Add" OnClick="btnMenuNew_Click">
|
||||
</f:MenuButton>
|
||||
|
||||
@@ -48,40 +48,35 @@
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="试压包信息" Height="350px"
|
||||
EnableCollapse="true" runat="server" BoxFlex="1" DataKeyNames="PipelineCode" AllowCellEditing="true"
|
||||
AllowColumnLocking="true" EnableColumnLines="true" ClicksToEdit="2" DataIDField="PipelineCode" EnableBigData="true"
|
||||
EnableColumnLines="true" ClicksToEdit="2" DataIDField="PipelineCode"
|
||||
AllowSorting="true" SortField="PipelineCode" SortDirection="ASC"
|
||||
AllowPaging="true" IsDatabasePaging="false" PageSize="300" EnableBigDataRowTip="false"
|
||||
AllowPaging="true" IsDatabasePaging="false" PageSize="300"
|
||||
EnableTextSelection="True" >
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号"
|
||||
Width="60px" HeaderTextAlign="Center" TextAlign="Center" />
|
||||
<f:RenderField Width="100px" ColumnID="" DataField="" SortField=""
|
||||
<f:RenderField Width="300px" ColumnID="TestPackageNo" DataField="TestPackageNo" SortField="TestPackageNo"
|
||||
FieldType="String" HeaderText="试压包号" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="" DataField="" SortField=""
|
||||
<f:RenderField Width="200px" ColumnID="TestPackageName" DataField="TestPackageName" SortField="TestPackageName"
|
||||
FieldType="String" HeaderText="系统名称" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="130px" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
|
||||
<f:RenderField Width="330px" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
|
||||
FieldType="String" HeaderText="管线号" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="" DataField="" SortField=""
|
||||
<f:RenderField Width="100px" ColumnID="TestPressure" DataField="TestPressure" SortField="TestPressure"
|
||||
FieldType="String" HeaderText="调整试验压力" HeaderTextAlign="Center"
|
||||
TextAlign="Left">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="备注" ColumnID=""
|
||||
DataField="" SortField="" FieldType="String" HeaderTextAlign="Center"
|
||||
<f:RenderField HeaderText="备注" ColumnID="Remark"
|
||||
DataField="Remark" SortField="Remark" FieldType="String" HeaderTextAlign="Center"
|
||||
TextAlign="Left" Width="100px">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
|
||||
@@ -63,6 +63,7 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
//void BindGrid2()
|
||||
//{
|
||||
// string strSql = @" select Import.DesignBasisDataImportId
|
||||
@@ -154,6 +155,7 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
alert.Show();
|
||||
}
|
||||
}
|
||||
|
||||
#region 读Excel提取数据
|
||||
/// <summary>
|
||||
/// 从Excel提取数据--》Dataset
|
||||
@@ -192,8 +194,6 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region 将Dataset的数据导入数据库
|
||||
/// <summary>
|
||||
/// 将Dataset的数据导入数据库
|
||||
@@ -216,8 +216,11 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
if (pds.Count > 0 && pds != null)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var getPipeline = from x in db.View_HJGL_WeldJoint where x.ProjectId == this.CurrUser.LoginProjectId select x;
|
||||
|
||||
//var getPipeline = from x in db.View_HJGL_WeldJoint where x.ProjectId == this.CurrUser.LoginProjectId select x;
|
||||
var getPipeline = from x in db.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId
|
||||
&& x.UnitWorkId==Request.Params["UnitWorkId"]
|
||||
select x;
|
||||
|
||||
Model.WBS_UnitWork unitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(Request.Params["UnitWorkId"]);
|
||||
for (int i = 1; i < pds.Count; i++)
|
||||
{
|
||||
@@ -229,46 +232,67 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
pipeline.UnitId = unitWork.UnitId;
|
||||
}
|
||||
|
||||
string col0 = pds[i].A;
|
||||
if (string.IsNullOrEmpty(col0))
|
||||
if (pds[i].A != null)
|
||||
{
|
||||
string col0 = pds[i].A.ToString();
|
||||
if (string.IsNullOrEmpty(col0))
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "试压包编号" + "," + "此项为必填项!" + "|");
|
||||
}
|
||||
else
|
||||
{
|
||||
pipeline.TestPackageNo = col0;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "试压包编号" + "," + "此项为必填项!" + "|");
|
||||
}
|
||||
else
|
||||
if (pds[i].B != null)
|
||||
{
|
||||
pipeline.TestPackageNo = col0;
|
||||
pipeline.TestPackageName = pds[i].B.ToString();//系统名称
|
||||
}
|
||||
|
||||
pipeline.TestPackageName = pds[i].B;//系统名称
|
||||
|
||||
string col2 = pds[i].C;
|
||||
if (string.IsNullOrEmpty(col2))
|
||||
if (pds[i].C != null)
|
||||
{
|
||||
string col2 = pds[i].C.ToString();
|
||||
if (string.IsNullOrEmpty(col2))
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "管线号" + "," + "此项为必填项!" + "|");
|
||||
}
|
||||
else
|
||||
{
|
||||
var line = getPipeline.FirstOrDefault(u => u.PipelineCode == col2);
|
||||
if (line != null)
|
||||
{
|
||||
var ptpLineList = from x in db.PTP_PipelineList where x.PipelineId == line.PipelineId select x;
|
||||
if (ptpLineList != null && DrpType.SelectedValue == "0")
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "管线号[" + col2 + "]已试压!" + "|");
|
||||
}
|
||||
else
|
||||
{
|
||||
pipeline.PipelineId = line.PipelineId;
|
||||
pipeline.PipelineCode = col2;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "管线号[" + col2 + "]不存在!" + "|");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "管线号" + "," + "此项为必填项!" + "|");
|
||||
}
|
||||
else
|
||||
if (pds[i].D != null)
|
||||
{
|
||||
var line = getPipeline.FirstOrDefault(u => u.PipelineCode == col2);
|
||||
if (line!=null)
|
||||
{
|
||||
pipeline.PipelineId = line.PipelineId;
|
||||
pipeline.PipelineCode = col2;
|
||||
}
|
||||
pipeline.AdjustTestPressure = pds[i].D.ToString();
|
||||
}
|
||||
string col3 = pds[i].D;
|
||||
if (!string.IsNullOrEmpty(col3))
|
||||
if (pds[i].E != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
decimal testPressure = Convert.ToDecimal(col3);
|
||||
pipeline.TestPressure = testPressure;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
result.Add("第" + (i + 1).ToString() + "行," + "调整试验压力格式输入有误" + "|");
|
||||
}
|
||||
}
|
||||
pipeline.Remark = pds[i].E;
|
||||
pipeline.Remark = pds[i].E.ToString();
|
||||
}
|
||||
pipeline.Tabler = this.CurrUser.PersonId;
|
||||
pipeline.TableDate = DateTime.Now;
|
||||
|
||||
@@ -289,7 +313,6 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
{
|
||||
errorInfos = string.Empty;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -339,6 +362,7 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 提交
|
||||
/// <summary>
|
||||
/// 提交
|
||||
@@ -371,9 +395,9 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
if (DrpType.SelectedValue == "1")//更新导入
|
||||
{
|
||||
//BLL.PipelineMatService.DeletePipeLineMatByUnitWorkId(unitworkId);//删除原有管线对应材料
|
||||
BLL.WeldJointService.DeleteWeldJointByUnitWorkId(unitworkId);////删除原有管线对应焊口
|
||||
BLL.PipelineService.DeletePipelineByUnitworkId(unitworkId);//删除原有管线
|
||||
AddView_HJGL_WeldJoint(PipelineList);//导入数据
|
||||
//BLL.WeldJointService.DeleteWeldJointByUnitWorkId(unitworkId);////删除原有管线对应焊口
|
||||
//BLL.PipelineService.DeletePipelineByUnitworkId(unitworkId);//删除原有管线
|
||||
AddView_TestPackage_PipelineList(PipelineList);//导入数据
|
||||
|
||||
//Model.HJGL_DesignBasisDataImport hJGL_DesignBasisDataImport = new Model.HJGL_DesignBasisDataImport();
|
||||
//hJGL_DesignBasisDataImport.DesignBasisDataImportId = SQLHelper.GetNewID();
|
||||
@@ -396,7 +420,7 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
}
|
||||
else //补充导入
|
||||
{
|
||||
AddView_HJGL_WeldJoint(PipelineList);
|
||||
AddView_TestPackage_PipelineList(PipelineList);
|
||||
|
||||
//Model.HJGL_DesignBasisDataImport hJGL_DesignBasisDataImport = new Model.HJGL_DesignBasisDataImport();
|
||||
//hJGL_DesignBasisDataImport.DesignBasisDataImportId = SQLHelper.GetNewID();
|
||||
@@ -427,12 +451,12 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
ShowNotify("请先将错误数据修正,再重新导入提交!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
public void AddView_HJGL_WeldJoint(List<Model.View_TestPackage_PipelineList> PipelineList)
|
||||
public void AddView_TestPackage_PipelineList(List<Model.View_TestPackage_PipelineList> PipelineList)
|
||||
{
|
||||
string unitworkId = Request.Params["UnitWorkId"];
|
||||
|
||||
addTestPackage(PipelineList, unitworkId);
|
||||
addHJGL_WeldJoints(PipelineList, unitworkId);
|
||||
addPTP_PipelineList(PipelineList, unitworkId);
|
||||
|
||||
}
|
||||
void addTestPackage(List<Model.View_TestPackage_PipelineList> PipelineList, string UnitWorkId)
|
||||
@@ -448,7 +472,8 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
TestPackageName=x.TestPackageName,
|
||||
Tabler =x.Tabler,
|
||||
TableDate=x.TableDate,
|
||||
Remark = x.Remark
|
||||
Remark = x.Remark,
|
||||
AdjustTestPressure=x.AdjustTestPressure
|
||||
}).DistinctBy(temp => new
|
||||
{
|
||||
temp.PTP_ID,
|
||||
@@ -457,7 +482,8 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
temp.UnitWorkId,
|
||||
temp.TestPackageNo,
|
||||
temp.TestPackageName,
|
||||
temp.Remark
|
||||
temp.Remark,
|
||||
temp.AdjustTestPressure
|
||||
}).ToList();
|
||||
for (int i = 0; i < pipelines.Count(); i++)
|
||||
{
|
||||
@@ -471,6 +497,7 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
pipeline.Tabler = pipelines[i].Tabler;
|
||||
pipeline.TableDate = pipelines[i].TableDate;
|
||||
pipeline.Remark = pipelines[i].Remark;
|
||||
pipeline.AdjustTestPressure = pipelines[i].AdjustTestPressure;
|
||||
|
||||
var isExistTestPackageNo = TestPackageEditService.GetTestPackageByNo(pipeline.TestPackageNo, pipeline.UnitWorkId);
|
||||
if (isExistTestPackageNo != null) // 更新试压包
|
||||
@@ -485,40 +512,41 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
}
|
||||
}
|
||||
}
|
||||
void addHJGL_WeldJoints(List<Model.View_TestPackage_PipelineList> PipelineList, string UnitWorkId)
|
||||
void addPTP_PipelineList(List<Model.View_TestPackage_PipelineList> PipelineList, string UnitWorkId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
var getpipelines = from y in db.PTP_TestPackage where y.UnitWorkId == UnitWorkId select y;
|
||||
var allWeldJoints = from x in db.PTP_PipelineList
|
||||
var getTestPackage = from y in db.PTP_TestPackage where y.UnitWorkId == UnitWorkId select y;
|
||||
var allPipelineLists = from x in db.PTP_PipelineList
|
||||
join y in db.PTP_TestPackage on x.PTP_ID equals y.PTP_ID
|
||||
where y.UnitWorkId == UnitWorkId
|
||||
select x;
|
||||
List<Model.PTP_PipelineList> weldJoints_add = new List<Model.PTP_PipelineList>();
|
||||
List<Model.PTP_PipelineList> pipelineList_add = new List<Model.PTP_PipelineList>();
|
||||
|
||||
var weldJoints = (from x in PipelineList
|
||||
select new Model.PTP_PipelineList
|
||||
{
|
||||
{
|
||||
PTP_ID = x.PTP_ID,
|
||||
TestPackageNo=x.TestPackageNo,
|
||||
PipelineId = x.PipelineId,
|
||||
TestPressure = x.TestPressure,
|
||||
//TestPressure = x.TestPressure,
|
||||
}).DistinctBy(temp => new
|
||||
{
|
||||
temp.PTP_ID,
|
||||
temp.TestPackageNo,
|
||||
temp.PipelineId,
|
||||
temp.TestPressure
|
||||
//temp.TestPressure
|
||||
}).ToList();
|
||||
|
||||
var pipelineCodes = weldJoints.Select(x => x.PTP_ID).Distinct().ToList();
|
||||
for (int i = 0; i < weldJoints.Count(); i++)
|
||||
{
|
||||
Model.PTP_PipelineList weldJoint = new Model.PTP_PipelineList();
|
||||
//weldJoint.PipelineId = getpipelines.Where(x => x.TestPackageNo == weldJoints[i].PipelineCode).FirstOrDefault().PipelineId;
|
||||
//weldJoint.WeldJointCode = weldJoints[i].WeldJointCode;
|
||||
//weldJoint.PipelineCode = weldJoints[i].PipelineCode;
|
||||
|
||||
weldJoint.PTP_ID = getTestPackage.Where(x => x.TestPackageNo == weldJoints[i].TestPackageNo).FirstOrDefault().PTP_ID;
|
||||
weldJoint.PipelineId = weldJoints[i].PipelineId;
|
||||
//weldJoint.TestPressure = weldJoints[i].TestPressure;
|
||||
|
||||
var isExistJot = allWeldJoints.FirstOrDefault(x => x.PTP_ID == weldJoint.PTP_ID && x.PipelineId == weldJoint.PipelineId);
|
||||
if (isExistJot != null) // 更新焊口
|
||||
var isExistJot = allPipelineLists.FirstOrDefault(x => x.PTP_ID == weldJoint.PTP_ID && x.PipelineId == weldJoint.PipelineId);
|
||||
if (isExistJot != null) // 更新试压管线
|
||||
{
|
||||
weldJoint.PT_PipeId = isExistJot.PT_PipeId;
|
||||
BLL.TestPackageEditService.UpdatePipelineList(weldJoint);
|
||||
@@ -526,130 +554,43 @@ namespace FineUIPro.Web.HJGL.TestPackage
|
||||
else // 增加试压管线
|
||||
{
|
||||
weldJoint.PT_PipeId = SQLHelper.GetNewID();
|
||||
weldJoints_add.Add(weldJoint);
|
||||
pipelineList_add.Add(weldJoint);
|
||||
}
|
||||
}
|
||||
if (weldJoints_add.Count > 0)
|
||||
if (pipelineList_add.Count > 0)
|
||||
{
|
||||
//BLL.TestPackageEditService.AddPipelineList(weldJoints_add);
|
||||
}
|
||||
Model.SGGLDB db2 = Funs.DB;
|
||||
List<Model.PTP_PipelineList> delJoints = new List<Model.PTP_PipelineList>();
|
||||
var allWeldJoints2 = from x in db2.PTP_PipelineList
|
||||
join y in db2.PTP_TestPackage on x.PTP_ID equals y.PTP_ID
|
||||
where y.UnitWorkId == Request.Params["UnitWorkId"]
|
||||
select x;
|
||||
foreach (var pipelineCode in pipelineCodes)
|
||||
{
|
||||
var pipelineWeldJointCodes = weldJoints.Where(x => x.PTP_ID == pipelineCode).Select(x => x.PipelineId).ToList();
|
||||
var q = allWeldJoints2.Where(x => x.PTP_ID == pipelineCode && !pipelineWeldJointCodes.Contains(x.PipelineId)).ToList();
|
||||
delJoints.AddRange(q);
|
||||
}
|
||||
if (delJoints.Count() > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
db2.PTP_PipelineList.DeleteAllOnSubmit(delJoints);
|
||||
db2.SubmitChanges();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
string weldJointCodes = string.Empty;
|
||||
foreach (var item in delJoints)
|
||||
{
|
||||
weldJointCodes += item.PipelineId + ",";
|
||||
}
|
||||
Alert.ShowInParent(weldJointCodes, MessageBoxIcon.Warning);
|
||||
}
|
||||
BLL.TestPackageEditService.AddPipelineLists(pipelineList_add);
|
||||
}
|
||||
//Model.SGGLDB db2 = Funs.DB;
|
||||
//List<Model.PTP_PipelineList> delJoints = new List<Model.PTP_PipelineList>();
|
||||
//var allWeldJoints2 = from x in db2.PTP_PipelineList
|
||||
// join y in db2.PTP_TestPackage on x.PTP_ID equals y.PTP_ID
|
||||
// where y.UnitWorkId == Request.Params["UnitWorkId"]
|
||||
// select x;
|
||||
//foreach (var pipelineCode in pipelineCodes)
|
||||
//{
|
||||
// var pipelineWeldJointCodes = weldJoints.Where(x => x.PTP_ID == pipelineCode).Select(x => x.PipelineId).ToList();
|
||||
// var q = allWeldJoints2.Where(x => x.PTP_ID == pipelineCode && !pipelineWeldJointCodes.Contains(x.PipelineId)).ToList();
|
||||
// delJoints.AddRange(q);
|
||||
//}
|
||||
//if (delJoints.Count() > 0)
|
||||
//{
|
||||
// try
|
||||
// {
|
||||
// db2.PTP_PipelineList.DeleteAllOnSubmit(delJoints);
|
||||
// db2.SubmitChanges();
|
||||
// }
|
||||
// catch (Exception)
|
||||
// {
|
||||
// string weldJointCodes = string.Empty;
|
||||
// foreach (var item in delJoints)
|
||||
// {
|
||||
// weldJointCodes += item.PipelineId + ",";
|
||||
// }
|
||||
// Alert.ShowInParent(weldJointCodes, MessageBoxIcon.Warning);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
//public void AddView_HJGL_WeldJoint(List<Model.View_HJGL_WeldJoint> PipelineList)
|
||||
//{
|
||||
// string unitworkId = Request.Params["UnitWorkId"];
|
||||
|
||||
// var getPipeline = from x in Funs.DB.View_HJGL_WeldJoint where x.UnitWorkId== unitworkId select x;
|
||||
// List<Model.HJGL_WeldJoint> weldJoints_add = new List<Model.HJGL_WeldJoint>();
|
||||
|
||||
// for (int i = 0; i < PipelineList.Count(); i++)
|
||||
// {
|
||||
// var pipeLineId = string.Empty;
|
||||
// var WeldJointId = string.Empty;
|
||||
|
||||
// Model.HJGL_Pipeline pipeline = new Model.HJGL_Pipeline();
|
||||
// pipeline.PipelineId = PipelineList[i].PipelineId;
|
||||
// pipeline.ProjectId = this.CurrUser.LoginProjectId;
|
||||
// pipeline.UnitId = PipelineList[i].UnitId;
|
||||
// pipeline.UnitWorkId = PipelineList[i].UnitWorkId;
|
||||
// pipeline.PipelineCode = PipelineList[i].PipelineCode;
|
||||
// pipeline.SingleName = PipelineList[i].SingleName;
|
||||
// pipeline.SingleNumber = PipelineList[i].SingleNumber;
|
||||
// pipeline.MediumId = PipelineList[i].MediumId;
|
||||
// pipeline.PipingClassId = PipelineList[i].PipingClassId;
|
||||
// pipeline.DetectionRateId = PipelineList[i].DetectionRateId;
|
||||
// pipeline.DetectionType = PipelineList[i].DetectionType;
|
||||
// pipeline.DesignPress = PipelineList[i].DesignPress;
|
||||
// pipeline.DesignTemperature = PipelineList[i].DesignTemperature;
|
||||
// pipeline.TestMedium = PipelineList[i].TestMedium;
|
||||
// pipeline.TestPressure = PipelineList[i].TestPressure;
|
||||
// pipeline.PressurePipingClassId = PipelineList[i].PressurePipingClassId;
|
||||
// pipeline.PipeLenth = PipelineList[i].PipeLenth;
|
||||
// pipeline.LeakMedium = PipelineList[i].LeakMedium;
|
||||
// pipeline.LeakPressure = PipelineList[i].LeakPressure;
|
||||
// pipeline.VacuumPressure = PipelineList[i].VacuumPressure;
|
||||
// pipeline.PCMedium = PipelineList[i].PCMedium;
|
||||
// pipeline.MaterialId = PipelineList[i].MaterialId;
|
||||
// pipeline.Remark = PipelineList[i].Remark;
|
||||
|
||||
// var isExistPipelineCode = getPipeline.FirstOrDefault(x => x.PipelineCode == pipeline.PipelineCode && x.UnitWorkId == Request.Params["UnitWorkId"]);
|
||||
// if (isExistPipelineCode != null) // 更新管线
|
||||
// {
|
||||
// pipeLineId = isExistPipelineCode.PipelineId;
|
||||
// pipeline.PipelineId = isExistPipelineCode.PipelineId;
|
||||
// BLL.PipelineService.UpdatePipeline(pipeline);
|
||||
// }
|
||||
// else // 增加管线
|
||||
// {
|
||||
// pipeLineId = SQLHelper.GetNewID();
|
||||
// pipeline.PipelineId = pipeLineId;
|
||||
// BLL.PipelineService.AddPipeline(pipeline);
|
||||
|
||||
// }
|
||||
|
||||
// Model.HJGL_WeldJoint weldJoint = new Model.HJGL_WeldJoint();
|
||||
// weldJoint.PipelineId = pipeLineId;
|
||||
// weldJoint.WeldJointCode = PipelineList[i].WeldJointCode;
|
||||
// weldJoint.PipelineCode = PipelineList[i].PipelineCode;
|
||||
// weldJoint.Material1Id = PipelineList[i].Material1Id;
|
||||
// weldJoint.Material2Id = PipelineList[i].Material2Id;
|
||||
// weldJoint.Dia = PipelineList[i].Dia;
|
||||
// weldJoint.Size = PipelineList[i].Size;
|
||||
// weldJoint.Thickness = PipelineList[i].Thickness;
|
||||
// weldJoint.Specification = PipelineList[i].Specification;
|
||||
// weldJoint.WeldTypeId = PipelineList[i].WeldTypeId;
|
||||
// weldJoint.DetectionTypeId = PipelineList[i].DetectionTypeId;
|
||||
// weldJoint.JointAttribute = PipelineList[i].JointAttribute;
|
||||
// weldJoint.ProjectId= PipelineList[i].ProjectId;
|
||||
// var isExistJot = getPipeline.FirstOrDefault(x => x.PipelineId == pipeLineId && x.WeldJointCode == PipelineList[i].WeldJointCode);
|
||||
// if (isExistJot != null) // 更新焊口
|
||||
// {
|
||||
// weldJoint.WeldJointId = isExistJot.WeldJointId;
|
||||
// BLL.WeldJointService.UpdateWeldJoint(weldJoint);
|
||||
// }
|
||||
// else // 增加焊口
|
||||
// {
|
||||
// weldJoint.WeldJointId=SQLHelper.GetNewID();
|
||||
// weldJoints_add.Add(weldJoint);
|
||||
// //BLL.WeldJointService.AddWeldJoint(weldJoint);
|
||||
// }
|
||||
// }
|
||||
// if (weldJoints_add.Count>0)
|
||||
// {
|
||||
// BLL.WeldJointService.AddBulkWeldJoint(weldJoints_add);
|
||||
|
||||
// }
|
||||
|
||||
//}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
<TreeNode id="1E36EA73-D536-4215-BFB9-A8771937BD89" Text="工厂预制管理" NavigateUrl=""><TreeNode id="0A3F6AB0-535E-489C-9F64-4FFE61C17085" Text="材料管理" NavigateUrl="HJGL/PreDesign/MaterialManage.aspx"></TreeNode>
|
||||
<TreeNode id="8255554C-0A92-4C7B-BF19-779AF0220A8C" Text="预制组件管理" NavigateUrl="HJGL/PreDesign/PrePipeline.aspx"></TreeNode>
|
||||
<TreeNode id="F18CFC0E-47E0-477A-9AB3-72B88D438299" Text="堆场规划" NavigateUrl="HJGL/PreDesign/YardPlanning.aspx"></TreeNode>
|
||||
<TreeNode id="25DED954-10C9-47CC-99F2-C44FDE9E0A81" Text="发货管理" NavigateUrl="HJGL/PreDesign/PackagingManage.aspx"></TreeNode>
|
||||
<TreeNode id="25DED954-10C9-47CC-99F2-C44FDE9E0A81" Text="包装管理" NavigateUrl="HJGL/PreDesign/PackagingManage.aspx"></TreeNode>
|
||||
<TreeNode id="EEC0D060-C15E-4D25-B015-C2B91F735DAC" Text="车次管理" NavigateUrl="HJGL/PreDesign/TrainNumberManager.aspx"></TreeNode>
|
||||
<TreeNode id="BD9C587E-17C2-49F1-82AE-A05117E41D89" Text="安装清单" NavigateUrl="HJGL/PreDesign/InstallList.aspx"></TreeNode>
|
||||
<TreeNode id="53948077-B51D-4FF3-BFB0-AB4E27C42875" Text="排产计划" NavigateUrl="HJGL/PreDesign/ProductionSchedulingPlan.aspx"></TreeNode>
|
||||
<TreeNode id="BD9C587E-17C2-49F1-82AE-A05117E41D89" Text="安装清单" NavigateUrl="HJGL/PreDesign/InstallList.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="9B828E92-733B-4AF9-9DD0-55ECD8B64AB8" Text="材料管理" NavigateUrl=""><TreeNode id="E29C1839-3530-45EC-A752-B26A0027E2CD" Text="入库管理" NavigateUrl=""><TreeNode id="324C72AF-447A-4308-AFB7-ABF788C58240" Text="入库申请" NavigateUrl="CLGL/InPlanMaster.aspx"></TreeNode>
|
||||
<TreeNode id="4A55351A-2440-4A2D-8509-3FFEE5FC8861" Text="入库单管理" NavigateUrl="CLGL/InputMaster.aspx"></TreeNode>
|
||||
@@ -26,7 +26,7 @@
|
||||
<TreeNode id="BCCA4D81-410C-4746-B1E4-F882BC3A25F4" Text="出库单管理" NavigateUrl="CLGL/OutputMaster.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="9579C717-769E-4CC0-9E54-EE03D87C15A5" Text="库存管理" NavigateUrl=""><TreeNode id="803F9828-52FA-4EF7-99C7-ADA99DADE9FB" Text="库存管理" NavigateUrl="CLGL/MaterialStock.aspx"></TreeNode>
|
||||
<TreeNode id="D15E534F-98F3-4B8A-8656-EAF165DE917F" Text="盘点" NavigateUrl="CLGL/MaterialStock.aspx"></TreeNode>
|
||||
<TreeNode id="D15E534F-98F3-4B8A-8656-EAF165DE917F" Text="盘点" NavigateUrl="CLGL/InputMaster.aspx"></TreeNode>
|
||||
<TreeNode id="C05EF3BE-AB13-4852-B2AA-1095BE4EEB2F" Text="到货分析" NavigateUrl="CLGL/ArrivalStatistics.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
</TreeNode>
|
||||
@@ -64,6 +64,7 @@
|
||||
<TreeNode id="55976B16-2C33-406E-B514-2FE42D031071" Text="试压前条件确认" NavigateUrl="HJGL/TestPackage/TestPackageAudit.aspx"></TreeNode>
|
||||
<TreeNode id="24941EDC-CED6-4176-8CCD-EB5F08156D08" Text="尾项检查及消项" NavigateUrl="HJGL/TestPackage/ItemEndCheck.aspx"></TreeNode>
|
||||
<TreeNode id="82951D78-9029-4F69-A032-00C47551B3E6" Text="压力试验" NavigateUrl="HJGL/TestPackage/TestPackageComplete.aspx"></TreeNode>
|
||||
<TreeNode id="244F69AE-EBD0-4DFA-A959-E13CE8D85968" Text="试压包资料" NavigateUrl="HJGL/TestPackage/TestPackageData.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
<TreeNode id="96e7b541-7364-4075-a2b2-d6e0024f1781" Text="泄露性/真空管理" NavigateUrl=""><TreeNode id="4b1c7e7d-dc3e-46f6-b1e9-fab4457e7684" Text="泄露性/真空试验录入" NavigateUrl="HJGL/LeakVacuum/LeakVacuumEdit.aspx"></TreeNode>
|
||||
</TreeNode>
|
||||
|
||||
Reference in New Issue
Block a user