20260126 交工资料

This commit is contained in:
毕文静 2026-01-26 16:26:49 +08:00
parent 04d43385f3
commit aa38718ac7
28 changed files with 1539 additions and 331 deletions

View File

@ -0,0 +1,12 @@
update Sys_Menu set MenuName='箕제밗돛갛陋醴좆聯츠蝎' where MenuId='F5833B38-65DF-4236-A676-EE75F9487061'
update Sys_Menu set MenuName='箕제밗돛갛陋삠悧깊' where MenuId='C527812C-0FF8-4EAC-B1FD-3B561DBE46ED'
go
alter table JGZL_IndustrialPipelineInstallationQualityCertificate add DesignLicenseCode nvarchar(50)
alter table JGZL_IndustrialPipelineInstallationQualityCertificate add QualificationCertificateCode nvarchar(50)
alter table JGZL_IndustrialPipelineInstallationQualityCertificate add InstitutionalApprovalCertificate nvarchar(50)
alter table JGZL_IndustrialPipelineInstallationQualityCertificate add InstallationInspection nvarchar(50)
go
alter table JGZL_IndustrialPipelineInstallationSummary add OperatingTemperature nvarchar(50)
alter table JGZL_IndustrialPipelineInstallationSummary add VoltageResistantTestDate datetime
alter table JGZL_IndustrialPipelineInstallationSummary add LeakageTestDate datetime
go

View File

@ -279,5 +279,15 @@ namespace BLL
{
return Funs.DB.HJGL_PW_IsoInfo.FirstOrDefault(e => e.ISO_IsoNo == isoNo && e.ProjectId == projectId);
}
/// <summary>
/// 根据项目id获取管线信息
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static List<Model.HJGL_PW_IsoInfo> GetIsoInfoByProjectId(string projectId)
{
return (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == projectId select x).ToList();
}
}
}

View File

@ -1335,9 +1335,9 @@ namespace BLL
/// </summary>
/// <param name="iso_id"></param>
/// <returns></returns>
public static int GetJointCountByIsoId(string iso_id,string joty_id)
public static int GetJointCountByIsoId(string iso_id)
{
return (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == iso_id && x.JOTY_ID == joty_id select x).Count();
return (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == iso_id select x).Count();
}
}
}

View File

@ -1,6 +1,7 @@
using Model;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace BLL
{
@ -48,6 +49,10 @@ namespace BLL
newModel.CompileDate = model.CompileDate;
newModel.Reviewer = model.Reviewer;
newModel.RevieweDate = model.RevieweDate;
newModel.DesignLicenseCode = model.DesignLicenseCode;
newModel.QualificationCertificateCode = model.QualificationCertificateCode;
newModel.InstitutionalApprovalCertificate = model.InstitutionalApprovalCertificate;
newModel.InstallationInspection = model.InstallationInspection;
db.JGZL_IndustrialPipelineInstallationQualityCertificate.InsertOnSubmit(newModel);
db.SubmitChanges();
}
@ -77,6 +82,10 @@ namespace BLL
newModel.ConstructionUnit = model.ConstructionUnit;
newModel.SpecialEquipmentProductionLicenseCode = model.SpecialEquipmentProductionLicenseCode;
newModel.Remark = model.Remark;
newModel.DesignLicenseCode = model.DesignLicenseCode;
newModel.QualificationCertificateCode = model.QualificationCertificateCode;
newModel.InstitutionalApprovalCertificate = model.InstitutionalApprovalCertificate;
newModel.InstallationInspection = model.InstallationInspection;
db.SubmitChanges();
}
}

View File

@ -55,6 +55,9 @@ namespace BLL
newModel.CompileDate = model.CompileDate;
newModel.Reviewer = model.Reviewer;
newModel.RevieweDate = model.RevieweDate;
newModel.OperatingTemperature = model.OperatingTemperature;
newModel.VoltageResistantTestDate = model.VoltageResistantTestDate;
newModel.LeakageTestDate = model.LeakageTestDate;
db.JGZL_IndustrialPipelineInstallationSummary.InsertOnSubmit(newModel);
db.SubmitChanges();
}
@ -69,6 +72,7 @@ namespace BLL
Model.JGZL_IndustrialPipelineInstallationSummary newModel = db.JGZL_IndustrialPipelineInstallationSummary.FirstOrDefault(e => e.SummaryId == model.SummaryId);
if (newModel != null)
{
newModel.CertificateId = model.CertificateId;
newModel.PipelineCode = model.PipelineCode;
newModel.PipelineLevel = model.PipelineLevel;
newModel.PipelineStartPoint = model.PipelineStartPoint;
@ -91,6 +95,9 @@ namespace BLL
newModel.CorrosionControlMethod = model.CorrosionControlMethod;
newModel.InsulationMethod = model.InsulationMethod;
newModel.Remark = model.Remark;
newModel.OperatingTemperature = model.OperatingTemperature;
newModel.VoltageResistantTestDate = model.VoltageResistantTestDate;
newModel.LeakageTestDate = model.LeakageTestDate;
db.SubmitChanges();
}
}

View File

@ -0,0 +1,295 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="01/26/2026 15:12:38" 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(&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
Table2.PrintRow(0);
Table2.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="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="PipelineCode" DataType="System.String" PropName="image_series"/>
<Column Name="PipelineLevel" DataType="System.String" PropName="file_name"/>
<Column Name="DesignPressure" DataType="System.String" PropName="file_size"/>
<Column Name="DesignTemperature" DataType="System.String" PropName="file_type"/>
<Column Name="OperatingTemperature" DataType="System.String" PropName="created_date"/>
<Column Name="Medium" DataType="System.String" PropName="created_by"/>
<Column Name="Material" DataType="System.String" PropName="series_desc"/>
<Column Name="Specifications" DataType="System.String" PropName="file_path"/>
<Column Name="Length" DataType="System.String" PropName="series_timestamp"/>
<Column Name="LayingMethod" DataType="System.String" PropName="Column"/>
<Column Name="WeldsNum" DataType="System.String" PropName="Column"/>
<Column Name="LosslessRatio" DataType="System.String" PropName="Column"/>
<Column Name="VoltageResistantTestMedium" DataType="System.String" PropName="Column"/>
<Column Name="VoltageResistantTestPressure" DataType="System.String" PropName="Column"/>
<Column Name="VoltageResistantTestDate" DataType="System.String" PropName="Column"/>
<Column Name="LeakageTestMedium" DataType="System.String" PropName="Column"/>
<Column Name="LeakageTestPressure" DataType="System.String" PropName="Column"/>
<Column Name="LeakageTestDate" DataType="System.String" PropName="Column"/>
<Column Name="CleaningMethod" DataType="System.String" PropName="Column"/>
<Column Name="CorrosionControlMethod" DataType="System.String" PropName="Column"/>
<Column Name="InsulationMethod" DataType="System.String" PropName="Column"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="CertificateCode" DataType="System.String"/>
<Parameter Name="DeliveryUnit" DataType="System.String"/>
<Parameter Name="DeliveryUnitCode" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="21" Guides="680.4,963.9,283.5,642.6,500.85,614.25,604.8,935.55,0,971.46,94.5,75.6,491.4,37.8,47.25,56.7,66.15,28.35,602.91,45.36,18.9,103.95,9.45,141.75,189,226.8,264.6,302.4,359.1,425.25,463.05,519.75,565.11,706.86,848.61,886.41,924.21,650.16,744.66,791.91,321.3,699.3,793.8,557.55">
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="207.9" Guides="9.45,28.35,66.15,94.5,103.95,207.9,0,37.8">
<TextObject Name="Text1" Left="680.4" Top="9.45" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 15pt, style=Bold"/>
<TextObject Name="Text2" Left="283.5" Top="28.35" Width="359.1" Height="37.8" Text="二、压力管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold"/>
<TextObject Name="Text3" Left="500.85" Top="66.15" Width="113.4" Height="28.35" Text="证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text4" Left="604.8" Top="66.15" Width="330.75" Height="28.35" Border.Lines="Bottom" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 11pt"/>
<TableObject Name="Table1" Top="103.95" Width="971.46" Height="103.95" Border.Lines="Bottom">
<TableColumn Name="Column1" Width="18.9"/>
<TableColumn Name="Column23" Width="75.6"/>
<TableColumn Name="Column2" Width="9.45"/>
<TableColumn Name="Column3" Width="37.8"/>
<TableColumn Name="Column4" Width="47.25"/>
<TableColumn Name="Column5" Width="37.8"/>
<TableColumn Name="Column6" Width="37.8"/>
<TableColumn Name="Column7" Width="37.8"/>
<TableColumn Name="Column8" Width="56.7"/>
<TableColumn Name="Column9"/>
<TableColumn Name="Column10" Width="37.8"/>
<TableColumn Name="Column11" Width="28.35"/>
<TableColumn Name="Column12" Width="28.35"/>
<TableColumn Name="Column13" Width="45.36"/>
<TableColumn Name="Column14" Width="37.8"/>
<TableColumn Name="Column15" Width="47.25"/>
<TableColumn Name="Column16" Width="56.7"/>
<TableColumn Name="Column17" Width="37.8"/>
<TableColumn Name="Column18" Width="47.25"/>
<TableColumn Name="Column19" Width="56.7"/>
<TableColumn Name="Column20" Width="37.8"/>
<TableColumn Name="Column21" Width="37.8"/>
<TableColumn Name="Column22" Width="47.25"/>
<TableRow Name="Row1" Height="37.8">
<TableCell Name="Cell1" Border.Lines="Left, Top, Bottom" Text="交工单元名称:" HorzAlign="Right" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnit]" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="10"/>
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell4" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell5" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell26" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell27" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell32" Border.Lines="Left, Top, Bottom" Text="交工单元编号:" HorzAlign="Right" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="8"/>
<TableCell Name="Cell36" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell37" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell39" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell40" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell41" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
<TableRow Name="Row2" Height="28.35">
<TableCell Name="Cell6" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell78" Border.Lines="All" Text="单线号" HorzAlign="Center" VertAlign="Center" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell8" Border.Lines="All" Text="管道&#13;&#10;级别" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell9" Border.Lines="All" Text="设计&#13;&#10;压力&#13;&#10;(MPa)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell43" Border.Lines="All" Text="操作温度(℃)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell44" Border.Lines="All" Text="输送介质" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell45" Border.Lines="All" Text="管道材质牌号及标准" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell46" Border.Lines="All" Text="管道规格&#13;&#10;外径×壁厚mm&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell47" Border.Lines="All" Text="管道长度(m)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell48" Border.Lines="All" Text="铺设方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell49" Border.Lines="All" Text="焊口&#13;&#10;数量&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell50" Border.Lines="All" Text="检测方法/比例(%)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell51" Border.Lines="All" Text="压力试验" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell52" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell53" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell54" Border.Lines="All" Text="泄漏性试验" HorzAlign="Center" VertAlign="Center" ColSpan="3"/>
<TableCell Name="Cell55" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell56" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell57" Border.Lines="All" Text="吹洗&#13;&#10;方法" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell58" Border.Lines="All" Text="防腐&#13;&#10;方式&#13;&#10;" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
<TableCell Name="Cell59" Border.Lines="All" Text="保温&#13;&#10;(绝热)方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
</TableRow>
<TableRow Name="Row3" Height="37.8">
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell68" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell69" Border.Lines="All" Text="压力&#13;&#10;(Mpa)" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell70" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell71" Border.Lines="All" Text="介质" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell72" Border.Lines="All" Text="压力(Mpa)" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell73" Border.Lines="All" Text="日期" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="211.9" Width="971.46" Height="75.6" Guides="0,75.6">
<TableObject Name="Table2" Width="971.46" Height="75.6" Border.Lines="Bottom" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column24" Width="18.9"/>
<TableColumn Name="Column25" Width="75.6"/>
<TableColumn Name="Column26" Width="9.45"/>
<TableColumn Name="Column27" Width="37.8"/>
<TableColumn Name="Column28" Width="47.25"/>
<TableColumn Name="Column29" Width="37.8"/>
<TableColumn Name="Column30" Width="37.8"/>
<TableColumn Name="Column31" Width="37.8"/>
<TableColumn Name="Column32" Width="56.7"/>
<TableColumn Name="Column33"/>
<TableColumn Name="Column34" Width="37.8"/>
<TableColumn Name="Column35" Width="28.35"/>
<TableColumn Name="Column36" Width="28.35"/>
<TableColumn Name="Column37" Width="45.36"/>
<TableColumn Name="Column38" Width="37.8"/>
<TableColumn Name="Column39" Width="47.25"/>
<TableColumn Name="Column40" Width="56.7"/>
<TableColumn Name="Column41" Width="37.8"/>
<TableColumn Name="Column42" Width="47.25"/>
<TableColumn Name="Column43" Width="56.7"/>
<TableColumn Name="Column44" Width="37.8"/>
<TableColumn Name="Column45" Width="37.8"/>
<TableColumn Name="Column46" Width="47.25"/>
<TableRow Name="Row6" Height="75.6">
<TableCell Name="Cell126" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell127" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell132" Border.Lines="All" Text="[Data.OperatingTemperature]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell140" Border.Lines="All" Text="[Data.VoltageResistantTestMedium]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell141" Border.Lines="All" Text="[Data.VoltageResistantTestPressure]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell142" Border.Lines="All" Text="[Data.VoltageResistantTestDate]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell143" Border.Lines="All" Text="[Data.LeakageTestMedium]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell144" Border.Lines="All" Text="[Data.LeakageTestPressure]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell145" Border.Lines="All" Text="[Data.VoltageResistantTestDate]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="371.1" Width="971.46">
<ChildBand Name="Child1" Top="291.5" Width="971.46" Height="75.6" Guides="0,75.6" FillUnusedSpace="true">
<TableObject Name="Table3" Width="971.46" Height="75.6" Border.Lines="Bottom">
<TableColumn Name="Column47" Width="18.9"/>
<TableColumn Name="Column48" Width="75.6"/>
<TableColumn Name="Column49" Width="9.45"/>
<TableColumn Name="Column50" Width="37.8"/>
<TableColumn Name="Column51" Width="47.25"/>
<TableColumn Name="Column52" Width="37.8"/>
<TableColumn Name="Column53" Width="37.8"/>
<TableColumn Name="Column54" Width="37.8"/>
<TableColumn Name="Column55" Width="56.7"/>
<TableColumn Name="Column56"/>
<TableColumn Name="Column57" Width="37.8"/>
<TableColumn Name="Column58" Width="28.35"/>
<TableColumn Name="Column59" Width="28.35"/>
<TableColumn Name="Column60" Width="45.36"/>
<TableColumn Name="Column61" Width="37.8"/>
<TableColumn Name="Column62" Width="47.25"/>
<TableColumn Name="Column63" Width="56.7"/>
<TableColumn Name="Column64" Width="37.8"/>
<TableColumn Name="Column65" Width="47.25"/>
<TableColumn Name="Column66" Width="56.7"/>
<TableColumn Name="Column67" Width="37.8"/>
<TableColumn Name="Column68" Width="37.8"/>
<TableColumn Name="Column69" Width="47.25"/>
<TableRow Name="Row7" Height="75.6">
<TableCell Name="Cell149" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell150" Border.Lines="All" HorzAlign="Center" VertAlign="Center" ColSpan="2"/>
<TableCell Name="Cell151" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell152" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell153" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell154" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell155" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell156" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell157" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell158" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell159" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell160" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell161" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell162" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell163" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell164" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell165" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell166" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell167" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell168" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell169" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell170" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
<TableCell Name="Cell171" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="375.1" Width="971.46" Height="28.35" Guides="9.45,28.35">
<TextObject Name="Text5" Left="9.45" Top="9.45" Width="94.5" Height="18.9" Text="填表:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text6" Left="226.8" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text7" Left="699.3" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TextObject Name="Text8" Left="463.05" Top="9.45" Width="94.5" Height="18.9" Text="审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,157 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="01/26/2026 11:16:30" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFnj369u6hMUPXe3LgemqRxA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/>
<Column Name="EngineeringName" DataType="System.String" PropName="image_series"/>
<Column Name="EngineeringCode" DataType="System.String" PropName="file_name"/>
<Column Name="DeliveryUnit" DataType="System.String" PropName="file_size"/>
<Column Name="DeliveryUnitCode" DataType="System.String" PropName="file_type"/>
<Column Name="InstallStartDate" DataType="System.String" PropName="created_date"/>
<Column Name="InstallEndDate" DataType="System.String" PropName="created_by"/>
<Column Name="PipelineLevel" DataType="System.String" PropName="series_desc"/>
<Column Name="PipelineLength" DataType="System.String" PropName="file_path"/>
<Column Name="DesignUnit" DataType="System.String" PropName="series_timestamp"/>
<Column Name="DesignLicenseCode" DataType="System.String" PropName="Column"/>
<Column Name="SupervisoryAndInspectionAgency" DataType="System.String" PropName="Column"/>
<Column Name="QualificationCertificateCode" DataType="System.String" PropName="Column"/>
<Column Name="LosslessTestingAgency" DataType="System.String" PropName="Column"/>
<Column Name="InstitutionalApprovalCertificate" DataType="System.String" PropName="Column"/>
<Column Name="InstallationInspection" DataType="System.String" PropName="Column"/>
<Column Name="ConstructionUnit" DataType="System.String" PropName="Column"/>
<Column Name="SpecialEquipmentProductionLicenseCode" DataType="System.String" PropName="Column"/>
</TableDataSource>
</MsSqlDataConnection>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="330.75,595.35,170.1,463.05,113.4,510.3,396.9,378,614.25,0,623.7,98.28,291.06,398.79,154.98,468.72,69.93,107.73,192.78">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="132.3" Guides="9.45,28.35,37.8,66.15,75.6,103.95,113.4,132.3">
<TextObject Name="Text1" Left="330.75" Top="9.45" Width="264.6" Height="18.9" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Right" Font="Times New Roman, 15pt, style=Bold"/>
<TextObject Name="Text2" Left="170.1" Top="37.8" Width="292.95" Height="28.35" Text="压力管道安装质量证明" VertAlign="Center" Font="宋体, 16pt, style=Bold"/>
<TextObject Name="Text3" Left="113.4" Top="75.6" Width="396.9" Height="28.35" Text="一、 压力管道安装质量证明书" VertAlign="Center" Font="宋体, 16pt, style=Bold"/>
<TextObject Name="Text4" Left="330.75" Top="113.4" Width="66.15" Height="18.9" Text=" 编号:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TextObject Name="Text5" Left="378" Top="113.4" Width="236.25" Height="18.9" Text="[Data.CertificateCode]" VertAlign="Center" Font="宋体, 11pt"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="136.3" Width="623.7" Height="831.39" Guides="0,831.39,97.44,147.63,50.19,178.92,31.29,210.21,241.5,272.79,304.08,335.37,366.66,464.1,523.74,59.64,592.83,671.37,749.91,78.54,800.1">
<TableObject Name="Table1" Width="623.7" Height="831.39">
<TableColumn Name="Column1" Width="98.28"/>
<TableColumn Name="Column2" Width="192.78"/>
<TableColumn Name="Column3" Width="107.73"/>
<TableColumn Name="Column4" Width="69.93"/>
<TableColumn Name="Column5" Width="154.98"/>
<TableRow Name="Row1" Height="97.44">
<TableCell Name="Cell1" Border.Lines="All" Text="工程名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell2" Border.Lines="All" Text="[Data.EngineeringName]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell3" Border.Lines="All" Text="工程编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell4" Border.Lines="All" Text="[Data.EngineeringCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell5" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="50.19">
<TableCell Name="Cell6" Border.Lines="All" Text="交工单元名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" Text="[Data.DeliveryUnit]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="All" Text="交工单元编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="All" Text="[Data.DeliveryUnitCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell10" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="31.29">
<TableCell Name="Cell11" Border.Lines="All" Text="安装开工日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" Text="[Data.InstallStartDate]" 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="[Data.InstallEndDate]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell15" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="31.29">
<TableCell Name="Cell16" Border.Lines="All" Text="管道级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell18" Border.Lines="All" Text="管道长度" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell19" Border.Lines="All" Text="[Data.PipelineLength]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="31.29">
<TableCell Name="Cell21" Border.Lines="All" Text="设计单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell22" Border.Lines="All" Text="[Data.DesignUnit]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell23" Border.Lines="All" Text="压力管道设计许可证编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell24" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell25" Border.Lines="All" Text="[Data.DesignLicenseCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="31.29">
<TableCell Name="Cell26" Border.Lines="All" Text="监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="All" Text="[Data.SupervisoryAndInspectionAgency]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="All" Text="资质证书编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell30" Border.Lines="All" Text="[Data.QualificationCertificateCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="31.29">
<TableCell Name="Cell31" Border.Lines="All" Text="无损检测单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell32" Border.Lines="All" Text="[Data.LosslessTestingAgency]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell33" Border.Lines="All" Text="无损检测机构核准证编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="[Data.InstitutionalApprovalCertificate]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="31.29">
<TableCell Name="Cell36" Border.Lines="All" Text="安装监检单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="[Data.InstallationInspection]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell38" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="31.29">
<TableCell Name="Cell41" Border.Lines="All" Text="使用单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell42" Border.Lines="All" Text="[Data.ConstructionUnit]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
<TableCell Name="Cell43" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="97.44">
<TableCell Name="Cell46" Border.Lines="Left, Right" Text="本压力管道的安装经质量检验,符合《压力管道安全技术监察规程》、设计文件&#13;&#10;&#13;&#10;和《石油化工有毒、可燃介质钢制管道工程施工及验收规范》SH3501-2011等的要求。" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell47" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="59.64">
<TableCell Name="Cell51" Border.Lines="Left, Right" Text=" 附:《压力管道安装汇总表》共 1 页 " HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="5"/>
<TableCell Name="Cell52" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="69.09">
<TableCell Name="Cell56" Border.Lines="Left" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell57" Text=" 检验员: " HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="78.54">
<TableCell Name="Cell61" Border.Lines="Left" Text=" " HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell62" Text=" 质量保证工程师:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="78.54">
<TableCell Name="Cell66" Border.Lines="Left, Right" Text=" 安装单位(盖章)" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="5"/>
<TableCell Name="Cell67" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell68" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell69" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell70" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
<TableRow Name="Row15" Height="50.19">
<TableCell Name="Cell71" Border.Lines="Left, Right" Text=" 年 月 日" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="5"/>
<TableCell Name="Cell72" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell73" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell74" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell75" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
<TableRow Name="Row16" Height="31.29">
<TableCell Name="Cell76" Border.Lines="Left, Right, Bottom" Text=" 特种设备安装许可证编号:[Data.SpecialEquipmentProductionLicenseCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="5"/>
<TableCell Name="Cell77" Border.Lines="Left, Right" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell78" Border.Lines="Left, Right" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell79" Border.Lines="Left, Right" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt"/>
<TableCell Name="Cell80" Border.Lines="Right, Bottom" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt"/>
</TableRow>
</TableObject>
</DataBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,212 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 15:12:38" ReportInfo.Modified="01/26/2026 16:22:25" 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 string header=&quot;&quot;;
private string h=&quot;&quot;;
private void Cell4_BeforePrint(object sender, EventArgs e)
{
if (Report.Engine.PageNo&gt;1)
{
header=&quot;(续)&quot;;
}
}
private void Cell1_BeforePrint(object sender, EventArgs e)
{
if (Report.Engine.PageNo&gt;1)
{
h=&quot;2&quot;;
}
else
{
h=&quot;1&quot;;
}
}
private void Table2_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
Table2.PrintRow(0);
Table2.PrintColumns();
// go next data source row
rowData.Next();
}
}
}
}
</ScriptText>
<Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFxby2//5xuwxZB+4FrSeDPA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="MaterialName" DataType="System.String" PropName="image_series"/>
<Column Name="MaterialCode" DataType="System.String" PropName="file_name"/>
<Column Name="SerialCode" DataType="System.String" PropName="file_size"/>
<Column Name="Material" DataType="System.String" PropName="file_type"/>
<Column Name="Specification" DataType="System.String" PropName="created_date"/>
<Column Name="Manufacturer" DataType="System.String" PropName="created_by"/>
<Column Name="Unit" DataType="System.String" PropName="series_desc"/>
<Column Name="TotalNum" DataType="System.String" PropName="file_path"/>
<Column Name="ReInspectionReportCode" DataType="System.String" PropName="series_timestamp"/>
<Column Name="ReceivingUnit" DataType="System.String" PropName="Column"/>
<Column Name="DrawNum" DataType="System.String" PropName="Column"/>
</TableDataSource>
</MsSqlDataConnection>
<Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="21" Guides="0,964.38,208.02,88.24,598.78,78.79,97.69,693.28,40.99,126.04,59.89,31.54,119.78,324.61,403.4,501.09,639.77,680.76,778.45,904.49,963.98,481.99">
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="113.39" Guides="0,113.39,70.87,18.9">
<TableObject Name="Table1" Width="964.38" Height="113.39" Border.Lines="Right, Top">
<TableColumn Name="Column1" Width="31.54"/>
<TableColumn Name="Column2" Width="88.24"/>
<TableColumn Name="Column3" Width="88.24"/>
<TableColumn Name="Column4" Width="116.59"/>
<TableColumn Name="Column5" Width="78.79"/>
<TableColumn Name="Column6" Width="97.69"/>
<TableColumn Name="Column7" Width="97.69"/>
<TableColumn Name="Column8" Width="40.99"/>
<TableColumn Name="Column9" Width="40.99"/>
<TableColumn Name="Column10" Width="97.69"/>
<TableColumn Name="Column11" Width="126.04"/>
<TableColumn Name="Column12" Width="59.89"/>
<TableRow Name="Row1" Height="70.87">
<TableCell Name="Cell1" Border.Lines="All" BeforePrintEvent="Cell1_BeforePrint" Text="SH/T 3503-J132-[h]" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell2" Border.Lines="All"/>
<TableCell Name="Cell3" Border.Lines="All"/>
<TableCell Name="Cell4" Border.Lines="All" BeforePrintEvent="Cell4_BeforePrint" Text="材料质量证明文件一览表[header]" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="4"/>
<TableCell Name="Cell5" Border.Lines="All"/>
<TableCell Name="Cell26" Border.Lines="All"/>
<TableCell Name="Cell27" Border.Lines="All"/>
<TableCell Name="Cell28" Border.Lines="All" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="5">
<TextObject Name="Text1" Width="94.5" Height="18.9" Border.Lines="Left" Text="工程名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell29" Border.Lines="All"/>
<TableCell Name="Cell30" Border.Lines="All"/>
<TableCell Name="Cell31" Border.Lines="All"/>
<TableCell Name="Cell32" Border.Lines="All"/>
</TableRow>
<TableRow Name="Row2" Height="42.52">
<TableCell Name="Cell6" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" Text="材料名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="All" Text="证件自编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="All" Text="证件出厂编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell33" Border.Lines="All" Text="规格型号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell34" Border.Lines="All" Text="制造厂家" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" Text="单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell36" Border.Lines="All" Text="总量" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="All" Text="复验报告编号" 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"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="117.39" Width="971.46" Height="42.52" Guides="0,42.52">
<TableObject Name="Table2" Width="964.38" Height="42.52" Border.Lines="Right, Top, Bottom" ManualBuildEvent="Table2_ManualBuild">
<TableColumn Name="Column13" Width="31.54"/>
<TableColumn Name="Column14" Width="88.24"/>
<TableColumn Name="Column15" Width="88.24"/>
<TableColumn Name="Column16" Width="116.59"/>
<TableColumn Name="Column17" Width="78.79"/>
<TableColumn Name="Column18" Width="97.69"/>
<TableColumn Name="Column19" Width="97.69"/>
<TableColumn Name="Column20" Width="40.99"/>
<TableColumn Name="Column21" Width="40.99"/>
<TableColumn Name="Column22" Width="97.69"/>
<TableColumn Name="Column23" Width="126.04"/>
<TableColumn Name="Column24" Width="59.89"/>
<TableRow Name="Row4" Height="42.52">
<TableCell Name="Cell52" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="All" Text="[Data.MaterialName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" Text="[Data.MaterialCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="All" Text="[Data.SerialCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell57" Border.Lines="All" Text="[Data.Specification]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="All" Text="[Data.Manufacturer]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="All" Text="[Data.Unit]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell60" Border.Lines="All" Text="[Data.TotalNum]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" Text="[Data.ReInspectionReportCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" Text="[Data.ReceivingUnit]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="All" Text="[Data.DrawNum]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="210.43" Width="971.46">
<ChildBand Name="Child1" Top="163.91" Width="971.46" Height="42.52" Guides="0,42.52" FillUnusedSpace="true">
<TableObject Name="Table3" Width="964.38" Height="42.52" Border.Lines="Right, Top, Bottom">
<TableColumn Name="Column25" Width="31.54"/>
<TableColumn Name="Column26" Width="88.24"/>
<TableColumn Name="Column27" Width="88.24"/>
<TableColumn Name="Column28" Width="116.59"/>
<TableColumn Name="Column29" Width="78.79"/>
<TableColumn Name="Column30" Width="97.69"/>
<TableColumn Name="Column31" Width="97.69"/>
<TableColumn Name="Column32" Width="40.99"/>
<TableColumn Name="Column33" Width="40.99"/>
<TableColumn Name="Column34" Width="97.69"/>
<TableColumn Name="Column35" Width="126.04"/>
<TableColumn Name="Column36" Width="59.89"/>
<TableRow Name="Row5" Height="42.52">
<TableCell Name="Cell64" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell67" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell69" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell72" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell74" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell75" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</ChildBand>
</ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="214.43" Width="971.46" Height="122.85" PrintOn="FirstPage" Guides="0,122.85,34.65,88.2">
<TableObject Name="Table4" Width="963.98" Height="122.85" Border.Lines="All">
<TableColumn Name="Column37" Width="481.99"/>
<TableColumn Name="Column38" Width="481.99"/>
<TableRow Name="Row6" Height="34.65">
<TableCell Name="Cell76" Border.Lines="Left, Right, Bottom" Text="采购单位" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell77" Border.Lines="Left, Right, Bottom" Text="领 用 单 位" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="53.55">
<TableCell Name="Cell81" Text="文档工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell82" Text="材料工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="34.65">
<TableCell Name="Cell86" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell87" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 11:23:53" ReportInfo.Modified="01/23/2026 16:40:31" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ProfessionalEngineering" DataType="System.String"/>
<Parameter Name="DrawingNumber" DataType="System.String"/>
<Parameter Name="InspectionItems" DataType="System.String"/>
<Parameter Name="InspectionResults" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,623.7,159.3,70.2,394.2,145.8,479.25,22.95,117.45,89.1,506.25,248.4,311.85,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="141.75" Guides="0,141.75,107.1,72.45,18.9,34.65">
<TableObject Name="Table1" Width="623.7" Height="141.75">
<TableColumn Name="Column1" Width="89.1"/>
<TableColumn Name="Column2" Width="70.2"/>
<TableColumn Name="Column3" Width="89.1"/>
<TableColumn Name="Column4" Width="145.8"/>
<TableColumn Name="Column5" Width="89.1"/>
<TableColumn Name="Column6" Width="22.95"/>
<TableColumn Name="Column7" Width="117.45"/>
<TableRow Name="Row1" Height="72.45">
<TableCell Name="Cell1" Border.Lines="Left, Right, Top" Text="SH/T 3503—J133" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell3" Border.Lines="Right, Top" Text="管道安装检查记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="2"/>
<TableCell Name="Cell4" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell5" Border.Lines="Right, Top" Text=" [ProjectName]" HorzAlign="Center" Font="楷体, 10.5pt" ColSpan="3">
<TextObject Name="Text1" Width="85.05" Height="18.9" Text="工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableCell>
<TableCell Name="Cell26" Border.Lines="Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="34.65">
<TableCell Name="Cell6" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="Left, Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell28" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="34.65">
<TableCell Name="Cell11" Border.Lines="All" Text="专业工程" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="Right, Top, Bottom" Text="[ProfessionalEngineering]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="Top, Bottom" Text="施工图号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="[DrawingNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<DataBand Name="Data1" Top="145.75" Width="623.7" Height="673.56" Guides="0,673.56,35.42,328.37,292.95,363.79,309.77">
<TableObject Name="Table2" Width="623.7" Height="673.56">
<TableColumn Name="Column8" Width="311.85"/>
<TableColumn Name="Column9" Width="311.85"/>
<TableRow Name="Row4" Height="35.42">
<TableCell Name="Cell32" Border.Lines="Left, Right" Text="检查项目:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell33" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="292.95">
<TableCell Name="Cell37" Border.Lines="Left, Right" Text="[InspectionItems]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell38" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="35.42">
<TableCell Name="Cell42" Border.Lines="Left, Right" Text="检验结论:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell43" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="309.77">
<TableCell Name="Cell47" Border.Lines="Left, Right" Text="[InspectionResults]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell48" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="823.31" Width="623.7" Height="151.2" Guides="0,151.2,30.24,60.48,90.72,120.96">
<TableObject Name="Table3" Width="623.7" Height="151.2">
<TableColumn Name="Column10" Width="207.9"/>
<TableColumn Name="Column11" Width="207.9"/>
<TableColumn Name="Column12" Width="207.9"/>
<TableRow Name="Row8" Height="30.24">
<TableCell Name="Cell49" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="Top, Bottom" Text="总承包单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell51" Border.Lines="All" Text="施工单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="30.24">
<TableCell Name="Cell54" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="Left, Right" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="30.24">
<TableCell Name="Cell59" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell60" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="Left, Right" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="30.24">
<TableCell Name="Cell64" Border.Lines="Left, Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row12" Height="30.24">
<TableCell Name="Cell69" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell70" Border.Lines="Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell71" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 16:41:44" ReportInfo.Modified="01/23/2026 17:09:03" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ConcealedWorks" DataType="System.String"/>
<Parameter Name="DrawingNumber" DataType="System.String"/>
<Parameter Name="ConcealedContentAndDiagram" DataType="System.String"/>
<Parameter Name="InspectionResults" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="21" Guides="0,623.68,177.18,68.51,77.96,389.8,385.08,479.58,96.86,49.61,115.76,30.71,507.92,99.22,292.94,623.7,207.9,415.8">
<DataBand Name="Data1" Width="623.7" Height="769.23" Guides="0,769.23,100.17,64.26,18.9,35.91,136.08,464.94,328.86,304.29">
<TableObject Name="Table1" Width="623.68" Height="769.23" Border.Lines="Left, Right, Top">
<TableColumn Name="Column1" Width="30.71"/>
<TableColumn Name="Column2" Width="68.51"/>
<TableColumn Name="Column3" Width="77.96"/>
<TableColumn Name="Column4" Width="115.76"/>
<TableColumn Name="Column5" Width="96.86"/>
<TableColumn Name="Column6" Width="68.51"/>
<TableColumn Name="Column7" Width="49.61"/>
<TableColumn Name="Column8" Width="115.76"/>
<TableRow Name="Row1" Height="64.26">
<TableCell Name="Cell1" Border.Lines="Left, Right, Top" Text="SH/T 3503—J112" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="3" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell3" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell4" Border.Lines="Top" Text="隐蔽工程验收记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="2">
<TextObject Name="Text1" Left="207.9" 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"/>
<TableCell Name="Cell26" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell27" Border.Lines="All" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="All" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="35.91">
<TableCell Name="Cell6" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell30" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell31" Border.Lines="Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="35.91">
<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="Top, Bottom" Text="[ConcealedWorks]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="施工图号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell32" Border.Lines="Top, Bottom" Text="[DrawingNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="328.86">
<TableCell Name="Cell16" Border.Lines="Left, Right, Bottom" Text="隐&#13;&#10;蔽&#13;&#10;内&#13;&#10;容&#13;&#10;及&#13;&#10;简&#13;&#10;图" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="Bottom" Text="[ConcealedContentAndDiagram]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell18" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell19" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell20" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell36" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="All" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="304.29">
<TableCell Name="Cell21" Border.Lines="Left, Right" Text="检&#13;&#10;查&#13;&#10;结&#13;&#10;果" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell22" Text="[InspectionResults]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell23" Border.Lines="Left, Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell24" Border.Lines="Left, Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell25" Border.Lines="Left, Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell38" Border.Lines="Left, Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="Left, Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="Left, Right, Top" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="773.23" Width="623.7" Height="198.45" Guides="0,198.45,39.69,79.38,119.07,158.76">
<TableObject Name="Table2" Width="623.7" Height="198.45" Border.Lines="Left, Bottom">
<TableColumn Name="Column9" Width="207.9"/>
<TableColumn Name="Column10" Width="207.9"/>
<TableColumn Name="Column11" Width="207.9"/>
<TableRow Name="Row6" Height="39.69">
<TableCell Name="Cell41" Border.Lines="All" Text="建设/监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell42" Border.Lines="Top, Bottom" Text="总承包单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell43" Border.Lines="All" Text="施工单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="39.69">
<TableCell Name="Cell46" Border.Lines="Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell47" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="Left, Right" Text="施工班组长:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="39.69">
<TableCell Name="Cell51" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell52" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="Left, Right" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="39.69">
<TableCell Name="Cell56" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell57" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="Left, Right" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="39.69">
<TableCell Name="Cell61" Border.Lines="Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="Left, Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -195,40 +195,26 @@ namespace FineUIPro.Web.JGZL
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
string strSql = @"SELECT * from JGZL_ConcealedWorksInspectionRecord where ProjectId = @ProjectId order by DrawingNumber desc";
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("Num");
dt.Columns.Add("ConcealedWorks");
dt.Columns.Add("DrawingNumber");
dt.Columns.Add("ConcealedContentAndDiagram");
dt.Columns.Add("InspectionResults");
dt.Columns.Add("Remark");
DataRow[] rows = tb.DefaultView.ToTable().Select();
int i = 0;
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString();
newRow["ConcealedWorks"] = row["ConcealedWorks"].ToString();
newRow["DrawingNumber"] = row["DrawingNumber"].ToString();
newRow["ConcealedContentAndDiagram"] = row["ConcealedContentAndDiagram"].ToString();
newRow["Remark"] = row["Remark"].ToString();
dt.Rows.Add(newRow);
i++;
}
BLL.Common.FastReportService.AddFastreportTable(dt);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
{
var report = BLL.ConcealedWorksInspectionRecordService.GetConcealedWorksInspectionRecordById(this.Grid1.SelectedRowID);
if (report != null)
{
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
keyValuePairs.Add("ConcealedWorks", report.ConcealedWorks);
keyValuePairs.Add("DrawingNumber", report.DrawingNumber);
keyValuePairs.Add("ConcealedContentAndDiagram", report.ConcealedContentAndDiagram);
keyValuePairs.Add("InspectionResults", report.InspectionResults);
}
}
else
{
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
return;
}
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\隐蔽工程验收记录.frx";
if (File.Exists(rootPath + initTemplatePath))
{

View File

@ -1,5 +1,7 @@
using BLL;
using FastReport;
using System;
using System.Windows.Forms.VisualStyles;
namespace FineUIPro.Web.JGZL
{
@ -61,6 +63,13 @@ namespace FineUIPro.Web.JGZL
this.txtRemark.Text = report.Remark;
}
}
else
{
if (!string.IsNullOrEmpty(this.ProjectId))
{
this.txtDrawingNumber.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectCode;
}
}
}
}
#endregion

View File

@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>工业管道安装质量证明书</title>
<title>压力管道安装质量证明书</title>
</head>
<body>
<form id="form1" runat="server">
@ -13,7 +13,7 @@
<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="220px" Title="工业管道安装质量证明书" ShowBorder="true" Layout="VBox"
EnableCollapse="true" Width="220px" Title="压力管道安装质量证明书" ShowBorder="true" Layout="VBox"
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
@ -25,28 +25,28 @@
</f:Toolbar>
</Toolbars>
<Items>
<f:Tree ID="tvControlItem" ShowHeader="false" Title="工业管道安装质量证明书" OnNodeCommand="tvControlItem_NodeCommand"
<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>
</Items>
</f:Panel>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="工业管道安装质量证明书"
TitleToolTip="工业管道安装质量证明书" AutoScroll="true">
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="压力管道安装质量证明书"
TitleToolTip="压力管道安装质量证明书" AutoScroll="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
<f:Button ID="btnPrint" Text="工业管道安装质量证明书打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
<f:Button ID="btnPrint" Text="压力管道安装质量证明书打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="工业管道安装质量证明书" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="压力管道安装质量证明书" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="CertificateId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="CertificateId" AllowSorting="true"
SortField="CertificateCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
@ -58,12 +58,12 @@
<f:RenderField HeaderText="质量证明书编号" ColumnID="CertificateCode" DataField="CertificateCode" SortField="CertificateCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px">
</f:RenderField>
<f:RenderField HeaderText="工程名称" ColumnID="EngineeringName" DataField="EngineeringName" SortField="EngineeringName"
<%-- <f:RenderField HeaderText="工程名称" ColumnID="EngineeringName" DataField="EngineeringName" SortField="EngineeringName"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="160px">
</f:RenderField>
<f:RenderField HeaderText="工程编号" ColumnID="EngineeringCode" DataField="EngineeringCode" SortField="EngineeringCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="140px">
</f:RenderField>
</f:RenderField>--%>
<f:RenderField HeaderText="交工单元名称" ColumnID="DeliveryUnit" DataField="DeliveryUnit" SortField="DeliveryUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="220px">
</f:RenderField>
@ -82,24 +82,18 @@
<f:RenderField HeaderText="管道长度" ColumnID="PipelineLength" DataField="PipelineLength" SortField="PipelineLength"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="100px">
</f:RenderField>
<f:RenderField HeaderText="设计单位" ColumnID="DesignUnit" DataField="DesignUnit" SortField="DesignUnit"
<f:RenderField HeaderText="压力管道设计许可证编号" ColumnID="DesignLicenseCode" DataField="DesignLicenseCode" SortField="DesignLicenseCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px">
</f:RenderField>
<f:RenderField HeaderText="无损检测机构" ColumnID="LosslessTestingAgency" DataField="LosslessTestingAgency" SortField="LosslessTestingAgency"
<f:RenderField HeaderText="资质证书编号" ColumnID="QualificationCertificateCode" DataField="QualificationCertificateCode" SortField="QualificationCertificateCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px">
</f:RenderField>
<f:RenderField HeaderText="监检机构" ColumnID="SupervisoryAndInspectionAgency" DataField="SupervisoryAndInspectionAgency" SortField="SupervisoryAndInspectionAgency"
<f:RenderField HeaderText="无损检测机构核准证编号" ColumnID="InstitutionalApprovalCertificate" DataField="InstitutionalApprovalCertificate" SortField="InstitutionalApprovalCertificate"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px">
</f:RenderField>
<f:RenderField HeaderText="建设单位" ColumnID="ConstructionUnit" DataField="ConstructionUnit" SortField="ConstructionUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px">
</f:RenderField>
<f:RenderField HeaderText="特种设备生产许可证编号" ColumnID="SpecialEquipmentProductionLicenseCode" DataField="SpecialEquipmentProductionLicenseCode" SortField="SpecialEquipmentProductionLicenseCode"
<f:RenderField HeaderText="特种设备安装许可证编号" ColumnID="SpecialEquipmentProductionLicenseCode" DataField="SpecialEquipmentProductionLicenseCode" SortField="SpecialEquipmentProductionLicenseCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="140px">
</f:RenderField>
<%--<f:RenderField HeaderText="备注" ColumnID="Remark" DataField="Remark" SortField="Remark"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px">
</f:RenderField>--%>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@ -122,11 +116,11 @@
</f:Panel>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="工业管道安装质量证明书" Hidden="true" EnableIFrame="true" EnableMaximize="true"
<f:Window ID="Window1" Title="压力管道安装质量证明书" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="900px" Height="600px">
</f:Window>
<f:Window ID="WindowPrint" Title="打印工业管道安装质量证明书" Hidden="true" EnableIFrame="true" EnableMaximize="false"
<f:Window ID="WindowPrint" Title="打印压力管道安装质量证明书" Hidden="true" EnableIFrame="true" EnableMaximize="false"
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="600px">
</f:Window>

View File

@ -195,15 +195,14 @@ namespace FineUIPro.Web.JGZL
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationQualityCertificate where ProjectId = @ProjectId order by DrawingNumber desc";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", projectId));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
string id = this.Grid1.SelectedRowID;
if (!string.IsNullOrEmpty(id))
{
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(id);
if (report != null)
{
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("Num");
dt.Columns.Add("CertificateCode");
dt.Columns.Add("EngineeringName");
dt.Columns.Add("EngineeringCode");
@ -214,49 +213,57 @@ namespace FineUIPro.Web.JGZL
dt.Columns.Add("PipelineLevel");
dt.Columns.Add("PipelineLength");
dt.Columns.Add("DesignUnit");
dt.Columns.Add("LosslessTestingAgency");
dt.Columns.Add("DesignLicenseCode");
dt.Columns.Add("SupervisoryAndInspectionAgency");
dt.Columns.Add("QualificationCertificateCode");
dt.Columns.Add("LosslessTestingAgency");
dt.Columns.Add("InstitutionalApprovalCertificate");
dt.Columns.Add("InstallationInspection");
dt.Columns.Add("ConstructionUnit");
dt.Columns.Add("SpecialEquipmentProductionLicenseCode");
dt.Columns.Add("Remark");
DataRow[] rows = tb.DefaultView.ToTable().Select();
int i = 0;
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString();
newRow["CertificateCode"] = row["CertificateCode"].ToString();
newRow["EngineeringName"] = row["EngineeringName"].ToString();
newRow["EngineeringCode"] = row["EngineeringCode"].ToString();
newRow["DeliveryUnit"] = row["DeliveryUnit"].ToString();
newRow["DeliveryUnitCode"] = row["DeliveryUnitCode"].ToString();
newRow["InstallStartDate"] = row["InstallStartDate"].ToString();
newRow["InstallEndDate"] = row["InstallEndDate"].ToString();
newRow["PipelineLevel"] = row["PipelineLevel"].ToString();
newRow["PipelineLength"] = row["PipelineLength"].ToString();
newRow["DesignUnit"] = row["DesignUnit"].ToString();
newRow["LosslessTestingAgency"] = row["LosslessTestingAgency"].ToString();
newRow["SupervisoryAndInspectionAgency"] = row["SupervisoryAndInspectionAgency"].ToString();
newRow["ConstructionUnit"] = row["ConstructionUnit"].ToString();
newRow["SpecialEquipmentProductionLicenseCode"] = row["SpecialEquipmentProductionLicenseCode"].ToString();
newRow["Remark"] = row["Remark"].ToString();
newRow["CertificateCode"] = report.CertificateCode;
newRow["EngineeringName"] = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
newRow["EngineeringCode"] = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectCode;
newRow["DeliveryUnit"] = report.DeliveryUnit;
newRow["DeliveryUnitCode"] = report.DeliveryUnitCode;
string InstallStartDate = report.InstallStartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.InstallStartDate) : "";
newRow["InstallStartDate"] = InstallStartDate;
string InstallEndDate = report.InstallEndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.InstallEndDate) : "";
newRow["InstallEndDate"] = InstallEndDate;
newRow["PipelineLevel"] = report.PipelineLevel;
newRow["PipelineLength"] = report.PipelineLength;
newRow["DesignUnit"] = report.DesignUnit;
newRow["DesignLicenseCode"] = report.DesignLicenseCode;
newRow["SupervisoryAndInspectionAgency"] = report.SupervisoryAndInspectionAgency;
newRow["QualificationCertificateCode"] = report.QualificationCertificateCode;
newRow["LosslessTestingAgency"] = report.LosslessTestingAgency;
newRow["InstitutionalApprovalCertificate"] = report.InstitutionalApprovalCertificate;
newRow["InstallationInspection"] = report.InstallationInspection;
newRow["ConstructionUnit"] = report.ConstructionUnit;
newRow["SpecialEquipmentProductionLicenseCode"] = report.SpecialEquipmentProductionLicenseCode;
dt.Rows.Add(newRow);
i++;
}
BLL.Common.FastReportService.AddFastreportTable(dt);
BLL.Common.FastReportService.AddFastreportTable(dt);
}
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\工业管道安装质量证明书.frx";
initTemplatePath = "File\\Fastreport\\JGZL\\压力管道安装质量证明.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
}
else
{
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
return;
}
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;

View File

@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑工业管道安装质量证明书</title>
<title>编辑压力管道安装质量证明书</title>
</head>
<body>
<form id="form1" runat="server">
@ -26,49 +26,61 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtCertificateCode" runat="server" Label="证明书编号" LabelAlign="Right" LabelWidth="150px" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtSpecialEquipmentProductionLicenseCode" runat="server" Label="特种设备生产许可证编号" LabelAlign="Right" LabelWidth="150px" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtCertificateCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtSpecialEquipmentProductionLicenseCode" runat="server" Label="特种设备安装许可证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
</Items>
</f:FormRow>
<%--<f:FormRow>
<Items>
<f:TextBox ID="txtEngineeringName" runat="server" Label="工程名称" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtEngineeringCode" runat="server" Label="工程编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtDeliveryUnitCode" runat="server" Label="交工单元编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtEngineeringName" runat="server" Label="工程名称" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtEngineeringCode" runat="server" Label="工程编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:DatePicker ID="txtInstallStartDate" runat="server" Label="安装开工日期" LabelAlign="Right" LabelWidth="170px"></f:DatePicker>
<f:DatePicker ID="txtInstallEndDate" runat="server" Label="安装竣工日期" LabelAlign="Right" LabelWidth="170px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtDeliveryUnitCode" runat="server" Label="交工单元编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtPipelineLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtInstallStartDate" runat="server" Label="安装开工日期" LabelAlign="Right" LabelWidth="150px"></f:DatePicker>
<f:DatePicker ID="txtInstallEndDate" runat="server" Label="安装竣工日期" LabelAlign="Right" LabelWidth="150px"></f:DatePicker>
<f:TextBox ID="txtDesignLicenseCode" runat="server" Label="压力管道设计许可证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtQualificationCertificateCode" runat="server" Label="资质证书编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtPipelineLength" runat="server" Label="管道长度" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtInstitutionalApprovalCertificate" runat="server" Label="无损检测机构核准证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtDesignUnit" runat="server" Label="设计单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDesignUnit" runat="server" Label="设计单位" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLosslessTestingAgency" runat="server" Label="无损检测机构" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtSupervisoryAndInspectionAgency" runat="server" Label="监理单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLosslessTestingAgency" runat="server" Label="无损检测单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSupervisoryAndInspectionAgency" runat="server" Label="监检机构" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtConstructionUnit" runat="server" Label="建设单位" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtInstallationInspection" runat="server" Label="安装监检单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtConstructionUnit" runat="server" Label="使用单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="150px" MaxLength="500"></f:TextArea>
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="170px" MaxLength="500"></f:TextArea>
</Items>
</f:FormRow>
</Rows>

View File

@ -56,17 +56,21 @@ namespace FineUIPro.Web.JGZL
{
this.txtCertificateCode.Text = report.CertificateCode;
this.txtSpecialEquipmentProductionLicenseCode.Text = report.SpecialEquipmentProductionLicenseCode;
this.txtEngineeringName.Text = report.EngineeringName;
this.txtEngineeringCode.Text = report.EngineeringCode;
//this.txtEngineeringName.Text = report.EngineeringName;
//this.txtEngineeringCode.Text = report.EngineeringCode;
this.txtDeliveryUnit.Text = report.DeliveryUnit;
this.txtDeliveryUnitCode.Text = report.DeliveryUnitCode;
this.txtInstallStartDate.Text = report.InstallStartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.InstallStartDate) : "";
this.txtInstallEndDate.Text = report.InstallEndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.InstallEndDate) : "";
this.txtPipelineLevel.Text = report.PipelineLevel;
this.txtPipelineLength.Text = report.PipelineLength;
this.txtDesignLicenseCode.Text = report.DesignLicenseCode;
this.txtQualificationCertificateCode.Text = report.QualificationCertificateCode;
this.txtInstitutionalApprovalCertificate.Text = report.InstitutionalApprovalCertificate;
this.txtDesignUnit.Text = report.DesignUnit;
this.txtLosslessTestingAgency.Text = report.LosslessTestingAgency;
this.txtSupervisoryAndInspectionAgency.Text = report.SupervisoryAndInspectionAgency;
this.txtLosslessTestingAgency.Text = report.LosslessTestingAgency;
this.txtInstallationInspection.Text = report.InstallationInspection;
this.txtConstructionUnit.Text = report.ConstructionUnit;
this.txtRemark.Text = report.Remark;
}
@ -88,8 +92,8 @@ namespace FineUIPro.Web.JGZL
Model.JGZL_IndustrialPipelineInstallationQualityCertificate newReport = new Model.JGZL_IndustrialPipelineInstallationQualityCertificate();
newReport.CertificateCode = this.txtCertificateCode.Text.Trim();
newReport.SpecialEquipmentProductionLicenseCode = this.txtSpecialEquipmentProductionLicenseCode.Text.Trim();
newReport.EngineeringName = this.txtEngineeringName.Text.Trim();
newReport.EngineeringCode = this.txtEngineeringCode.Text.Trim();
//newReport.EngineeringName = this.txtEngineeringName.Text.Trim();
//newReport.EngineeringCode = this.txtEngineeringCode.Text.Trim();
newReport.DeliveryUnit = this.txtDeliveryUnit.Text.Trim();
newReport.DeliveryUnitCode = this.txtDeliveryUnitCode.Text.Trim();
newReport.InstallStartDate = Funs.GetNewDateTime(this.txtInstallStartDate.Text.Trim());
@ -101,6 +105,10 @@ namespace FineUIPro.Web.JGZL
newReport.SupervisoryAndInspectionAgency = this.txtSupervisoryAndInspectionAgency.Text.Trim();
newReport.ConstructionUnit = this.txtConstructionUnit.Text.Trim();
newReport.Remark = this.txtRemark.Text.Trim();
newReport.DesignLicenseCode = this.txtDesignLicenseCode.Text.Trim();
newReport.QualificationCertificateCode = this.txtQualificationCertificateCode.Text.Trim();
newReport.InstitutionalApprovalCertificate = this.txtInstitutionalApprovalCertificate.Text.Trim();
newReport.InstallationInspection = this.txtInstallationInspection.Text.Trim();
if (!string.IsNullOrEmpty(this.CertificateId))
{

View File

@ -86,24 +86,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtSpecialEquipmentProductionLicenseCode;
/// <summary>
/// txtEngineeringName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEngineeringName;
/// <summary>
/// txtEngineeringCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEngineeringCode;
/// <summary>
/// txtDeliveryUnit 控件。
/// </summary>
@ -158,6 +140,33 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtPipelineLength;
/// <summary>
/// txtDesignLicenseCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtDesignLicenseCode;
/// <summary>
/// txtQualificationCertificateCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtQualificationCertificateCode;
/// <summary>
/// txtInstitutionalApprovalCertificate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtInstitutionalApprovalCertificate;
/// <summary>
/// txtDesignUnit 控件。
/// </summary>
@ -167,6 +176,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtDesignUnit;
/// <summary>
/// txtSupervisoryAndInspectionAgency 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSupervisoryAndInspectionAgency;
/// <summary>
/// txtLosslessTestingAgency 控件。
/// </summary>
@ -177,13 +195,13 @@ namespace FineUIPro.Web.JGZL
protected global::FineUIPro.TextBox txtLosslessTestingAgency;
/// <summary>
/// txtSupervisoryAndInspectionAgency 控件。
/// txtInstallationInspection 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSupervisoryAndInspectionAgency;
protected global::FineUIPro.TextBox txtInstallationInspection;
/// <summary>
/// txtConstructionUnit 控件。

View File

@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>工业管道安装汇总表</title>
<title>压力管道安装汇总表</title>
</head>
<body>
<form id="form1" runat="server">
@ -13,7 +13,7 @@
<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="220px" Title="工业管道安装汇总表" ShowBorder="true" Layout="VBox"
EnableCollapse="true" Width="220px" Title="压力管道安装汇总表" ShowBorder="true" Layout="VBox"
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
@ -25,47 +25,47 @@
</f:Toolbar>
</Toolbars>
<Items>
<f:Tree ID="tvControlItem" ShowHeader="false" Title="工业管道安装汇总表" OnNodeCommand="tvControlItem_NodeCommand"
<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>
</Items>
</f:Panel>
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="工业管道安装汇总表"
TitleToolTip="工业管道安装汇总表" AutoScroll="true">
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="压力管道安装汇总表"
TitleToolTip="压力管道安装汇总表" AutoScroll="true">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
<Items>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
<f:Button ID="btnPrint" Text="工业管道安装汇总表打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
<f:Button ID="btnPrint" Text="压力管道安装汇总表打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="工业管道安装汇总表" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="压力管道安装汇总表" EnableCollapse="true"
runat="server" BoxFlex="1" DataKeyNames="SummaryId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="SummaryId" AllowSorting="true"
SortField="CertificateCode,PipelineCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
SortField="CertificateCode" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
EnableTextSelection="True" AutoScroll="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
<Columns>
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
TextAlign="Center" />
<f:RenderField HeaderText="质量证明书编号" ColumnID="CertificateCode" DataField="CertificateCode" SortField="CertificateCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px">
<f:RenderField HeaderText="证明书编号" ColumnID="CertificateCode" DataField="CertificateCode" SortField="CertificateCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="交工单元名称" ColumnID="DeliveryUnit" DataField="DeliveryUnit" SortField="DeliveryUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px">
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="交工单元编号" ColumnID="DeliveryUnitCode" DataField="DeliveryUnitCode" SortField="DeliveryUnitCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px">
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" MinWidth="160px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="管道编号" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
<%-- <f:RenderField HeaderText="管道编号" ColumnID="PipelineCode" DataField="PipelineCode" SortField="PipelineCode"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="160px">
</f:RenderField>
<f:RenderField HeaderText="管道级别" ColumnID="PipelineLevel" DataField="PipelineLevel" SortField="PipelineLevel"
@ -131,7 +131,7 @@
</f:RenderField>
<f:RenderField HeaderText="保温(绝热)方式" ColumnID="InsulationMethod" DataField="InsulationMethod" SortField="InsulationMethod"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px">
</f:RenderField>
</f:RenderField>--%>
<%--<f:RenderField HeaderText="备注" ColumnID="Remark" DataField="Remark" SortField="Remark"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px">
</f:RenderField>--%>
@ -157,11 +157,11 @@
</f:Panel>
</Items>
</f:Panel>
<f:Window ID="Window1" Title="工业管道安装汇总表" Hidden="true" EnableIFrame="true" EnableMaximize="true"
<f:Window ID="Window1" Title="压力管道安装汇总表" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="960px" Height="680px">
</f:Window>
<f:Window ID="WindowPrint" Title="打印工业管道安装汇总表" Hidden="true" EnableIFrame="true" EnableMaximize="false"
<f:Window ID="WindowPrint" Title="打印压力管道安装汇总表" Hidden="true" EnableIFrame="true" EnableMaximize="false"
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
Height="600px">
</f:Window>

View File

@ -198,7 +198,7 @@ namespace FineUIPro.Web.JGZL
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary where ProjectId = @ProjectId order by DrawingNumber desc";
string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary where ProjectId = @ProjectId ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", projectId));
SqlParameter[] parameter = listStr.ToArray();
@ -207,11 +207,27 @@ namespace FineUIPro.Web.JGZL
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("Num");
dt.Columns.Add("ConcealedWorks");
dt.Columns.Add("DrawingNumber");
dt.Columns.Add("ConcealedContentAndDiagram");
dt.Columns.Add("InspectionResults");
dt.Columns.Add("Remark");
dt.Columns.Add("PipelineCode");
dt.Columns.Add("PipelineLevel");
dt.Columns.Add("DesignPressure");
dt.Columns.Add("DesignTemperature");
dt.Columns.Add("OperatingTemperature");
dt.Columns.Add("Medium");
dt.Columns.Add("Material");
dt.Columns.Add("Specifications");
dt.Columns.Add("Length");
dt.Columns.Add("LayingMethod");
dt.Columns.Add("WeldsNum");
dt.Columns.Add("LosslessRatio");
dt.Columns.Add("VoltageResistantTestMedium");
dt.Columns.Add("VoltageResistantTestPressure");
dt.Columns.Add("VoltageResistantTestDate");
dt.Columns.Add("LeakageTestMedium");
dt.Columns.Add("LeakageTestPressure");
dt.Columns.Add("LeakageTestDate");
dt.Columns.Add("CleaningMethod");
dt.Columns.Add("CorrosionControlMethod");
dt.Columns.Add("InsulationMethod");
DataRow[] rows = tb.DefaultView.ToTable().Select();
int i = 0;
@ -219,20 +235,52 @@ namespace FineUIPro.Web.JGZL
{
var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString();
newRow["ConcealedWorks"] = row["ConcealedWorks"].ToString();
newRow["DrawingNumber"] = row["DrawingNumber"].ToString();
newRow["ConcealedContentAndDiagram"] = row["ConcealedContentAndDiagram"].ToString();
newRow["Remark"] = row["Remark"].ToString();
newRow["PipelineCode"] = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByIsoInfoId(row["PipelineCode"].ToString()).ISO_IsoNo;
newRow["PipelineLevel"] = row["PipelineLevel"].ToString();
newRow["DesignPressure"] = row["DesignPressure"].ToString();
newRow["DesignTemperature"] = row["DesignTemperature"].ToString();
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString();
newRow["Medium"] = row["Medium"].ToString();
newRow["Material"] = row["Material"].ToString();
newRow["Specifications"] = row["Specifications"].ToString();
newRow["Length"] = row["Length"].ToString();
newRow["LayingMethod"] = row["LayingMethod"].ToString();
newRow["WeldsNum"] = row["WeldsNum"].ToString();
newRow["LosslessRatio"] = row["LosslessRatio"].ToString();
newRow["VoltageResistantTestMedium"] = row["VoltageResistantTestMedium"].ToString();
newRow["VoltageResistantTestPressure"] = row["VoltageResistantTestPressure"].ToString();
string VoltageResistantTestDate = string.Format("{0:yyyy.MM.dd}", row["VoltageResistantTestDate"]);
newRow["VoltageResistantTestDate"] = VoltageResistantTestDate;
newRow["LeakageTestMedium"] = row["LeakageTestMedium"].ToString();
newRow["LeakageTestPressure"] = row["LeakageTestPressure"].ToString();
string LeakageTestDate = string.Format("{0:yyyy.MM.dd}", row["LeakageTestDate"]);
newRow["LeakageTestDate"] = LeakageTestDate;
newRow["CleaningMethod"] = row["CleaningMethod"].ToString();
newRow["CorrosionControlMethod"] = row["CorrosionControlMethod"].ToString();
newRow["InsulationMethod"] = row["InsulationMethod"].ToString();
dt.Rows.Add(newRow);
i++;
}
BLL.Common.FastReportService.AddFastreportTable(dt);
string certificateCode = string.Empty;
string deliveryUnit = string.Empty;
string deliveryUnitCode = string.Empty;
string certificateId = rows[0]["CertificateId"].ToString();
var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(certificateId);
if (certificate!=null)
{
certificateCode = certificate.CertificateCode;
deliveryUnit=certificate.DeliveryUnit;
deliveryUnitCode = certificate.DeliveryUnitCode;
}
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("CertificateCode", certificateCode);
keyValuePairs.Add("DeliveryUnit", deliveryUnit);
keyValuePairs.Add("DeliveryUnitCode", deliveryUnitCode);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\工业管道安装汇总表.frx";
initTemplatePath = "File\\Fastreport\\JGZL\\压力管道安装汇总表.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));

View File

@ -5,7 +5,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>编辑工业管道安装汇总表</title>
<title>编辑压力管道安装汇总表</title>
</head>
<body>
<form id="form1" runat="server">
@ -26,85 +26,92 @@
<Rows>
<f:FormRow>
<Items>
<f:DropDownList runat="server" ID="drpCertificateCode" Label="质量证明书编号" LabelWidth="150px" EmptyText="-请选择-" AutoPostBack="true" OnSelectedIndexChanged="drpCertificateCode_SelectedIndexChanged" ShowRedStar="true" AutoSelectFirstItem="false" EnableEdit="true"></f:DropDownList>
<%--<f:TextBox ID="txtDrawingNumber" runat="server" Label="施工图号" LabelAlign="Right" LabelWidth="150px" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>--%>
<f:DropDownList runat="server" ID="drpCertificateCode" Label="证明书编号" LabelWidth="170px" EmptyText="-请选择-" AutoPostBack="true" OnSelectedIndexChanged="drpCertificateCode_SelectedIndexChanged" ShowRedStar="true" AutoSelectFirstItem="false" EnableEdit="true"></f:DropDownList>
<%--<f:TextBox ID="txtDrawingNumber" runat="server" Label="施工图号" LabelAlign="Right" LabelWidth="170px" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>--%>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" LabelWidth="150px" Readonly="true"></f:TextBox>
<f:TextBox ID="txtDeliveryUnitCode" runat="server" Label="交工单元编号" LabelAlign="Right" LabelWidth="150px" Readonly="true"></f:TextBox>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" LabelWidth="170px" Readonly="true"></f:TextBox>
<f:TextBox ID="txtDeliveryUnitCode" runat="server" Label="交工单元编号" LabelAlign="Right" LabelWidth="170px" Readonly="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtPipelineCode" runat="server" Label="管道编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:DropDownList ID="drpPipelineCode" runat="server" Label="单线号" LabelAlign="Right" LabelWidth="170px" Required="true" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpPipelineCode_SelectedIndexChanged"></f:DropDownList>
<%--<f:TextBox ID="txtPipelineCode" runat="server" Label="单线号" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>--%>
<f:TextBox ID="txtPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="170px" MaxLength="50" ></f:TextBox>
</Items>
</f:FormRow>
<%--<f:FormRow>
<Items>
<f:TextBox ID="txtPipelineStartPoint" runat="server" Label="起点" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtPipelineEndPoint" runat="server" Label="终点" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:TextBox ID="txtDesignPressure" runat="server" Label="设计压力MPa" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtDesignTemperature" runat="server" Label="设计温度(℃)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtPipelineStartPoint" runat="server" Label="起点" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtPipelineEndPoint" runat="server" Label="终点" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtOperatingTemperature" runat="server" Label="操作温度(℃)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtMedium" runat="server" Label="输送介质" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtDesignPressure" runat="server" Label="设计压力MPa" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtDesignTemperature" runat="server" Label="设计温度(℃)" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtMaterial" runat="server" Label="管道材质牌号及标准" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtSpecifications" runat="server" Label="管道规格" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtMedium" runat="server" Label="介质" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtMaterial" runat="server" Label="材质" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLength" runat="server" Label="管道长度(m)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLayingMethod" runat="server" Label="铺设方式" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSpecifications" runat="server" Label="规格mm" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLength" runat="server" Label="长度m" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtWeldsNum" runat="server" Label="焊口数量" LabelAlign="Right" LabelWidth="170px" MaxLength="50" Readonly="true"></f:TextBox>
<f:TextBox ID="txtLosslessRatio" runat="server" Label="检测方法/比例(%)" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtLayingMethod" runat="server" Label="铺设方式" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtWeldsNum" runat="server" Label="焊口数量" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtVoltageResistantTestMedium" runat="server" Label="压力试验介质" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtVoltageResistantTestPressure" runat="server" Label="压力试验压力MPa" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtLosslessRatio" runat="server" Label="无损检测方法/比例(%)" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtVoltageResistantTestMethod" runat="server" Label="耐压试验方法" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtVoltageResistantTestDate" runat="server" Label="压力试验日期" LabelAlign="Right" LabelWidth="170px"></f:DatePicker>
<f:TextBox ID="txtLeakageTestMedium" runat="server" Label="泄漏性试验介质" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtVoltageResistantTestMedium" runat="server" Label="耐压试验介质" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtVoltageResistantTestPressure" runat="server" Label="耐压试验压力MPa" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLeakageTestPressure" runat="server" Label="泄露性试验压力MPa" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtLeakageTestDate" runat="server" Label="泄露性试验日期" LabelAlign="Right" LabelWidth="170px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtLeakageTestMedium" runat="server" Label="泄露试验介质" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtLeakageTestPressure" runat="server" Label="泄露试验压力MPa" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtCleaningMethod" runat="server" Label="吹洗方法" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtCorrosionControlMethod" runat="server" Label="防腐方式" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtCleaningMethod" runat="server" Label="吹扫、清洗方法" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtCorrosionControlMethod" runat="server" Label="腐蚀试验方式" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtInsulationMethod" runat="server" Label="保温(绝热)方式" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
<f:Label ID="Label1" runat="server"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtInsulationMethod" runat="server" Label="保温(绝热)方式" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<%--<f:TextBox ID="TextBox2" runat="server" Label="耐压试验压力MPa" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>--%>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="150px" MaxLength="500"></f:TextArea>
<f:TextArea ID="txtRemark" runat="server" Label="备注" LabelAlign="Right" LabelWidth="170px" MaxLength="500"></f:TextArea>
</Items>
</f:FormRow>
</Rows>

View File

@ -1,5 +1,6 @@
using BLL;
using FastReport;
using Model;
using Org.BouncyCastle.Crypto.Tls;
using Org.BouncyCastle.Ocsp;
using System;
@ -71,6 +72,11 @@ namespace FineUIPro.Web.JGZL
{
//获取下拉选择项本项目下所有工业管道安装质量证明书信息
IndustrialPipelineInstallationQualityCertificateService.InitIndustrialPipelineInstallationQualityCertificateDownList(this.drpCertificateCode, this.ProjectId, false);
this.drpPipelineCode.DataTextField = "ISO_IsoNo";
this.drpPipelineCode.DataValueField = "ISO_ID";
this.drpPipelineCode.DataSource = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.ProjectId);
this.drpPipelineCode.DataBind();
Funs.FineUIPleaseSelect(this.drpPipelineCode);
}
if (!string.IsNullOrEmpty(this.SummaryId))
{
@ -78,23 +84,33 @@ namespace FineUIPro.Web.JGZL
if (report != null)
{
this.ProjectId = report.ProjectId;
if (!string.IsNullOrWhiteSpace(this.ProjectId))
{
//获取下拉选择项本项目下所有工业管道安装质量证明书信息
IndustrialPipelineInstallationQualityCertificateService.InitIndustrialPipelineInstallationQualityCertificateDownList(this.drpCertificateCode, this.ProjectId, false);
this.drpPipelineCode.DataTextField = "ISO_IsoNo";
this.drpPipelineCode.DataValueField = "ISO_ID";
this.drpPipelineCode.DataSource = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.ProjectId);
this.drpPipelineCode.DataBind();
Funs.FineUIPleaseSelect(this.drpPipelineCode);
if (!string.IsNullOrEmpty(report.CertificateId))
{
this.drpCertificateCode.SelectedValue = report.CertificateId;
this.drpCertificateCode.Readonly = true;
}
var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(report.CertificateId);
if (certificate != null)
{
this.txtDeliveryUnit.Text = certificate.DeliveryUnit;
this.txtDeliveryUnitCode.Text = certificate.DeliveryUnitCode;
this.txtPipelineCode.Text = report.PipelineCode;
}
}
if (!string.IsNullOrEmpty(report.PipelineCode))
{
this.drpPipelineCode.SelectedValue = report.PipelineCode;
}
this.txtPipelineLevel.Text = report.PipelineLevel;
this.txtPipelineStartPoint.Text = report.PipelineStartPoint;
this.txtPipelineEndPoint.Text = report.PipelineEndPoint;
//this.txtPipelineStartPoint.Text = report.PipelineStartPoint;
//this.txtPipelineEndPoint.Text = report.PipelineEndPoint;
this.txtDesignPressure.Text = report.DesignPressure;
this.txtDesignTemperature.Text = report.DesignTemperature;
this.txtOperatingTemperature.Text = report.OperatingTemperature;
this.txtMedium.Text = report.Medium;
this.txtMaterial.Text = report.Material;
this.txtSpecifications.Text = report.Specifications;
@ -102,18 +118,19 @@ namespace FineUIPro.Web.JGZL
this.txtLayingMethod.Text = report.LayingMethod;
this.txtWeldsNum.Text = report.WeldsNum;
this.txtLosslessRatio.Text = report.LosslessRatio;
this.txtVoltageResistantTestMethod.Text = report.VoltageResistantTestMethod;
//this.txtVoltageResistantTestMethod.Text = report.VoltageResistantTestMethod;
this.txtVoltageResistantTestMedium.Text = report.VoltageResistantTestMedium;
this.txtVoltageResistantTestPressure.Text = report.VoltageResistantTestPressure;
this.txtVoltageResistantTestDate.Text = report.VoltageResistantTestDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.VoltageResistantTestDate) : "";
this.txtLeakageTestMedium.Text = report.LeakageTestMedium;
this.txtLeakageTestPressure.Text = report.LeakageTestPressure;
this.txtLeakageTestDate.Text = report.LeakageTestDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.LeakageTestDate) : "";
this.txtCleaningMethod.Text = report.CleaningMethod;
this.txtCorrosionControlMethod.Text = report.CorrosionControlMethod;
this.txtInsulationMethod.Text = report.InsulationMethod;
this.txtRemark.Text = report.Remark;
}
}
}
}
@ -152,13 +169,25 @@ namespace FineUIPro.Web.JGZL
{
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_IndustrialPipelineInstallationSummaryMenuId, Const.BtnSave))
{
if (this.drpCertificateCode.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpCertificateCode.SelectedValue))
{
Alert.ShowInTop("请选择证明书编号!", MessageBoxIcon.Warning);
return;
}
if (this.drpPipelineCode.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpPipelineCode.SelectedValue))
{
Alert.ShowInTop("请选择单线图号!", MessageBoxIcon.Warning);
return;
}
Model.JGZL_IndustrialPipelineInstallationSummary newReport = new Model.JGZL_IndustrialPipelineInstallationSummary();
newReport.PipelineCode = this.txtPipelineCode.Text.Trim();
newReport.CertificateId = this.drpCertificateCode.SelectedValue;
newReport.PipelineCode = this.drpPipelineCode.SelectedValue;
newReport.PipelineLevel = this.txtPipelineLevel.Text.Trim();
newReport.PipelineStartPoint = this.txtPipelineStartPoint.Text.Trim();
newReport.PipelineEndPoint = this.txtPipelineEndPoint.Text.Trim();
//newReport.PipelineStartPoint = this.txtPipelineStartPoint.Text.Trim();
//newReport.PipelineEndPoint = this.txtPipelineEndPoint.Text.Trim();
newReport.DesignPressure = this.txtDesignPressure.Text.Trim();
newReport.DesignTemperature = this.txtDesignTemperature.Text.Trim();
newReport.OperatingTemperature = this.txtOperatingTemperature.Text.Trim();
newReport.Medium = this.txtMedium.Text.Trim();
newReport.Material = this.txtMaterial.Text.Trim();
newReport.Specifications = this.txtSpecifications.Text.Trim();
@ -166,11 +195,13 @@ namespace FineUIPro.Web.JGZL
newReport.LayingMethod = this.txtLayingMethod.Text.Trim();
newReport.WeldsNum = this.txtWeldsNum.Text.Trim();
newReport.LosslessRatio = this.txtLosslessRatio.Text.Trim();
newReport.VoltageResistantTestMethod = this.txtVoltageResistantTestMethod.Text.Trim();
//newReport.VoltageResistantTestMethod = this.txtVoltageResistantTestMethod.Text.Trim();
newReport.VoltageResistantTestMedium = this.txtVoltageResistantTestMedium.Text.Trim();
newReport.VoltageResistantTestPressure = this.txtVoltageResistantTestPressure.Text.Trim();
newReport.VoltageResistantTestDate = Funs.GetNewDateTime(this.txtVoltageResistantTestDate.Text);
newReport.LeakageTestMedium = this.txtLeakageTestMedium.Text.Trim();
newReport.LeakageTestPressure = this.txtLeakageTestPressure.Text.Trim();
newReport.LeakageTestDate = Funs.GetNewDateTime(this.txtLeakageTestDate.Text);
newReport.CleaningMethod = this.txtCleaningMethod.Text.Trim();
newReport.CorrosionControlMethod = this.txtCorrosionControlMethod.Text.Trim();
newReport.InsulationMethod = this.txtInsulationMethod.Text.Trim();
@ -179,12 +210,12 @@ namespace FineUIPro.Web.JGZL
if (!string.IsNullOrEmpty(this.SummaryId))
{
newReport.SummaryId = this.SummaryId;
newReport.CertificateId = this.drpCertificateCode.SelectedValue;
//newReport.CertificateId = this.drpCertificateCode.SelectedValue;
BLL.IndustrialPipelineInstallationSummaryService.UpdateIndustrialPipelineInstallationSummary(newReport);
}
else
{
newReport.CertificateId = this.drpCertificateCode.SelectedValue;
//newReport.CertificateId = this.drpCertificateCode.SelectedValue;
newReport.ProjectId = this.ProjectId;
newReport.CompileMan = this.CurrUser.UserId;
newReport.CompileDate = DateTime.Now;
@ -204,5 +235,16 @@ namespace FineUIPro.Web.JGZL
}
}
#endregion
protected void drpPipelineCode_SelectedIndexChanged(object sender, EventArgs e)
{
SGGLDB db = Funs.DB;
this.txtWeldsNum.Text = string.Empty;
if (this.drpPipelineCode.SelectedValue!=BLL.Const._Null&&!string.IsNullOrEmpty(this.drpPipelineCode.SelectedValue))
{
int jointCount = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(this.drpPipelineCode.SelectedValue);
this.txtWeldsNum.Text = jointCount.ToString();
}
}
}
}

View File

@ -96,13 +96,13 @@ namespace FineUIPro.Web.JGZL
protected global::FineUIPro.TextBox txtDeliveryUnitCode;
/// <summary>
/// txtPipelineCode 控件。
/// drpPipelineCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPipelineCode;
protected global::FineUIPro.DropDownList drpPipelineCode;
/// <summary>
/// txtPipelineLevel 控件。
@ -113,24 +113,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtPipelineLevel;
/// <summary>
/// txtPipelineStartPoint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPipelineStartPoint;
/// <summary>
/// txtPipelineEndPoint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPipelineEndPoint;
/// <summary>
/// txtDesignPressure 控件。
/// </summary>
@ -149,6 +131,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtDesignTemperature;
/// <summary>
/// txtOperatingTemperature 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtOperatingTemperature;
/// <summary>
/// txtMedium 控件。
/// </summary>
@ -212,15 +203,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtLosslessRatio;
/// <summary>
/// txtVoltageResistantTestMethod 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtVoltageResistantTestMethod;
/// <summary>
/// txtVoltageResistantTestMedium 控件。
/// </summary>
@ -239,6 +221,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtVoltageResistantTestPressure;
/// <summary>
/// txtVoltageResistantTestDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtVoltageResistantTestDate;
/// <summary>
/// txtLeakageTestMedium 控件。
/// </summary>
@ -257,6 +248,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtLeakageTestPressure;
/// <summary>
/// txtLeakageTestDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtLeakageTestDate;
/// <summary>
/// txtCleaningMethod 控件。
/// </summary>
@ -284,6 +284,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtInsulationMethod;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtRemark 控件。
/// </summary>

View File

@ -216,7 +216,6 @@ namespace FineUIPro.Web.JGZL
dt.Columns.Add("ReInspectionReportCode");
dt.Columns.Add("ReceivingUnit");
dt.Columns.Add("DrawNum");
dt.Columns.Add("Remark");
DataRow[] rows = tb.DefaultView.ToTable().Select();
int i = 0;
@ -228,13 +227,13 @@ namespace FineUIPro.Web.JGZL
newRow["MaterialCode"] = row["MaterialCode"].ToString();
newRow["SerialCode"] = row["SerialCode"].ToString();
newRow["Material"] = row["Material"].ToString();
newRow["Specification"] = row["Specification"].ToString();
newRow["Manufacturer"] = row["Manufacturer"].ToString();
newRow["Unit"] = row["Unit"].ToString();
newRow["TotalNum"] = row["TotalNum"].ToString();
newRow["ReInspectionReportCode"] = row["ReInspectionReportCode"].ToString();
newRow["ReceivingUnit"] = row["ReceivingUnit"].ToString();
newRow["DrawNum"] = row["DrawNum"].ToString();
newRow["Remark"] = row["Remark"].ToString();
dt.Rows.Add(newRow);
i++;
}

View File

@ -26,20 +26,20 @@
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtMaterialCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="150px" MaxLength="20" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtMaterialName" runat="server" Label="名称" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtMaterialName" runat="server" Label="材料名称" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtMaterialCode" runat="server" Label="证件自编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtSerialCode" runat="server" Label="证件出厂编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtManufacturer" runat="server" Label="制造厂家" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtSerialCode" runat="server" Label="证件出厂编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtManufacturer" runat="server" Label="制造厂家" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtMaterial" runat="server" Label="材质" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtSpecification" runat="server" Label="规格型号" LabelAlign="Right" LabelWidth="150px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtSpecification" runat="server" Label="规格型号" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
@ -53,14 +53,15 @@
<f:FormRow>
<Items>
<f:TextBox ID="txtReInspectionReportCode" runat="server" Label="复验报告编号" LabelAlign="Right" LabelWidth="150px" MaxLength="50"></f:TextBox>
<f:TextBox ID="txtReceivingUnit" runat="server" Label="领用单位" LabelAlign="Right" LabelWidth="150px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtReceivingUnit" runat="server" Label="领用单位" LabelAlign="Right" LabelWidth="150px"></f:TextBox>
<f:NumberBox ID="txtDrawNum" runat="server" Label="领用量" LabelWidth="150px" LabelAlign="Right" NoDecimal="false"
NoNegative="true" EmptyText="0">
</f:NumberBox>
<f:Label ID="Label1" runat="server"></f:Label>
</Items>
</f:FormRow>
<f:FormRow>

View File

@ -68,15 +68,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// txtMaterialCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtMaterialCode;
/// <summary>
/// txtMaterialName 控件。
/// </summary>
@ -86,6 +77,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.TextBox txtMaterialName;
/// <summary>
/// txtMaterialCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtMaterialCode;
/// <summary>
/// txtSerialCode 控件。
/// </summary>
@ -167,6 +167,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks>
protected global::FineUIPro.NumberBox txtDrawNum;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtRemark 控件。
/// </summary>

View File

@ -195,41 +195,26 @@ namespace FineUIPro.Web.JGZL
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
string strSql = @"SELECT * from JGZL_PipelineInstallationInspectionRecord where ProjectId = @ProjectId order by DrawingNumber desc";
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("Num");
dt.Columns.Add("ConcealedWorks");
dt.Columns.Add("DrawingNumber");
dt.Columns.Add("ConcealedContentAndDiagram");
dt.Columns.Add("InspectionResults");
dt.Columns.Add("Remark");
DataRow[] rows = tb.DefaultView.ToTable().Select();
int i = 0;
foreach (var row in rows)
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
{
var report = BLL.PipelineInstallationInspectionRecordService.GetPipelineInstallationInspectionRecordById(this.Grid1.SelectedRowID);
if (report != null)
{
var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString();
newRow["ConcealedWorks"] = row["ConcealedWorks"].ToString();
newRow["DrawingNumber"] = row["DrawingNumber"].ToString();
newRow["ConcealedContentAndDiagram"] = row["ConcealedContentAndDiagram"].ToString();
newRow["Remark"] = row["Remark"].ToString();
dt.Rows.Add(newRow);
i++;
}
BLL.Common.FastReportService.AddFastreportTable(dt);
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
keyValuePairs.Add("ProfessionalEngineering", report.ProfessionalEngineering);
keyValuePairs.Add("DrawingNumber", report.DrawingNumber);
keyValuePairs.Add("InspectionItems", report.InspectionItems);
keyValuePairs.Add("InspectionResults", report.InspectionResults);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\隐蔽工程验收记录.frx";
}
}
else
{
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
return;
}
initTemplatePath = "File\\Fastreport\\JGZL\\管道安装检查记录.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));

View File

@ -61,6 +61,14 @@ namespace FineUIPro.Web.JGZL
this.txtRemark.Text = report.Remark;
}
}
else
{
this.txtProfessionalEngineering.Text = "管道安装工程";
if (!string.IsNullOrEmpty(this.ProjectId))
{
this.txtDrawingNumber.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectCode;
}
}
}
}
#endregion

View File

@ -83587,6 +83587,14 @@ namespace Model
private System.Nullable<System.DateTime> _RevieweDate;
private string _DesignLicenseCode;
private string _QualificationCertificateCode;
private string _InstitutionalApprovalCertificate;
private string _InstallationInspection;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Sys_User> _Sys_User;
@ -83637,6 +83645,14 @@ namespace Model
partial void OnReviewerChanged();
partial void OnRevieweDateChanging(System.Nullable<System.DateTime> value);
partial void OnRevieweDateChanged();
partial void OnDesignLicenseCodeChanging(string value);
partial void OnDesignLicenseCodeChanged();
partial void OnQualificationCertificateCodeChanging(string value);
partial void OnQualificationCertificateCodeChanged();
partial void OnInstitutionalApprovalCertificateChanging(string value);
partial void OnInstitutionalApprovalCertificateChanged();
partial void OnInstallationInspectionChanging(string value);
partial void OnInstallationInspectionChanged();
#endregion
public JGZL_IndustrialPipelineInstallationQualityCertificate()
@ -84074,6 +84090,86 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DesignLicenseCode", DbType="NVarChar(50)")]
public string DesignLicenseCode
{
get
{
return this._DesignLicenseCode;
}
set
{
if ((this._DesignLicenseCode != value))
{
this.OnDesignLicenseCodeChanging(value);
this.SendPropertyChanging();
this._DesignLicenseCode = value;
this.SendPropertyChanged("DesignLicenseCode");
this.OnDesignLicenseCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QualificationCertificateCode", DbType="NVarChar(50)")]
public string QualificationCertificateCode
{
get
{
return this._QualificationCertificateCode;
}
set
{
if ((this._QualificationCertificateCode != value))
{
this.OnQualificationCertificateCodeChanging(value);
this.SendPropertyChanging();
this._QualificationCertificateCode = value;
this.SendPropertyChanged("QualificationCertificateCode");
this.OnQualificationCertificateCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstitutionalApprovalCertificate", DbType="NVarChar(50)")]
public string InstitutionalApprovalCertificate
{
get
{
return this._InstitutionalApprovalCertificate;
}
set
{
if ((this._InstitutionalApprovalCertificate != value))
{
this.OnInstitutionalApprovalCertificateChanging(value);
this.SendPropertyChanging();
this._InstitutionalApprovalCertificate = value;
this.SendPropertyChanged("InstitutionalApprovalCertificate");
this.OnInstitutionalApprovalCertificateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationInspection", DbType="NVarChar(50)")]
public string InstallationInspection
{
get
{
return this._InstallationInspection;
}
set
{
if ((this._InstallationInspection != value))
{
this.OnInstallationInspectionChanging(value);
this.SendPropertyChanging();
this._InstallationInspection = value;
this.SendPropertyChanged("InstallationInspection");
this.OnInstallationInspectionChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialPipelineInstallationQualityCertificate_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -84227,6 +84323,12 @@ namespace Model
private System.Nullable<System.DateTime> _RevieweDate;
private string _OperatingTemperature;
private System.Nullable<System.DateTime> _VoltageResistantTestDate;
private System.Nullable<System.DateTime> _LeakageTestDate;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Sys_User> _Sys_User;
@ -84293,6 +84395,12 @@ namespace Model
partial void OnReviewerChanged();
partial void OnRevieweDateChanging(System.Nullable<System.DateTime> value);
partial void OnRevieweDateChanged();
partial void OnOperatingTemperatureChanging(string value);
partial void OnOperatingTemperatureChanged();
partial void OnVoltageResistantTestDateChanging(System.Nullable<System.DateTime> value);
partial void OnVoltageResistantTestDateChanged();
partial void OnLeakageTestDateChanging(System.Nullable<System.DateTime> value);
partial void OnLeakageTestDateChanged();
#endregion
public JGZL_IndustrialPipelineInstallationSummary()
@ -84890,6 +84998,66 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperatingTemperature", DbType="NVarChar(50)")]
public string OperatingTemperature
{
get
{
return this._OperatingTemperature;
}
set
{
if ((this._OperatingTemperature != value))
{
this.OnOperatingTemperatureChanging(value);
this.SendPropertyChanging();
this._OperatingTemperature = value;
this.SendPropertyChanged("OperatingTemperature");
this.OnOperatingTemperatureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_VoltageResistantTestDate", DbType="DateTime")]
public System.Nullable<System.DateTime> VoltageResistantTestDate
{
get
{
return this._VoltageResistantTestDate;
}
set
{
if ((this._VoltageResistantTestDate != value))
{
this.OnVoltageResistantTestDateChanging(value);
this.SendPropertyChanging();
this._VoltageResistantTestDate = value;
this.SendPropertyChanged("VoltageResistantTestDate");
this.OnVoltageResistantTestDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LeakageTestDate", DbType="DateTime")]
public System.Nullable<System.DateTime> LeakageTestDate
{
get
{
return this._LeakageTestDate;
}
set
{
if ((this._LeakageTestDate != value))
{
this.OnLeakageTestDateChanging(value);
this.SendPropertyChanging();
this._LeakageTestDate = value;
this.SendPropertyChanged("LeakageTestDate");
this.OnLeakageTestDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_IndustrialPipelineInstallationSummary_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@ -119118,8 +119286,6 @@ namespace Model
private string _Wed_name;
private string _DepartName;
private string _WED_Sex;
private System.Nullable<decimal> _TotalSize;
@ -119234,22 +119400,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartName", DbType="NVarChar(50)")]
public string DepartName
{
get
{
return this._DepartName;
}
set
{
if ((this._DepartName != value))
{
this._DepartName = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Sex", DbType="Char(1)")]
public string WED_Sex
{