HJGL_DS/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊接工作记录.frx

224 lines
15 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/19/2024 10:28:42" ReportInfo.Modified="05/19/2025 10:16:09" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
namespace FastReport
{
public class ReportScript
{
private int x;
private string header=&quot;&quot;;
private void Table2_ManualBuild(object sender, EventArgs e)
{
DataSourceBase rowData = Report.GetDataSource(&quot;Data&quot;);
// init the data source
rowData.Init();
// 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();
}
}
private void Cell3_BeforePrint(object sender, EventArgs e)
{
if (Report.Engine.PageNo&gt;1)
{
header=&quot;(续)&quot;;
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqdP6ADbZQpLOMXx+Ivgq2SioFBJ7B1iEOuUxf7y1evrTM15NUOhfx6SD2+E9SReEWvg7u6EQdXpqQDDPj6WgkoKQIrTt5q9lJyuCu5B6Nl0MXJ6ZEae4ta6haGkhwICyq72I9X2dS6a3zf8gkFZpb6VtdwKlyFhTivyv2i8IjPiUXLimy5mJMh8U2rXyiDDAJtyFmUqnsDXf7HxDjLoIsxg==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="ISO_IsoNo" DataType="System.String" PropName="attach_image_id"/>
<Column Name="JOT_JointNo" DataType="System.String" PropName="image_series"/>
<Column Name="WED_Code" DataType="System.String" PropName="file_name"/>
<Column Name="JOT_JointDesc" DataType="System.String" PropName="file_size"/>
<Column Name="STE_Code" DataType="System.String" PropName="file_type"/>
<Column Name="weldLocal" DataType="System.String" PropName="created_date"/>
<Column Name="WME_Name" DataType="System.String" PropName="created_by"/>
<Column Name="WMT_MatName" DataType="System.String" PropName="series_desc"/>
<Column Name="JOT_PrepareTemp" DataType="System.String" PropName="file_path"/>
<Column Name="WeldDate" DataType="System.String" PropName="series_timestamp"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" FirstPageSource="4" OtherPagesSource="4" Guides="0,952.51,221.52,44.61,703.39,110.76,88.72,82.41,35.16,816.04,49.14,176.91,303.93,414.69,503.41,585.82,668.23,766.9,63.51,870.1,54.06,952.69,318.15,636.3">
<PageHeaderBand Name="PageHeader1" Width="952.56" Height="139.1" Guides="0,139.1,101.3,63.5,37.8">
<TableObject Name="Table1" Width="952.51" Height="139.1">
<TableColumn Name="Column1" Width="176.91"/>
<TableColumn Name="Column2" Width="44.61"/>
<TableColumn Name="Column3" Width="82.41"/>
<TableColumn Name="Column4" Width="110.76"/>
<TableColumn Name="Column5" Width="88.72"/>
<TableColumn Name="Column6" Width="82.41"/>
<TableColumn Name="Column7" Width="82.41"/>
<TableColumn Name="Column8" Width="35.16"/>
<TableColumn Name="Column9" Width="63.51"/>
<TableColumn Name="Column10" Width="49.14"/>
<TableColumn Name="Column11" Width="54.06"/>
<TableColumn Name="Column12" Width="82.41"/>
<TableRow Name="Row1" Height="63.5">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503-J415-1" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All"/>
<TableCell Name="Cell3" Border.Lines="All" BeforePrintEvent="Cell3_BeforePrint" Text="管道焊接工作记录[header]" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="6" RowSpan="2"/>
<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="Left, Top" Text="工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell30" Border.Lines="Left, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="Right, Top" Text="[ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell32" Border.Lines="Right, Top"/>
</TableRow>
<TableRow Name="Row2" Height="37.8">
<TableCell Name="Cell6" Border.Lines="All"/>
<TableCell Name="Cell7" Border.Lines="All"/>
<TableCell Name="Cell8" Border.Lines="All"/>
<TableCell Name="Cell9" Border.Lines="All"/>
<TableCell Name="Cell10" Border.Lines="All"/>
<TableCell Name="Cell33" Border.Lines="All"/>
<TableCell Name="Cell34" Border.Lines="All"/>
<TableCell Name="Cell35" Border.Lines="All"/>
<TableCell Name="Cell36" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell37" Border.Lines="Left, Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell38" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell39" Border.Lines="Right, Bottom"/>
</TableRow>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell11" Border.Lines="All" Text="管道编号/单线号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="焊口编号" 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="规格&#13;&#10;mm" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" Text="焊接位置" 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="焊材牌号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell43" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell44" Border.Lines="All" Text="实际预热温度℃" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell46" Border.Lines="All" Text="焊接日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="143.1" Width="952.56" Height="34.02" Guides="0,34.02">
<TableObject Name="Table2" Width="952.51" Height="34.02" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column13" Width="176.91"/>
<TableColumn Name="Column14" Width="44.61"/>
<TableColumn Name="Column15" Width="82.41"/>
<TableColumn Name="Column16" Width="110.76"/>
<TableColumn Name="Column17" Width="88.72"/>
<TableColumn Name="Column18" Width="82.41"/>
<TableColumn Name="Column19" Width="82.41"/>
<TableColumn Name="Column20" Width="35.16"/>
<TableColumn Name="Column21" Width="63.51"/>
<TableColumn Name="Column22" Width="49.14"/>
<TableColumn Name="Column23" Width="54.06"/>
<TableColumn Name="Column24" Width="82.41"/>
<TableRow Name="Row6" Height="34.02">
<TableCell Name="Cell71" Border.Lines="All" Text="[Data.ISO_IsoNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="All" Text="[Data.JOT_JointNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="All" Text="[Data.WED_Code]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="All" Text="[Data.JOT_JointDesc]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="All" Text="[Data.STE_Code]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell76" Border.Lines="All" Text="[Data.weldLocal]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell77" Border.Lines="All" Text="[Data.WME_Name]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell78" Border.Lines="All" Text="[Data.WMT_MatName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell80" Border.Lines="All" Text="[Data.JOT_PrepareTemp]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell82" Border.Lines="All" Text="[Data.WeldDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="219.14" Width="952.56">
<ChildBand Name="Child1" Top="181.12" Width="952.56" Height="34.02" Guides="0,34.02" FillUnusedSpace="true">
<TableObject Name="Table3" Width="952.51" Height="34.02">
<TableColumn Name="Column25" Width="176.91"/>
<TableColumn Name="Column26" Width="44.61"/>
<TableColumn Name="Column27" Width="82.41"/>
<TableColumn Name="Column28" Width="110.76"/>
<TableColumn Name="Column29" Width="88.72"/>
<TableColumn Name="Column30" Width="82.41"/>
<TableColumn Name="Column31" Width="82.41"/>
<TableColumn Name="Column32" Width="35.16"/>
<TableColumn Name="Column33" Width="63.51"/>
<TableColumn Name="Column34" Width="49.14"/>
<TableColumn Name="Column35" Width="54.06"/>
<TableColumn Name="Column36" Width="82.41"/>
<TableRow Name="Row7" Height="34.02">
<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"/>
<TableCell Name="Cell89" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell90" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<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" ColSpan="2"/>
<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"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="223.14" Width="952.56" Height="124.74" PrintOn="FirstPage" Guides="0,124.74,34.02,56.7,79.38,102.06">
<TableObject Name="Table4" Width="952.69" Height="124.74" Border.Lines="Left, Top">
<TableColumn Name="Column37" Width="318.15"/>
<TableColumn Name="Column38" Width="318.15"/>
<TableColumn Name="Column39" Width="316.39"/>
<TableRow Name="Row8" Height="34.02">
<TableCell Name="Cell95" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell96" Border.Lines="All" Text="总承包单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell97" Border.Lines="All" Text="施工单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="22.68">
<TableCell Name="Cell100" Border.Lines="Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell101" Border.Lines="Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell102" Border.Lines="Right" Text="记录人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="22.68">
<TableCell Name="Cell105" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell106" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell107" Border.Lines="Right" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="22.68">
<TableCell Name="Cell110" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell111" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell112" Border.Lines="Right" Text="焊接责任工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="22.68">
<TableCell Name="Cell115" Border.Lines="Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell116" Border.Lines="Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell117" Border.Lines="Right, Bottom" Text="日期:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>