20260127 交工资料

This commit is contained in:
毕文静 2026-01-27 17:22:16 +08:00
parent 2529b4c36d
commit 48567d9403
6 changed files with 366 additions and 97 deletions

View File

@ -0,0 +1,175 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/27/2026 16:57:11" ReportInfo.Modified="01/27/2026 17:21:14" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
private void Table3_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Table3.PrintRow(0);
Table3.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqM3/HbiZANEYP3Y6oNtE7mqsCE0NW5tkXiWL0RJsdm/BnXhHrIFd8DaTyqYvkCZwzaaQipsiBeb+lBhzIDpDvfvxDsovr3/ckbYEBSCcpPFiH7Npcn4kPkDoxtl7XrCt1j63ma3mCLcLPN9o74aBqqd1WZsaEs7MLRtSWt4L/IDLoaEYKi0euV49rY12ECZLm">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="ISO_IsoNo" DataType="System.String" PropName="attach_image_id"/>
<Column Name="STE_Code" DataType="System.String" PropName="image_series"/>
<Column Name="Specifications" DataType="System.String" PropName="file_name"/>
<Column Name="PrescribedColor" DataType="System.String" PropName="file_size"/>
<Column Name="TubeIdentificationStatus" DataType="System.String" PropName="file_type"/>
<Column Name="PipeFittingName" DataType="System.String" PropName="created_date"/>
<Column Name="PipeFittingStatus" DataType="System.String" PropName="created_by"/>
<Column Name="Conclusion" DataType="System.String" PropName="series_desc"/>
<Column Name="file_path" Enabled="false" DataType="System.String"/>
<Column Name="series_timestamp" Enabled="false" DataType="System.String"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,623.69,118.12,396.9,392.17,477.22,108.67,278.78,515.02,86.23,200.81,315.39,382.72,450.05,498.48,565.81,623.7,311.85">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="98.29" Guides="0,98.29,18.9,65.21,33.08">
<TableObject Name="Table1" Width="623.69" Height="98.29" Border.Lines="Left, Right">
<TableColumn Name="Column1" Width="118.12"/>
<TableColumn Name="Column2" Width="278.78"/>
<TableColumn Name="Column3" Width="118.12"/>
<TableColumn Name="Column4" Width="108.67"/>
<TableRow Name="Row1" Height="65.21">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3543—G410" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All" Text="管道材料材质标识检查记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" RowSpan="2">
<TextObject Name="Text1" Left="274.05" Width="85.05" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell3" Border.Lines="Left, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell4" Border.Lines="Right, Top" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="33.08">
<TableCell Name="Cell6" Border.Lines="All" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child1" Top="102.29" Width="623.7" Height="37.8" Guides="0,37.8">
<TableObject Name="Table2" Width="623.69" Height="37.8" Border.Lines="Left, Top">
<TableColumn Name="Column5" Width="86.23"/>
<TableColumn Name="Column6" Width="114.58"/>
<TableColumn Name="Column7" Width="114.58"/>
<TableColumn Name="Column8" Width="67.33"/>
<TableColumn Name="Column9" Width="67.33"/>
<TableColumn Name="Column10" Width="48.43"/>
<TableColumn Name="Column11" Width="67.33"/>
<TableColumn Name="Column12" Width="57.88"/>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell10" Border.Lines="All" Text="管道编号/单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell11" Border.Lines="All" Text="材质" 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="规定色标&#13;&#10;颜色" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" Text="管子标识状态" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="管件&#13;&#10;名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell36" Border.Lines="All" Text="管件标识&#13;&#10;状态" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="结果" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</PageHeaderBand>
<DataBand Name="Data1" Top="144.09" Width="623.7" Height="37.8" Guides="0,37.8">
<TableObject Name="Table3" Width="623.69" Height="37.8" Border.Lines="Left, Top" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column13" Width="86.23"/>
<TableColumn Name="Column14" Width="114.58"/>
<TableColumn Name="Column15" Width="114.58"/>
<TableColumn Name="Column16" Width="67.33"/>
<TableColumn Name="Column17" Width="67.33"/>
<TableColumn Name="Column18" Width="48.43"/>
<TableColumn Name="Column19" Width="67.33"/>
<TableColumn Name="Column20" Width="57.88"/>
<TableRow Name="Row4" Height="37.8">
<TableCell Name="Cell38" Border.Lines="All" Text="[Data.ISO_IsoNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="All" Text="[Data.STE_Code]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell41" Border.Lines="All" Text="[Data.PrescribedColor]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell42" Border.Lines="All" Text="[Data.TubeIdentificationStatus]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell43" Border.Lines="All" Text="[Data.PipeFittingName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell44" Border.Lines="All" Text="[Data.PipeFittingStatus]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" Text="[Data.Conclusion]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="227.69" Width="623.7">
<ChildBand Name="Child2" Top="185.89" Width="623.7" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
<TableObject Name="Table4" Width="623.69" Height="37.8" Border.Lines="Left, Top">
<TableColumn Name="Column21" Width="86.23"/>
<TableColumn Name="Column22" Width="114.58"/>
<TableColumn Name="Column23" Width="114.58"/>
<TableColumn Name="Column24" Width="67.33"/>
<TableColumn Name="Column25" Width="67.33"/>
<TableColumn Name="Column26" Width="48.43"/>
<TableColumn Name="Column27" Width="67.33"/>
<TableColumn Name="Column28" Width="57.88"/>
<TableRow Name="Row5" Height="37.8">
<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"/>
<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"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="231.69" Width="623.7" Height="113.36" Guides="0,113.36,28.34,56.68,85.02">
<TableObject Name="Table5" Width="623.7" Height="113.36" Border.Lines="All">
<TableColumn Name="Column29" Width="311.85"/>
<TableColumn Name="Column30" Width="311.85"/>
<TableRow Name="Row6" Height="28.34">
<TableCell Name="Cell54" Border.Lines="All" Text=" 注:此表用于管道安装完成后对管道材质标识进行核查时记录。" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell55" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="28.34">
<TableCell Name="Cell59" Text="检查人:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="Left" Text="材料责任人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="28.34">
<TableCell Name="Cell64" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="Left" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="28.34">
<TableCell Name="Cell69" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="Left" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -1,13 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/27/2026 15:44:50" ReportInfo.Modified="01/27/2026 16:09:24" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary/>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,624.15,113.63,75.67,9.52,406.66,416.03,510.53,104.02,28.44,293.03,520.13,104.11,113.47,624.36,520.3101,104.05,85.15,179.71,66.25,170.3,255.45,435.16,623.7,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="340.2" Guides="0,340.2,85.05,56.7,18.9,28.35,113.4,226.8">
<TableObject Name="Table1" Width="624.15" Height="340.2" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column1" Width="28.44"/>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/27/2026 15:44:50" ReportInfo.Modified="01/27/2026 16:56:15" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
private void Table3_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// print the first table row - it is a header
// now enumerate the data source and print the table body
while (rowData.HasMoreRows)
{
// print the table body
Table3.PrintRow(0);
Table3.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFvm/IyIaJXoBll0nT9+Dp7A==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Part" DataType="System.String" PropName="attach_image_id"/>
<Column Name="MaterialName" DataType="System.String" PropName="image_series"/>
<Column Name="Grade" DataType="System.String" PropName="file_name"/>
<Column Name="Manufacturer" DataType="System.String" PropName="file_size"/>
<Column Name="PlanFilmThickness" DataType="System.String" PropName="file_type"/>
<Column Name="ActualFilmThickness" DataType="System.String" PropName="created_date"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="AnticorrosionCurrentStatus" DataType="System.String"/>
<Parameter Name="AnticorrosionPart" DataType="System.String"/>
<Parameter Name="AnticorrosionRequire" DataType="System.String"/>
<Parameter Name="InspectionConclusion" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,624.15,123.08,75.67,9.52,406.66,397.13,491.63,104.02,37.89,283.58,520.13,113.56,113.47,623.7,510.31,103.94,75.59,160.7,66.14,170.08,245.67,406.37,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="334.53" Guides="0,334.53,85.05,56.7,18.9,28.35,113.4,213.57,100.17,120.96">
<TableObject Name="Table1" Width="624.15" Height="334.53" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column1" Width="37.89"/>
<TableColumn Name="Column2" Width="75.67"/>
<TableColumn Name="Column3" Width="9.52"/>
<TableColumn Name="Column4" Width="293.03"/>
<TableColumn Name="Column4" Width="283.58"/>
<TableColumn Name="Column5" Width="113.47"/>
<TableColumn Name="Column6" Width="104.02"/>
<TableRow Name="Row1" Height="56.7">
@ -15,9 +72,9 @@
<TableCell Name="Cell2" Border.Lines="All" Font="宋体, 10.5pt"/>
<TableCell Name="Cell3" Border.Lines="All" Font="宋体, 10.5pt"/>
<TableCell Name="Cell4" Border.Lines="All" Text="防腐工程质量验收记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" RowSpan="2">
<TextObject Name="Text1" Left="302.4" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text1" Left="274.05" Width="94.5" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell5" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell26" Border.Lines="All" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="28.35">
@ -31,36 +88,36 @@
<TableRow Name="Row3" Height="28.35">
<TableCell Name="Cell11" Border.Lines="All" Text="防腐前表面状态" 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" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell13" Border.Lines="All" Text="[AnticorrosionCurrentStatus]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="113.4">
<TableRow Name="Row4" Height="100.17">
<TableCell Name="Cell16" Border.Lines="All" Text="防&#13;&#10;腐&#13;&#10;部&#13;&#10;位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt" ColSpan="5"/>
<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="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[AnticorrosionPart]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt" ColSpan="5"/>
<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="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="113.4">
<TableRow Name="Row5" Height="120.96">
<TableCell Name="Cell21" Border.Lines="All" Text="防腐&#13;&#10;层结&#13;&#10;构及&#13;&#10;要求" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt" ColSpan="5"/>
<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="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell22" Border.Lines="All" Text="[AnticorrosionRequire]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt" ColSpan="5"/>
<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="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child1" Top="344.2" Width="623.7" Height="292.95" Guides="0,292.95,28.35,56.7,85.05,113.4,141.75,170.1,198.45,226.8,255.15">
<TableObject Name="Table2" Width="624.36" Height="292.95">
<TableColumn Name="Column7" Width="66.25"/>
<TableColumn Name="Column8" Width="104.05"/>
<TableColumn Name="Column9" Width="85.15"/>
<TableColumn Name="Column10" Width="179.71"/>
<TableColumn Name="Column11" Width="85.15"/>
<TableColumn Name="Column12" Width="104.05"/>
<ChildBand Name="Child1" Top="338.53" Width="623.7" Height="292.95" Guides="0,292.95,28.35,56.7,85.05,113.4,141.75,170.1,198.45,226.8,255.15">
<TableObject Name="Table2" Width="623.7" Height="292.95">
<TableColumn Name="Column7" Width="66.14"/>
<TableColumn Name="Column8" Width="103.94"/>
<TableColumn Name="Column9" Width="75.59"/>
<TableColumn Name="Column10" Width="160.7"/>
<TableColumn Name="Column11" Width="103.94"/>
<TableColumn Name="Column12" Width="113.39"/>
<TableRow Name="Row6" Height="28.35">
<TableCell Name="Cell31" Border.Lines="All" Text="检查项目与要求" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -75,7 +132,7 @@
<TableCell Name="Cell38" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="28.35">
<TableCell Name="Cell41" Border.Lines="All" Text="设备、管道按规定进行了压力试验,具有工序交接记录" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -83,7 +140,7 @@
<TableCell Name="Cell43" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell44" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="28.35">
<TableCell Name="Cell46" Border.Lines="All" Text="基层表面处理方法正确,处理结果符合设计等级要求" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -91,7 +148,7 @@
<TableCell Name="Cell48" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="28.35">
<TableCell Name="Cell51" Border.Lines="All" Text="隔离层材料使用正确,层数或厚度符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -99,7 +156,7 @@
<TableCell Name="Cell53" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="28.35">
<TableCell Name="Cell61" Border.Lines="All" Text="防腐层材料的配比、试验符合有关规范规定,报告齐全" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -107,7 +164,7 @@
<TableCell Name="Cell63" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="28.35">
<TableCell Name="Cell67" Border.Lines="All" Text="防腐底层材料使用正确,层数、厚度符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -115,7 +172,7 @@
<TableCell Name="Cell69" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="28.35">
<TableCell Name="Cell73" Border.Lines="All" Text="防腐中间层材料使用正确,层数、厚度符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -123,7 +180,7 @@
<TableCell Name="Cell75" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell76" 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" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell78" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="28.35">
<TableCell Name="Cell79" Border.Lines="All" Text="防腐面层材料使用正确,层数、厚度符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
@ -131,7 +188,7 @@
<TableCell Name="Cell81" 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" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell84" Border.Lines="All" Text="合格" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
<TableRow Name="Row15" Height="37.8">
<TableCell Name="Cell85" Border.Lines="All" Text="部位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -144,33 +201,33 @@
</TableObject>
</ChildBand>
</PageHeaderBand>
<DataBand Name="Data1" Top="641.15" Width="623.7" Height="37.8" Guides="0,37.8">
<TableObject Name="Table3" Width="624.36" Height="37.8">
<TableColumn Name="Column13" Width="66.25"/>
<TableColumn Name="Column14" Width="104.05"/>
<TableColumn Name="Column15" Width="85.15"/>
<TableColumn Name="Column16" Width="179.71"/>
<TableColumn Name="Column17" Width="85.15"/>
<TableColumn Name="Column18" Width="104.05"/>
<DataBand Name="Data1" Top="635.48" Width="623.7" Height="37.8" Guides="0,37.8">
<TableObject Name="Table3" Width="623.7" Height="37.8" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column13" Width="66.14"/>
<TableColumn Name="Column14" Width="103.94"/>
<TableColumn Name="Column15" Width="75.59"/>
<TableColumn Name="Column16" Width="160.7"/>
<TableColumn Name="Column17" Width="103.94"/>
<TableColumn Name="Column18" Width="113.39"/>
<TableRow Name="Row25" Height="37.8">
<TableCell Name="Cell145" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell146" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell147" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell148" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell145" Border.Lines="All" Text="[Data.Part]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.MaterialName]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.Grade]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.Manufacturer]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell149" Border.Lines="All" Text="[Data.PlanFilmThickness]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
<TableCell Name="Cell150" Border.Lines="All" Text="[Data.ActualFilmThickness]" HorzAlign="Center" VertAlign="Center" Font="体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="724.75" Width="623.7">
<ChildBand Name="Child2" Top="682.95" Width="623.7" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
<TableObject Name="Table4" Width="624.36" Height="37.8">
<TableColumn Name="Column19" Width="66.25"/>
<TableColumn Name="Column20" Width="104.05"/>
<TableColumn Name="Column21" Width="85.15"/>
<TableColumn Name="Column22" Width="179.71"/>
<TableColumn Name="Column23" Width="85.15"/>
<TableColumn Name="Column24" Width="104.05"/>
<ColumnFooterBand Name="ColumnFooter1" Top="719.08" Width="623.7">
<ChildBand Name="Child2" Top="677.28" Width="623.7" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
<TableObject Name="Table4" Width="623.7" Height="37.8">
<TableColumn Name="Column19" Width="66.14"/>
<TableColumn Name="Column20" Width="103.94"/>
<TableColumn Name="Column21" Width="75.59"/>
<TableColumn Name="Column22" Width="160.7"/>
<TableColumn Name="Column23" Width="103.94"/>
<TableColumn Name="Column24" Width="113.39"/>
<TableRow Name="Row26" Height="37.8">
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell152" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -182,13 +239,13 @@
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="728.75" Width="623.7" Height="226.62" Guides="0,226.62,69.27,100.74,132.21,163.68,195.15">
<PageFooterBand Name="PageFooter1" Top="723.08" Width="623.7" Height="226.62" Guides="0,226.62,69.27,100.74,132.21,163.68,195.15">
<TableObject Name="Table5" Width="623.7" Height="226.62" Border.Lines="All">
<TableColumn Name="Column25" Width="207.9"/>
<TableColumn Name="Column26" Width="207.9"/>
<TableColumn Name="Column27" Width="207.9"/>
<TableRow Name="Row27" Height="69.27">
<TableCell Name="Cell157" Border.Lines="All" Text="验收结论:" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell157" Border.Lines="All" Text="验收结论:[InspectionConclusion]" Font="宋体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell158" Border.Lines="All" Font="宋体, 10.5pt"/>
<TableCell Name="Cell159" Border.Lines="All" Font="宋体, 10.5pt"/>
</TableRow>

View File

@ -210,6 +210,35 @@ namespace FineUIPro.Web.JGZL
var report = BLL.AnticorrosionEngineeringInspectionRecordService.GetAnticorrosionReportById(this.Grid1.SelectedRowID);
if (report != null)
{
string strSql = @"SELECT * from JGZL_AnticorrosionEngineeringInspectionRecordItem where AnticorrosionId = @anticorrosionId ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@anticorrosionId", this.Grid1.SelectedRowID));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("Part");
dt.Columns.Add("MaterialName");
dt.Columns.Add("Grade");
dt.Columns.Add("Manufacturer");
dt.Columns.Add("PlanFilmThickness");
dt.Columns.Add("ActualFilmThickness");
DataRow[] rows = tb.DefaultView.ToTable().Select();
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["Part"] = row["Part"].ToString();
newRow["MaterialName"] = row["MaterialName"].ToString();
newRow["Grade"] = row["Grade"].ToString();
newRow["Manufacturer"] = row["Manufacturer"].ToString();
newRow["PlanFilmThickness"] = row["PlanFilmThickness"].ToString();
newRow["ActualFilmThickness"] = row["ActualFilmThickness"].ToString();
dt.Rows.Add(newRow);
}
BLL.Common.FastReportService.AddFastreportTable(dt);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("AnticorrosionCurrentStatus", report.AnticorrosionCurrentStatus);

View File

@ -204,20 +204,49 @@ namespace FineUIPro.Web.JGZL
string projectId = this.tvControlItem.SelectedNodeID;
if (projectId != null)
{
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
{
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
var report = BLL.MaterialIdentificationInspectionRecordService.GetRecordById(this.Grid1.SelectedRowID);
if (report != null)
string strSql = @"SELECT * from JGZL_MaterialIdentificationInspectionRecord where ProjectId = @projectId order by CompileDate ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", projectId));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("ISO_IsoNo");
dt.Columns.Add("STE_Code");
dt.Columns.Add("Specifications");
dt.Columns.Add("PrescribedColor");
dt.Columns.Add("TubeIdentificationStatus");
dt.Columns.Add("PipeFittingName");
dt.Columns.Add("PipeFittingStatus");
dt.Columns.Add("Conclusion");
DataRow[] rows = tb.DefaultView.ToTable().Select();
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["ISO_IsoNo"] = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoInfoId(row["ISO_Id"].ToString()).ISO_IsoNo;
newRow["STE_Code"] = BLL.HJGL_MaterialService.GetSteelBySteID(row["STE_ID"].ToString()).STE_Code;
newRow["Specifications"] = row["Specifications"].ToString();
newRow["PrescribedColor"] = row["PrescribedColor"].ToString();
newRow["TubeIdentificationStatus"] = row["TubeIdentificationStatus"].ToString();
newRow["PipeFittingName"] = row["PipeFittingName"].ToString();
newRow["PipeFittingStatus"] = row["PipeFittingStatus"].ToString();
newRow["Conclusion"] = row["Conclusion"].ToString();
dt.Rows.Add(newRow);
}
BLL.Common.FastReportService.AddFastreportTable(dt);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
}
initTemplatePath = "File\\Fastreport\\JGZL\\管道材料材质标识检查记录.frx";
if (File.Exists(rootPath + initTemplatePath))
{
@ -225,12 +254,6 @@ namespace FineUIPro.Web.JGZL
}
}
else
{
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
return;
}
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;

View File

@ -56,12 +56,6 @@
<f:FormRow>
<Items>
<f:TextBox ID="txtPipeFittingStatus" runat="server" Label="管件标识状态" LabelAlign="Right" LabelWidth="150px" ></f:TextBox>
<f:TextBox ID="txtBox1" runat="server" Hidden="True"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtConclusion" runat="server" Label="结果" LabelAlign="Right" LabelWidth="150px" MaxLength="500"></f:TextArea>
</Items>
</f:FormRow>

View File

@ -167,15 +167,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtPipeFittingStatus;
/// <summary>
/// txtBox1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBox1;
/// <summary>
/// txtConclusion 控件。
/// </summary>