试压管理修改。增加试压看板,和试压包打印绑值

This commit is contained in:
2025-09-27 00:35:29 +08:00
parent b41ed9caef
commit 9e84ef4a3c
16 changed files with 1028 additions and 792 deletions
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/11/2025 15:24:21" ReportInfo.Modified="09/18/2025 10:19:16" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/11/2025 15:24:21" ReportInfo.Modified="09/26/2025 14:20:07" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -42,7 +42,7 @@ namespace FastReport
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqM3/HbiZANEYP3Y6oNtE7mqsCE0NW5tkXiWL0RJsdm/BnXhHrIFd8DaTyqYvkCZwzxANNAMKR/4NYq8Hpgr74n03/lNGCep+NFhLBpywxcCJykGjY1hpi9XXIOAbXetC7CXLOSRSH8epZCbNSEsmvTn+6oa5Ga7wbTAiWTKBm7+K/ZyLsHdEDQE4HlsTkPVD69sa3ZgHVHZvZAvFH8k7oQw==">
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqM3/HbiZANEYP3Y6oNtE7mqsCE0NW5tkXiWL0RJsdm/BnXhHrIFd8DaTyqYvkCZwzxANNAMKR/4NYq8Hpgr74n03/lNGCep+NFhLBpywxcCJykGjY1hpi9XXIOAbXetC7CXLOSRSH8epZCbNSEsmvTn+6oa5Ga7wbTAiWTKBm7+K/ZyLsHdEDQE4HlsTkPVD6hPmcrVtmOzJc5q8gCtPcbg==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Accident_AccidentHandle" Enabled="true" TableName="Data">
<Column Name="PipelineCode" DataType="System.String" PropName="AccidentHandleId"/>
<Column Name="DetectionRateValue" DataType="System.String" PropName="ProjectId"/>
@@ -208,7 +208,7 @@ namespace FastReport
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="234.26" Width="971.46" Height="40.13" Guides="0,40.13">
<DataBand Name="Data1" Top="235.14" Width="971.46" Height="40.13" Guides="0,40.13">
<TableObject Name="Table3" Width="963.9" Height="40.13" Border.Lines="Left, Right, Bottom" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column27" Width="48.6"/>
<TableColumn Name="Column28" Width="95.85"/>
@@ -232,9 +232,9 @@ namespace FastReport
<TableColumn Name="Column46" Width="29.7"/>
<TableColumn Name="Column47" Width="39.15"/>
<TableRow Name="Row10" Height="40.13">
<TableCell Name="Cell165" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell165" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell166" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell167" Border.Lines="All" Text="[Data.SingleNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell167" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell168" Border.Lines="All" Text="[Data.DetectionRateValue]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell169" Border.Lines="All" Text="[Data.totalJotCountBW]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell170" Border.Lines="All" Text="[Data.RTtotalJotCountBW]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
@@ -256,8 +256,8 @@ namespace FastReport
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="320.77" Width="971.46">
<ChildBand Name="Child1" Top="277.52" Width="971.46" Height="40.13" Guides="0,40.13" FillUnusedSpace="true">
<ColumnFooterBand Name="ColumnFooter1" Top="323.4" Width="971.46">
<ChildBand Name="Child1" Top="279.27" Width="971.46" Height="40.13" Guides="0,40.13" FillUnusedSpace="true">
<TableObject Name="Table4" Width="963.9" Height="40.13" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column48" Width="48.6"/>
<TableColumn Name="Column49" Width="95.85"/>
@@ -306,7 +306,7 @@ namespace FastReport
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="323.9" Width="971.46" Height="151.2" Guides="0,151.2,37.8,66.15,94.5,122.85">
<PageFooterBand Name="PageFooter1" Top="327.4" Width="971.46" Height="151.2" Guides="0,151.2,37.8,66.15,94.5,122.85">
<TableObject Name="Table5" Width="963.9" Height="151.2" Border.Lines="All">
<TableColumn Name="Column69" Width="321.3"/>
<TableColumn Name="Column70" Width="321.3"/>
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/09/2025 16:09:34" ReportInfo.Modified="09/18/2025 10:00:46" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/09/2025 16:09:34" ReportInfo.Modified="09/26/2025 11:05:59" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
@@ -67,7 +67,7 @@ namespace FastReport
}
}</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection1" ConnectionString="rijcmlqM7gJFg/iaLrqMhRfGy5lGjf8B9r68LcNRm542Oxj6bdsq8y94L+xTbZN1O2cfzth4gfOfsC8gRgfEghK5PiBVET2IYs7yXD0EmGmhMXfc1UdHyzSbMUjCa5gip5//BygeTK+HBsONEXMA6MXq2mCxf6mu3+F98NT3g2wocviv499nK5NcTkUaFnLEMIhPXSRTNrg5k9uAF8fQyvBFH66+Q==">
<MsSqlDataConnection Name="Connection1" ConnectionString="rijcmlqM7gJFg/iaLrqMhRfGy5lGjf8B9r68LcNRm542Oxj6bdsq8y94L+xTbZN1O2cfzth4gfOfsC8gRgfEghK5PiBVET2IYs7yXD0EmGmhMXfc1UdHyzSbMUjCa5gip5//BygeTK+HBsONEXMA6MXq2mCxf6mu3+F98NT3g2wocviv499nK5NcTkUaFnLEMIhPXSRNP3+H3aNKzxBrseZmY1cRQ==">
<TableDataSource Name="Table" Alias="Data" DataType="System.Int32" Enabled="true" SelectCommand="select checkItem.CHT_CheckItemID,&#13;&#10; i.ISO_IsoNumber,&#13;&#10; i.ISO_IsoNo,&#13;&#10; j.JOT_JointNo,&#13;&#10; (case when j.JOT_CellWelder is not null then (&#13;&#10; case when j.JOT_FloorWelder is not null and j.JOT_CellWelder&lt;&gt;j.JOT_FloorWelder&#13;&#10; then cWelder.WED_Code+'/'+fWelder.WED_Code&#13;&#10; else cWelder.WED_Code end) else fWelder.WED_Code end) as WelderCode,&#13;&#10; (case when d.DetectionTypeCode='RT' or d.DetectionTypeCode='UT' then checkItem.CHT_CheckResult end) as RTUTResult,&#13;&#10; (case when d.DetectionTypeCode='RT' or d.DetectionTypeCode='UT' then checkItem.CHT_CheckNo end) as RTUTCheckNo,&#13;&#10; (case when d.DetectionTypeCode='MT' or d.DetectionTypeCode='PT' then checkItem.CHT_CheckResult end) as MTPTResult,&#13;&#10; (case when d.DetectionTypeCode='MT' or d.DetectionTypeCode='PT' then checkItem.CHT_CheckNo end) as MTPTCheckNo,&#13;&#10; checkItem.CHT_Remark&#13;&#10; from CH_CheckItem as checkItem&#13;&#10; left join CH_Check as c on c.CHT_CheckID=checkItem.CHT_CheckID&#13;&#10; left join PW_JointInfo as j on j.JOT_ID = checkItem.JOT_ID&#13;&#10; left join PW_IsoInfo as i on i.ISO_ID =j.ISO_ID&#13;&#10; left join BS_Welder as cWelder on cWelder.WED_ID =j.JOT_CellWelder&#13;&#10; left join BS_Welder as fWelder on fWelder.WED_ID=j.JOT_FloorWelder&#13;&#10; left join Base_DetectionType as d on d.DetectionTypeId =checkItem.CHT_CheckMethod&#13;&#10; where j.ISO_ID in ('&quot; + @isoIds + &quot;')">
<Column Name="CHT_CheckItemID" Enabled="false" DataType="System.String"/>
<Column Name="SingleName" DataType="System.String" PropName="ISO_IsoNumber"/>
@@ -138,7 +138,7 @@ namespace FastReport
<TableCell Name="Cell8" Border.Lines="Right, Bottom" Text="[UnitWorkName]" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child3" Top="106.5" Width="971.46" Height="28.35" PrintOn="FirstPage" Guides="0,28.35">
<ChildBand Name="Child3" Top="107.38" Width="971.46" Height="28.35" PrintOn="FirstPage" Guides="0,28.35">
<TableObject Name="Table2" Width="963.52" Height="28.35" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column4" Width="82.64"/>
<TableColumn Name="Column5" Width="139.34"/>
@@ -159,7 +159,7 @@ namespace FastReport
<TableCell Name="Cell36" Border.Lines="All" Text="[ISOLevel]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child4" Top="137.98" Width="971.46" Height="47.25" Guides="0,47.25">
<ChildBand Name="Child4" Top="139.73" Width="971.46" Height="47.25" Guides="0,47.25">
<TableObject Name="Table3" Width="963.52" Height="47.25" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column12" Width="82.64"/>
<TableColumn Name="Column13" Width="139.34"/>
@@ -180,7 +180,7 @@ namespace FastReport
<TableCell Name="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child5" Top="188.35" Width="971.46" Height="170.11" PrintOn="FirstPage" Guides="0,170.11,56.71,33.08,23.63,85.06,113.41,141.76">
<ChildBand Name="Child5" Top="190.98" Width="971.46" Height="170.11" PrintOn="FirstPage" Guides="0,170.11,56.71,33.08,23.63,85.06,113.41,141.76">
<TableObject Name="Table4" Width="963.9" Height="170.11" Border.Lines="All">
<TableColumn Name="Column56" Width="81.9"/>
<TableColumn Name="Column57" Width="110.25"/>
@@ -193,11 +193,11 @@ namespace FastReport
<TableColumn Name="Column64" Width="110.25"/>
<TableRow Name="Row16" Height="33.08">
<TableCell Name="Cell172" Border.Lines="All" Text="检测方法" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell173" Border.Lines="All" Text="检测数量统计(RT单位:道/张;UT/MT/PT单位:道/)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell173" Border.Lines="All" Text="检测数量统计(RT单位:道/张;UT/MT/PT单位:道/)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell174" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell175" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell176" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell197" Border.Lines="All" Text="不合格情况统计(RT单位:道/张;UT/MT/PT单位:道/)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell197" Border.Lines="All" Text="不合格情况统计(RT单位:道/张;UT/MT/PT单位:道/)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell198" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell199" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell200" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
@@ -258,7 +258,7 @@ namespace FastReport
<TableCell Name="Cell317" Border.Lines="All" Text="/" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
<ChildBand Name="Child6" Top="361.59" Width="971.46" Height="37.8" Guides="0,37.8">
<ChildBand Name="Child6" Top="365.09" Width="971.46" Height="37.8" Guides="0,37.8">
<TableObject Name="Table5" Width="964.26" Height="37.8" Border.Lines="All">
<TableColumn Name="Column74" Width="125.46"/>
<TableColumn Name="Column75" Width="116.01"/>
@@ -290,7 +290,7 @@ namespace FastReport
</ChildBand>
</ChildBand>
</PageHeaderBand>
<DataBand Name="Data1" Top="402.51" Width="971.46" Height="37.8" Guides="0,37.8">
<DataBand Name="Data1" Top="406.89" Width="971.46" Height="37.8" Guides="0,37.8">
<TableObject Name="Table9" Width="964.26" Height="37.8" Border.Lines="All" ManualBuildEvent="Table9_ManualBuild">
<TableColumn Name="Column96" Width="125.46"/>
<TableColumn Name="Column97" Width="116.01"/>
@@ -309,17 +309,17 @@ namespace FastReport
<TableCell Name="Cell320" Border.Lines="All" Text="[Data.WelderCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell321" Border.Lines="All" Text="[Data.PointBatchCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell322" Border.Lines="All" Text="[Data.RTUTResult]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell323" Border.Lines="All" Text="[Data.RTUTCheckNo]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell323" Border.Lines="All" Text="[Data.RTUTCheckNo]" HorzAlign="Center" VertAlign="Center" Font="宋体, 8pt"/>
<TableCell Name="Cell324" Border.Lines="All" Text="[Data.MTPTResult]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell325" Border.Lines="All" Text="[Data.MTPTCheckNo]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell325" Border.Lines="All" Text="[Data.MTPTCheckNo]" HorzAlign="Center" VertAlign="Center" Font="宋体, 8pt"/>
<TableCell Name="Cell326" Border.Lines="All" Text="/" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell327" Border.Lines="All" Text="/" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell328" Border.Lines="All" Text="[Data.CHT_Remark]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="484.36" Width="971.46">
<ChildBand Name="Child1" Top="443.44" Width="971.46" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
<ColumnFooterBand Name="ColumnFooter1" Top="490.49" Width="971.46">
<ChildBand Name="Child1" Top="448.69" Width="971.46" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
<TableObject Name="Table8" Width="964.26" Height="37.8" Border.Lines="All">
<TableColumn Name="Column85" Width="125.46"/>
<TableColumn Name="Column86" Width="116.01"/>
@@ -348,7 +348,7 @@ namespace FastReport
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="487.49" Width="971.46" Height="85.04" PrintOn="FirstPage" Guides="0,85.04,42.52">
<PageFooterBand Name="PageFooter1" Top="494.49" Width="971.46" Height="85.04" PrintOn="FirstPage" Guides="0,85.04,42.52">
<TableObject Name="Table6" Width="963.9" Height="85.04" Border.Lines="All" PrintOn="FirstPage">
<TableColumn Name="Column53" Width="321.3"/>
<TableColumn Name="Column54" Width="321.3"/>