20260909 1
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
|
||||
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
|
||||
values('1B71BBF6-2686-458F-B6F9-639A5B71AE86','箕제밗돛갛陋醴좆聯츠2020','JGZL/IndustrialPipelineQualityCertificate2020.aspx',52,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
|
||||
go
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('4755C1B5-6710-4FD7-95B4-A860F8A5CEF8','1B71BBF6-2686-458F-B6F9-639A5B71AE86','藤속',1)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('B2D52C14-3D1E-494D-A5DD-BF254167AC86','1B71BBF6-2686-458F-B6F9-639A5B71AE86','錦맣',2)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('43F539FB-F030-4583-ABE8-09518BE7C135','1B71BBF6-2686-458F-B6F9-639A5B71AE86','�뇜',3)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('6D9D7F04-3114-4557-BA53-AACE99CE43ED','1B71BBF6-2686-458F-B6F9-639A5B71AE86','괏닸',4)
|
||||
go
|
||||
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
|
||||
values('151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31','箕제밗돛갛陋삠悧깊2020','JGZL/IndustrialPipelineInstallationSummary2020.aspx',58,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
|
||||
go
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('C8DEDC8D-E7FC-4F2C-937F-9BD2466BB261','151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31','藤속',1)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('8F4290DB-397F-42A1-87EE-2E6C2A33D6AC','151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31','錦맣',2)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('D9FF8EE0-949D-4936-A7D0-10EDDFB909B4','151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31','�뇜',3)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('6B2BB635-B5B8-4E6C-B17E-6C925E64C211','151BA8BA-E6A8-4941-AEAB-1D32AD6BAC31','괏닸',4)
|
||||
go
|
||||
|
||||
|
||||
alter table JGZL_IndustrialPipelineInstallationQualityCertificate add FromType char(1)
|
||||
go
|
||||
@@ -1895,6 +1895,11 @@ namespace BLL
|
||||
/// </summary>
|
||||
public const string JGZL_IndustrialPipelineInstallationSummaryMenuId = "C527812C-0FF8-4EAC-B1FD-3B561DBE46ED";
|
||||
|
||||
/// <summary>
|
||||
/// 工业管道安装质量证明书2020版
|
||||
/// </summary>
|
||||
public const string JGZL_IndustrialPipelineQualityCertificate2020MenuId = "1B71BBF6-2686-458F-B6F9-639A5B71AE86";
|
||||
|
||||
/// <summary>
|
||||
/// 材料质量证明文件一览表
|
||||
/// </summary>
|
||||
@@ -2519,11 +2524,21 @@ namespace BLL
|
||||
/// </summary>
|
||||
public const string JGZL_IndustrialPipelineInstallationQualityCertificateUrl = "File\\Word\\JGZL\\工业管道安装质量证明书导出模板.docx";
|
||||
|
||||
/// <summary>
|
||||
/// 压力管道安装质量证明2020导出模板
|
||||
/// </summary>
|
||||
public const string JGZL_IndustrialPipelineQualityCertificate2020Url = "File\\Word\\JGZL\\压力管道安装质量证明2020导出模板.docx";
|
||||
|
||||
/// <summary>
|
||||
/// 工业管道安装汇总表导出模板
|
||||
/// </summary>
|
||||
public const string JGZL_IndustrialPipelineInstallationSummaryUrl = "File\\Word\\JGZL\\工业管道安装汇总表导出模板.docx";
|
||||
|
||||
/// <summary>
|
||||
/// 工业管道安装汇总表2020导出模板
|
||||
/// </summary>
|
||||
public const string JGZL_IndustrialPipelineInstallationSummary2020Url = "File\\Word\\JGZL\\工业管道安装汇总表2020导出模板.docx";
|
||||
|
||||
/// <summary>
|
||||
/// 工程施工开工报告导出模板
|
||||
/// </summary>
|
||||
|
||||
@@ -20,9 +20,9 @@ namespace BLL
|
||||
return Funs.DB.JGZL_IndustrialPipelineInstallationQualityCertificate.FirstOrDefault(e => e.CertificateId == Id);
|
||||
}
|
||||
|
||||
public static Model.JGZL_IndustrialPipelineInstallationQualityCertificate GetIndustrialPipelineInstallationQualityCertificateByProjectId(string projectId)
|
||||
public static Model.JGZL_IndustrialPipelineInstallationQualityCertificate GetIndustrialPipelineInstallationQualityCertificateByProjectId(string projectId,string fromType)
|
||||
{
|
||||
return Funs.DB.JGZL_IndustrialPipelineInstallationQualityCertificate.FirstOrDefault(e => e.ProjectId == projectId);
|
||||
return Funs.DB.JGZL_IndustrialPipelineInstallationQualityCertificate.FirstOrDefault(e => e.ProjectId == projectId && e.FromType == fromType);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -58,6 +58,7 @@ namespace BLL
|
||||
newModel.QualificationCertificateCode = model.QualificationCertificateCode;
|
||||
newModel.InstitutionalApprovalCertificate = model.InstitutionalApprovalCertificate;
|
||||
newModel.InstallationInspection = model.InstallationInspection;
|
||||
newModel.FromType = model.FromType;
|
||||
db.JGZL_IndustrialPipelineInstallationQualityCertificate.InsertOnSubmit(newModel);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
@@ -337,7 +337,7 @@ namespace FineUIPro.Web.ContinuousPrint
|
||||
{
|
||||
keyValuePairs.Add("NDTType", "PT");
|
||||
}
|
||||
string weldingDate = string.Format("{0:yyyy年MM月dd日}", Convert.ToDateTime(this.hidJOT_WeldDate.Value));
|
||||
string weldingDate = string.Format("{0:yyyy年MM月dd日}", Convert.ToDateTime(hidJOT_WeldDate.Value));
|
||||
keyValuePairs.Add("WeldingDate", weldingDate);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
|
||||
@@ -0,0 +1,298 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="09/08/2026 14:55:26" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using FastReport;
|
||||
using FastReport.Data;
|
||||
using FastReport.Dialog;
|
||||
using FastReport.Barcode;
|
||||
using FastReport.Table;
|
||||
using FastReport.Utils;
|
||||
|
||||
namespace FastReport
|
||||
{
|
||||
public class ReportScript
|
||||
{
|
||||
|
||||
private void Table2_ManualBuild(object sender, EventArgs e)
|
||||
{
|
||||
DataSourceBase rowData = Report.GetDataSource("Data");
|
||||
// init the data source
|
||||
rowData.Init();
|
||||
|
||||
// print the first table row - it is a header
|
||||
|
||||
// now enumerate the data source and print the table body
|
||||
while (rowData.HasMoreRows)
|
||||
{
|
||||
// print the table body
|
||||
Table2.PrintRow(0);
|
||||
Table2.PrintColumns();
|
||||
|
||||
// go next data source row
|
||||
rowData.Next();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFlBt8xBbgCj/ddySgEk+6Gg==">
|
||||
<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"/>
|
||||
<Column Name="PipelineStartPoint" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="PipelineEndPoint" DataType="System.String" PropName="Column1"/>
|
||||
<Column Name="Remark" 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="16" TopMargin="22" RightMargin="13.2" BottomMargin="17" Guides="718.2,1001.7,311.85,670.95,500.85,642.6,973.35,0,999.81,151.2,85.05,9.45,37.8,519.75,207.9,255.15,292.95,349.65,415.8,453.6,481.95,650.16,54.81,47.25,56.7,18.9,113.4,103.95,330.75,387.45,491.4,548.1,602.91,744.66,687.96,697.41,754.11,876.96,801.36,839.16,848.61,895.86,914.76,952.56,66.15,28.35,791.91,829.71,94.5,274.05,368.55,803.25,897.75,538.65,633.15">
|
||||
<PageHeaderBand Name="PageHeader1" Width="1012.28" Height="236.25" Guides="0,18.9,56.7,85.05,236.25,37.8,151.2,75.6,94.5,170.1">
|
||||
<TextObject Name="Text1" Left="718.2" Width="283.5" Height="18.9" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 15pt"/>
|
||||
<TextObject Name="Text2" Left="311.85" Top="18.9" Width="359.1" Height="37.8" Text="二、压力管道安装汇总表" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text3" Left="500.85" Top="56.7" Width="141.75" Height="28.35" Text="质量证明书编号:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TextObject Name="Text4" Left="642.6" Top="56.7" Width="330.75" Height="28.35" Text="[CertificateCode]" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableObject Name="Table1" Top="85.05" Width="999.81" Height="151.2" Border.Lines="Bottom">
|
||||
<TableColumn Name="Column1" Width="18.9"/>
|
||||
<TableColumn Name="Column23" Width="85.05"/>
|
||||
<TableColumn Name="Column2" Width="9.45"/>
|
||||
<TableColumn Name="Column3" Width="37.8"/>
|
||||
<TableColumn Name="Column4" Width="56.7"/>
|
||||
<TableColumn Name="Column5" Width="47.25"/>
|
||||
<TableColumn Name="Column70" 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="54.81"/>
|
||||
<TableColumn Name="Column14" Width="47.25"/>
|
||||
<TableColumn Name="Column15" Width="37.8"/>
|
||||
<TableColumn Name="Column16" Width="56.7"/>
|
||||
<TableColumn Name="Column17" Width="47.25"/>
|
||||
<TableColumn Name="Column18" Width="37.8"/>
|
||||
<TableColumn Name="Column73" Width="47.25"/>
|
||||
<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="4"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell2" Border.Lines="Right, Top, Bottom" VertAlign="Center"/>
|
||||
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell4" Border.Lines="All" VertAlign="Center" ColSpan="8"/>
|
||||
<TableCell Name="Cell5" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell172"/>
|
||||
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell28" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All" VertAlign="Center"/>
|
||||
<TableCell Name="Cell31" Border.Lines="All" 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"/>
|
||||
<TableCell Name="Cell35" Border.Lines="Right, Top, Bottom" Text="[DeliveryUnitCode]" VertAlign="Center" 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="Cell177"/>
|
||||
<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="37.8">
|
||||
<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="管道 级别" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
<TableCell Name="Cell9" Border.Lines="All" Text="设计 压力 (MPa)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
<TableCell Name="Cell10" Border.Lines="All" Text="设计温度(℃)" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
<TableCell Name="Cell173" 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="管道规格 (外径×壁厚mm)" 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="焊口 数量 " 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="Cell178"/>
|
||||
<TableCell Name="Cell57" Border.Lines="All" Text="吹洗方法" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" Text="防腐方式" HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" Text="保温(绝热)方式 " HorzAlign="Center" VertAlign="Center" RowSpan="2"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="75.6">
|
||||
<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="Cell174"/>
|
||||
<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="压力(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="Cell179" 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="240.25" Width="1012.28" Height="85.05" Guides="0,85.05">
|
||||
<TableObject Name="Table2" Width="999.81" Height="85.05" Border.Lines="Bottom" ManualBuildEvent="Table2_ManualBuild">
|
||||
<TableColumn Name="Column24" Width="18.9"/>
|
||||
<TableColumn Name="Column25" Width="75.6"/>
|
||||
<TableColumn Name="Column26" Width="18.9"/>
|
||||
<TableColumn Name="Column27" Width="37.8"/>
|
||||
<TableColumn Name="Column28" Width="56.7"/>
|
||||
<TableColumn Name="Column29" Width="47.25"/>
|
||||
<TableColumn Name="Column71" 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="54.81"/>
|
||||
<TableColumn Name="Column38" Width="47.25"/>
|
||||
<TableColumn Name="Column39" Width="37.8"/>
|
||||
<TableColumn Name="Column40" Width="56.7"/>
|
||||
<TableColumn Name="Column41" Width="47.25"/>
|
||||
<TableColumn Name="Column42" Width="37.8"/>
|
||||
<TableColumn Name="Column74" Width="47.25"/>
|
||||
<TableColumn Name="Column44" Width="37.8"/>
|
||||
<TableColumn Name="Column45" Width="37.8"/>
|
||||
<TableColumn Name="Column46" Width="47.25"/>
|
||||
<TableRow Name="Row6" Height="85.05">
|
||||
<TableCell Name="Cell126" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell127" Border.Lines="All" Text="[Data.PipelineCode]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell128" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell129" Border.Lines="All" Text="[Data.PipelineLevel]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell130" Border.Lines="All" Text="[Data.DesignPressure]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell131" Border.Lines="All" Text="[Data.DesignTemperature]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell175" Border.Lines="All" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell133" Border.Lines="All" Text="[Data.Medium]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell134" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell135" Border.Lines="All" Text="[Data.Specifications]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell136" Border.Lines="All" Text="[Data.Length]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell137" Border.Lines="All" Text="[Data.LayingMethod]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell138" Border.Lines="All" Text="[Data.WeldsNum]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell139" Border.Lines="All" Text="[Data.LosslessRatio]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell140" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell141" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell142" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell143" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell144" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell180" Border.Lines="All" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell146" Border.Lines="All" Text="[Data.CleaningMethod]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell147" Border.Lines="All" Text="[Data.CorrosionControlMethod]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
<TableCell Name="Cell148" Border.Lines="All" Text="[Data.InsulationMethod]" HorzAlign="Center" VertAlign="Center" Font="Arial, 8pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</DataBand>
|
||||
<ColumnFooterBand Name="ColumnFooter1" Top="418.35" Width="1012.28">
|
||||
<ChildBand Name="Child1" Top="329.3" Width="1012.28" Height="85.05" Guides="0,85.05" FillUnusedSpace="true">
|
||||
<TableObject Name="Table3" Width="999.81" Height="85.05" Border.Lines="Bottom">
|
||||
<TableColumn Name="Column47" Width="18.9"/>
|
||||
<TableColumn Name="Column48" Width="75.6"/>
|
||||
<TableColumn Name="Column49" Width="18.9"/>
|
||||
<TableColumn Name="Column50" Width="37.8"/>
|
||||
<TableColumn Name="Column51" Width="56.7"/>
|
||||
<TableColumn Name="Column52" Width="47.25"/>
|
||||
<TableColumn Name="Column72" 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="54.81"/>
|
||||
<TableColumn Name="Column61" Width="47.25"/>
|
||||
<TableColumn Name="Column62" Width="37.8"/>
|
||||
<TableColumn Name="Column63" Width="56.7"/>
|
||||
<TableColumn Name="Column64" Width="47.25"/>
|
||||
<TableColumn Name="Column65" Width="37.8"/>
|
||||
<TableColumn Name="Column75" Width="47.25"/>
|
||||
<TableColumn Name="Column67" Width="37.8"/>
|
||||
<TableColumn Name="Column68" Width="37.8"/>
|
||||
<TableColumn Name="Column69" Width="47.25"/>
|
||||
<TableRow Name="Row7" Height="85.05">
|
||||
<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="Cell176" Border.Lines="All"/>
|
||||
<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="Cell181" Border.Lines="All"/>
|
||||
<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="422.35" Width="1012.28" Height="56.7" 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="274.05" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TextObject Name="Text7" Left="803.25" Top="9.45" Width="94.5" Height="18.9" Text="日期:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TextObject Name="Text8" Left="538.65" Top="9.45" Width="94.5" Height="18.9" Text="审核:" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
</PageFooterBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
@@ -0,0 +1,162 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="09/09/2026 10:05:21" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFjoj0apwefOc2l/sd78fdnQ==">
|
||||
<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"/>
|
||||
<Column Name="Remark" DataType="System.String" PropName="Column"/>
|
||||
</TableDataSource>
|
||||
</MsSqlDataConnection>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="368.55,642.6,170.1,463.05,330.75,132.3,0,646.4,112.27,328.49,440.76,121.72,524.68,83.92,216.22,235.12,480.82,506.91,554.16,459.66">
|
||||
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="160.65" Guides="18.9,47.25,75.6,132.3,160.65,94.5,122.85">
|
||||
<TextObject Name="Text1" Left="368.55" Top="18.9" Width="274.05" Height="28.35" Text="ZDS-T6.38.047.A/0.2020" HorzAlign="Right" VertAlign="Center" Font="宋体, 15pt"/>
|
||||
<TextObject Name="Text2" Left="170.1" Top="47.25" Width="292.95" Height="28.35" Text="压力管道安装质量证明" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
|
||||
<TextObject Name="Text4" Left="330.75" Top="132.3" Width="311.85" Height="28.35" Text=" 编号:[Data.CertificateCode]" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TextObject Name="Text11" Left="132.3" Top="94.5" Width="330.75" Height="28.35" Text="一、 压力管道安装质量证明书" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold"/>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="164.65" Width="646.38" Height="849.3" Guides="0,849.3,52.91,96.37,43.46,139.83,183.29,226.75,264.55,37.8,308.01,351.47,394.93,495.09,100.16,556.4,28.35,47.25,618.76,62.36,681.12,762.38,81.26,805.84">
|
||||
<TableObject Name="Table1" Width="646.4" Height="849.3">
|
||||
<TableColumn Name="Column1" Width="112.27"/>
|
||||
<TableColumn Name="Column2" Width="216.22"/>
|
||||
<TableColumn Name="Column3" Width="112.27"/>
|
||||
<TableColumn Name="Column4" Width="83.92"/>
|
||||
<TableColumn Name="Column5" Width="121.72"/>
|
||||
<TableRow Name="Row1" Height="52.91">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="工程名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="宋体, 12pt"/>
|
||||
<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="43.46">
|
||||
<TableCell Name="Cell6" Border.Lines="All" Text="交工单元名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="宋体, 12pt"/>
|
||||
<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="43.46">
|
||||
<TableCell Name="Cell11" Border.Lines="All" Text="安装开工日期" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="宋体, 12pt"/>
|
||||
<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="43.46">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="管道级别" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="宋体, 12pt"/>
|
||||
<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="43.46">
|
||||
<TableCell Name="Cell21" Border.Lines="All" Text="设计单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="宋体, 12pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TableCell Name="Cell25" Border.Lines="All" Text="[Data.DesignLicenseCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row17" Height="37.8">
|
||||
<TableCell Name="Cell81" Border.Lines="All" Text="监理单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TableCell Name="Cell82" Border.Lines="All" Text="[Data.SupervisoryAndInspectionAgency]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell83" Border.Lines="All" Text="资质证书编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell84" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TableCell Name="Cell85" Border.Lines="All" Text="[Data.QualificationCertificateCode]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="43.46">
|
||||
<TableCell Name="Cell31" Border.Lines="All" Text="无损检测单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="宋体, 12pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" Text="[Data.InstitutionalApprovalCertificate]" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="43.46">
|
||||
<TableCell Name="Cell36" Border.Lines="All" Text="安装监检单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="43.46">
|
||||
<TableCell Name="Cell41" Border.Lines="All" Text="使用单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<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="100.16">
|
||||
<TableCell Name="Cell46" Border.Lines="Left, Right, Top" Text="[Data.Remark]" Padding="35, 10, 10, 10" Font="宋体, 12pt" ColSpan="5"/>
|
||||
<TableCell Name="Cell47" Border.Lines="Left, Right, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell48" Border.Lines="Left, Right, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell49" Border.Lines="Left, Right, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell50" Border.Lines="Left, Right, Top" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="61.31">
|
||||
<TableCell Name="Cell51" Border.Lines="Left" VertAlign="Center" Font="宋体, 12pt"/>
|
||||
<TableCell Name="Cell52" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt">
|
||||
<TextObject Name="Text8" Left="122.85" Top="28.35" Width="245.7" Height="18.9" Text="附:《工业管道安装汇总表》共" Font="宋体, 12pt"/>
|
||||
</TableCell>
|
||||
<TableCell Name="Cell53" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell54" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt">
|
||||
<TextObject Name="Text10" Left="66.15" Top="28.35" Width="47.25" Height="18.9" Text="页" Font="宋体, 12pt"/>
|
||||
<TextObject Name="Text9" Left="18.9" Top="28.35" Width="47.25" Height="18.9" Border.Lines="Bottom" Font="宋体, 12pt"/>
|
||||
</TableCell>
|
||||
<TableCell Name="Cell55" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row12" Height="62.36">
|
||||
<TableCell Name="Cell56" Border.Lines="Left" Text="检验员:" Padding="50, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell57" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell58" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Text="日期:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell60" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row13" Height="62.36">
|
||||
<TableCell Name="Cell61" Border.Lines="Left" Text="质量保证工程师:" Padding="50, 1, 2, 1" HorzAlign="Right" VertAlign="Center" Font="宋体, 12pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell62" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell63" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell64" Text="日期:" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell65" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row14" Height="81.26">
|
||||
<TableCell Name="Cell66" Border.Lines="Left, Right" Text="安装单位(盖章)" Padding="2, 1, 50, 1" HorzAlign="Right" 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="43.46">
|
||||
<TableCell Name="Cell71" Border.Lines="Left, Right" Text="年 月 日" Padding="2, 1, 50, 1" HorzAlign="Right" 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="43.46">
|
||||
<TableCell Name="Cell76" Border.Lines="Left, Right, Bottom" Text="特种设备安装许可证编号:[Data.SpecialEquipmentProductionLicenseCode]" Padding="50, 1, 2, 1" 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>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="05/13/2026 09:16:24" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="09/09/2026 10:47:23" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
@@ -42,7 +42,7 @@ namespace FastReport
|
||||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF9BIAyY5+UaR+KsNHv+fwLw==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF4n65VIsY0T+Kq4g5gTDpIg==">
|
||||
<TableDataSource Name="Attach_Image" Alias="Data" DataType="System.Int32" Enabled="true" TableName="Attach_Image">
|
||||
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="image_series"/>
|
||||
|
||||
Binary file not shown.
@@ -1404,6 +1404,8 @@
|
||||
<Content Include="JGZL\ElectrodeRecovery.aspx" />
|
||||
<Content Include="JGZL\EWeldRHRecord.aspx" />
|
||||
<Content Include="JGZL\FileDirectory.aspx" />
|
||||
<Content Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx" />
|
||||
<Content Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx" />
|
||||
<Content Include="JGZL\InsulationAcceptanceRecord.aspx" />
|
||||
<Content Include="JGZL\InsulationAcceptanceRecordEdit.aspx" />
|
||||
<Content Include="JGZL\PressureTestOfPipelineSystemConfirmationRecord.aspx" />
|
||||
@@ -7059,6 +7061,20 @@
|
||||
<Compile Include="JGZL\FileDirectory.aspx.designer.cs">
|
||||
<DependentUpon>FileDirectory.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx.cs">
|
||||
<DependentUpon>IndustrialPipelineInstallationSummary2020.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\IndustrialPipelineInstallationSummary2020.aspx.designer.cs">
|
||||
<DependentUpon>IndustrialPipelineInstallationSummary2020.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx.cs">
|
||||
<DependentUpon>IndustrialPipelineQualityCertificate2020.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\IndustrialPipelineQualityCertificate2020.aspx.designer.cs">
|
||||
<DependentUpon>IndustrialPipelineQualityCertificate2020.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\InsulationAcceptanceRecord.aspx.cs">
|
||||
<DependentUpon>InsulationAcceptanceRecord.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
@@ -790,7 +790,7 @@ namespace FineUIPro.Web.JGZL
|
||||
dt.Columns.Add("ConstructionUnit");
|
||||
dt.Columns.Add("SpecialEquipmentProductionLicenseCode");
|
||||
dt.Columns.Add("Remark");
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId);
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "2");
|
||||
if (report != null)
|
||||
{
|
||||
var newRow = dt.NewRow();
|
||||
|
||||
@@ -96,7 +96,7 @@ namespace FineUIPro.Web.JGZL
|
||||
var pro = BLL.Base_ProjectService.GetProjectByProjectId(projectId);
|
||||
if (pro != null)
|
||||
{
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId);
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "1");
|
||||
if (report != null)
|
||||
{
|
||||
this.CertificateId = report.CertificateId;
|
||||
@@ -330,7 +330,7 @@ namespace FineUIPro.Web.JGZL
|
||||
//string id = this.Grid1.SelectedRowID;
|
||||
//if (!string.IsNullOrEmpty(id))
|
||||
//{
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId);
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "1");
|
||||
if (report != null)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
@@ -647,7 +647,7 @@ namespace FineUIPro.Web.JGZL
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId);
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "1");
|
||||
if (report != null)
|
||||
{
|
||||
initTemplatePath = Const.JGZL_IndustrialPipelineInstallationQualityCertificateUrl;
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndustrialPipelineInstallationSummary2020.aspx.cs" Inherits="FineUIPro.Web.JGZL.IndustrialPipelineInstallationSummary2020" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>压力管道安装汇总表2020</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class IndustrialPipelineInstallationSummary2020 : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
|
||||
|
||||
public partial class IndustrialPipelineInstallationSummary2020
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndustrialPipelineQualityCertificate2020.aspx.cs" Inherits="FineUIPro.Web.JGZL.IndustrialPipelineQualityCertificate2020" %>
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>压力管道安装质量证明书2020</title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="220px" Title="压力管道安装质量证明书2020" ShowBorder="true" Layout="VBox"
|
||||
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
|
||||
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Tree ID="tvControlItem" ShowHeader="false" Title="压力管道安装质量证明书2020" 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="压力管道安装质量证明书2020"
|
||||
TitleToolTip="压力管道安装质量证明书2020" 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="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnPrint" Text="打印压力管道安装质量证明书2020" Icon="Printer" runat="server" OnClick="btnPrint_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtCertificateCode" runat="server" Label="编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></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:DatePicker ID="txtInstallStartDate" runat="server" Label="安装开工日期" LabelAlign="Right" LabelWidth="170px" DateFormatString="yyyy年MM月dd日"></f:DatePicker>
|
||||
<f:DatePicker ID="txtInstallEndDate" runat="server" Label="安装竣工日期" LabelAlign="Right" LabelWidth="170px" DateFormatString="yyyy年MM月dd日"></f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpPipelineLevel" runat="server" Label="管道级别" LabelAlign="Right" LabelWidth="170px" EnableEdit="true"></f:DropDownList>
|
||||
<f:TextBox ID="txtPipelineLength" 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="170px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtDesignLicenseCode" 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="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="txtLosslessTestingAgency" runat="server" Label="无损检测单位" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtInstitutionalApprovalCertificate" runat="server" Label="无损检测机构核准证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<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 ColumnWidths="20% 40% 40%">
|
||||
<Items>
|
||||
<f:Label ID="lblRemark" runat="server" Text="本压力管道的安装经质量检验,符合"></f:Label>
|
||||
<f:DropDownList ID="drpRemark" runat="server">
|
||||
<f:ListItem Value="GB50517-2010石油化工金属管道工程施工质量验收规范" Text="GB50517-2010石油化工金属管道工程施工质量验收规范" />
|
||||
<f:ListItem Value="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" Text="SH/T3501-2021石油化工有毒、可燃介质钢制管道工程施工及验收规范" />
|
||||
</f:DropDownList>
|
||||
<f:Label ID="lbld" runat="server" Text="的要求。"></f:Label>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtSpecialEquipmentProductionLicenseCode" runat="server" Label="特种设备安装许可证编号" LabelAlign="Right" LabelWidth="170px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="WindowPrint" Title="打印压力管道安装质量证明书2020" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
|
||||
Height="600px">
|
||||
</f:Window>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,531 @@
|
||||
using Aspose.Words;
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class IndustrialPipelineQualityCertificate2020 : PageBase
|
||||
{
|
||||
#region 定义变量
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
private string CertificateId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["CertificateId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["CertificateId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.drpProjectId.DataTextField = "ProjectCode";
|
||||
this.drpProjectId.DataValueField = "ProjectId";
|
||||
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||
this.drpProjectId.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpProjectId);
|
||||
|
||||
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
this.InitTreeMenu();//加载树
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
|
||||
//管道类别
|
||||
this.drpPipelineLevel.DataTextField = "ISC_IsoName";
|
||||
this.drpPipelineLevel.DataValueField = "ISC_IsoName";
|
||||
this.drpPipelineLevel.DataSource = BLL.HJGL_PW_IsoInfoService.GetPipelineLevelList(this.drpProjectId.SelectedValue);
|
||||
this.drpPipelineLevel.DataBind();
|
||||
PageData();
|
||||
}
|
||||
}
|
||||
|
||||
private void EmptyText()
|
||||
{
|
||||
txtCertificateCode.Text = string.Empty;
|
||||
txtDeliveryUnit.Text = string.Empty;
|
||||
txtDeliveryUnitCode.Text = string.Empty;
|
||||
txtInstallStartDate.Text = string.Empty;
|
||||
txtInstallEndDate.Text = string.Empty;
|
||||
drpPipelineLevel.SelectedValue = BLL.Const._Null;
|
||||
this.txtPipelineLength.Text = string.Empty;
|
||||
txtDesignUnit.Text = string.Empty;
|
||||
txtDesignLicenseCode.Text = string.Empty;
|
||||
txtSupervisoryAndInspectionAgency.Text = string.Empty;
|
||||
txtQualificationCertificateCode.Text = string.Empty;
|
||||
txtLosslessTestingAgency.Text = string.Empty;
|
||||
txtInstitutionalApprovalCertificate.Text = string.Empty;
|
||||
txtInstallationInspection.Text = string.Empty;
|
||||
txtConstructionUnit.Text = string.Empty;
|
||||
txtSpecialEquipmentProductionLicenseCode.Text = string.Empty;
|
||||
drpRemark.SelectedValue = string.Empty;
|
||||
}
|
||||
|
||||
private void PageData()
|
||||
{
|
||||
EmptyText();
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
var pro = BLL.Base_ProjectService.GetProjectByProjectId(projectId);
|
||||
if (pro != null)
|
||||
{
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "2");
|
||||
if (report != null)
|
||||
{
|
||||
this.CertificateId = report.CertificateId;
|
||||
this.txtCertificateCode.Text = report.CertificateCode;
|
||||
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) : "";
|
||||
if (!string.IsNullOrEmpty(report.PipelineLevel))
|
||||
{
|
||||
this.drpPipelineLevel.SelectedValue = report.PipelineLevel;
|
||||
}
|
||||
this.txtPipelineLength.Text = report.PipelineLength;
|
||||
this.txtDesignUnit.Text = report.DesignUnit;
|
||||
this.txtDesignLicenseCode.Text = report.DesignLicenseCode;
|
||||
this.txtSupervisoryAndInspectionAgency.Text = report.SupervisoryAndInspectionAgency;
|
||||
this.txtQualificationCertificateCode.Text = report.QualificationCertificateCode;
|
||||
this.txtLosslessTestingAgency.Text = report.LosslessTestingAgency;
|
||||
this.txtInstitutionalApprovalCertificate.Text = report.InstitutionalApprovalCertificate;
|
||||
if (!string.IsNullOrEmpty(report.InstallationInspection))
|
||||
{
|
||||
this.txtInstallationInspection.Text = report.InstallationInspection;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.ConstructionUnit))
|
||||
{
|
||||
this.txtConstructionUnit.Text = report.ConstructionUnit;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.Remark))
|
||||
{
|
||||
this.drpRemark.SelectedValue = report.Remark;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.SpecialEquipmentProductionLicenseCode))
|
||||
{
|
||||
this.txtSpecialEquipmentProductionLicenseCode.Text = report.SpecialEquipmentProductionLicenseCode;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.CertificateId = string.Empty;
|
||||
this.txtInstallationInspection.Text = "浙江省特种设备科学研究院";
|
||||
this.txtConstructionUnit.Text = "浙江石油化工有限公司";
|
||||
this.txtSpecialEquipmentProductionLicenseCode.Text = "TS3833339-2028";
|
||||
this.txtPipelineLength.Text = BLL.HJGL_PW_IsoInfoService.GetPipeLineLengthList(this.tvControlItem.SelectedNodeID).Value.ToString(".##");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载树项目
|
||||
/// <summary>
|
||||
/// 加载树
|
||||
/// </summary>
|
||||
private void InitTreeMenu()
|
||||
{
|
||||
this.tvControlItem.Nodes.Clear();
|
||||
TreeNode rootNode = new TreeNode();
|
||||
rootNode.Text = "项目";
|
||||
rootNode.ToolTip = "项目";
|
||||
rootNode.NodeID = "0";
|
||||
rootNode.Expanded = true;
|
||||
this.tvControlItem.Nodes.Add(rootNode);
|
||||
|
||||
List<Model.Base_Project> projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||
if (this.drpProjectId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
|
||||
}
|
||||
foreach (var item in projects)
|
||||
{
|
||||
TreeNode rootProjectNode = new TreeNode();//定义根节点
|
||||
rootProjectNode.Text = item.ProjectCode;
|
||||
rootProjectNode.NodeID = item.ProjectId;
|
||||
rootProjectNode.EnableClickEvent = true;
|
||||
rootProjectNode.Expanded = true;
|
||||
rootProjectNode.ToolTip = item.ProjectName;
|
||||
rootProjectNode.CommandName = "项目名称";
|
||||
rootNode.Nodes.Add(rootProjectNode);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 点击TreeView
|
||||
/// <summary>
|
||||
/// 点击TreeView
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||
{
|
||||
if (this.tvControlItem.SelectedNodeID != "0")
|
||||
{
|
||||
//this.BindGrid();
|
||||
PageData();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 查询
|
||||
///<summary>
|
||||
///查询
|
||||
///</summary>
|
||||
///<param name="sender"></param>
|
||||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
PageData();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 打印
|
||||
/// <summary>
|
||||
/// 打印
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
|
||||
if (projectId != null)
|
||||
{
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "2");
|
||||
if (report != null)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "Data";
|
||||
dt.Columns.Add("CertificateCode");
|
||||
dt.Columns.Add("EngineeringName");
|
||||
dt.Columns.Add("EngineeringCode");
|
||||
dt.Columns.Add("DeliveryUnit");
|
||||
dt.Columns.Add("DeliveryUnitCode");
|
||||
dt.Columns.Add("InstallStartDate");
|
||||
dt.Columns.Add("InstallEndDate");
|
||||
dt.Columns.Add("PipelineLevel");
|
||||
dt.Columns.Add("PipelineLength");
|
||||
dt.Columns.Add("DesignUnit");
|
||||
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");
|
||||
|
||||
var newRow = dt.NewRow();
|
||||
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;
|
||||
newRow["Remark"] = " 本工业管道的安装经质量检验,符合" + report.Remark + "要求。";
|
||||
dt.Rows.Add(newRow);
|
||||
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\压力管道安装质量证明2020.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;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 保存
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_IndustrialPipelineQualityCertificate2020MenuId, Const.BtnSave))
|
||||
{
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
Model.JGZL_IndustrialPipelineInstallationQualityCertificate newReport = new Model.JGZL_IndustrialPipelineInstallationQualityCertificate();
|
||||
newReport.CertificateCode = this.txtCertificateCode.Text.Trim();
|
||||
newReport.SpecialEquipmentProductionLicenseCode = this.txtSpecialEquipmentProductionLicenseCode.Text.Trim();
|
||||
newReport.DeliveryUnit = this.txtDeliveryUnit.Text.Trim();
|
||||
newReport.DeliveryUnitCode = this.txtDeliveryUnitCode.Text.Trim();
|
||||
newReport.InstallStartDate = Funs.GetNewDateTime(this.txtInstallStartDate.Text.Trim());
|
||||
newReport.InstallEndDate = Funs.GetNewDateTime(this.txtInstallEndDate.Text.Trim());
|
||||
if (!string.IsNullOrEmpty(drpPipelineLevel.SelectedValue))
|
||||
{
|
||||
newReport.PipelineLevel = this.drpPipelineLevel.SelectedValue;
|
||||
}
|
||||
newReport.PipelineLength = this.txtPipelineLength.Text.Trim();
|
||||
newReport.DesignUnit = this.txtDesignUnit.Text.Trim();
|
||||
newReport.LosslessTestingAgency = this.txtLosslessTestingAgency.Text.Trim();
|
||||
newReport.SupervisoryAndInspectionAgency = this.txtSupervisoryAndInspectionAgency.Text.Trim();
|
||||
newReport.ConstructionUnit = this.txtConstructionUnit.Text.Trim();
|
||||
newReport.Remark = drpRemark.SelectedValue;
|
||||
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))
|
||||
{
|
||||
newReport.CertificateId = this.CertificateId;
|
||||
BLL.IndustrialPipelineInstallationQualityCertificateService.UpdateIndustrialPipelineInstallationQualityCertificate(newReport);
|
||||
}
|
||||
else
|
||||
{
|
||||
newReport.FromType = "2";//2020版
|
||||
newReport.ProjectId = projectId;
|
||||
newReport.CompileMan = this.CurrUser.UserId;
|
||||
newReport.CompileDate = DateTime.Now;
|
||||
newReport.Reviewer = this.CurrUser.UserId;
|
||||
newReport.RevieweDate = DateTime.Now;
|
||||
newReport.CertificateId = SQLHelper.GetNewID(typeof(Model.JGZL_IndustrialPipelineInstallationQualityCertificate));
|
||||
this.CertificateId = newReport.CertificateId;
|
||||
BLL.IndustrialPipelineInstallationQualityCertificateService.AddIndustrialPipelineInstallationQualityCertificate(newReport);
|
||||
}
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
//PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
PageData();
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 导出按钮
|
||||
/// 导出按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnOut_Click(object sender, EventArgs e)
|
||||
{
|
||||
string rootPath = Server.MapPath("~/");
|
||||
string initTemplatePath = string.Empty;
|
||||
string uploadfilepath = string.Empty;
|
||||
string newUrl = string.Empty;
|
||||
string filePath = string.Empty;
|
||||
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
var report = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateByProjectId(projectId, "2");
|
||||
if (report != null)
|
||||
{
|
||||
initTemplatePath = Const.JGZL_IndustrialPipelineQualityCertificate2020Url;
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
|
||||
newUrl = uploadfilepath.Replace("压力管道安装质量证明2020导出模板", "压力管道安装质量证明2020");
|
||||
if (File.Exists(newUrl))
|
||||
{
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
File.Copy(uploadfilepath, newUrl);
|
||||
Document doc = new Aspose.Words.Document(uploadfilepath);
|
||||
|
||||
Bookmark certificateCode = doc.Range.Bookmarks["CertificateCode"];
|
||||
if (certificateCode != null)
|
||||
{
|
||||
certificateCode.Text = report.CertificateCode;
|
||||
}
|
||||
Bookmark engineeringName = doc.Range.Bookmarks["EngineeringName"];
|
||||
if (engineeringName != null)
|
||||
{
|
||||
engineeringName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
|
||||
}
|
||||
Bookmark engineeringCode = doc.Range.Bookmarks["EngineeringCode"];
|
||||
if (engineeringCode != null)
|
||||
{
|
||||
engineeringCode.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectCode;
|
||||
}
|
||||
Bookmark deliveryUnit = doc.Range.Bookmarks["DeliveryUnit"];
|
||||
if (deliveryUnit != null)
|
||||
{
|
||||
deliveryUnit.Text = report.DeliveryUnit;
|
||||
}
|
||||
Bookmark deliveryUnitCode = doc.Range.Bookmarks["DeliveryUnitCode"];
|
||||
if (deliveryUnitCode != null)
|
||||
{
|
||||
deliveryUnitCode.Text = report.DeliveryUnitCode;
|
||||
}
|
||||
Bookmark installStartDate = doc.Range.Bookmarks["InstallStartDate"];
|
||||
if (installStartDate != null)
|
||||
{
|
||||
installStartDate.Text = report.InstallStartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.InstallStartDate) : "";
|
||||
}
|
||||
Bookmark installEndDate = doc.Range.Bookmarks["InstallEndDate"];
|
||||
if (installEndDate != null)
|
||||
{
|
||||
installEndDate.Text = report.InstallEndDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.InstallEndDate) : "";
|
||||
}
|
||||
Bookmark pipelineLevel = doc.Range.Bookmarks["PipelineLevel"];
|
||||
if (pipelineLevel != null)
|
||||
{
|
||||
pipelineLevel.Text = report.PipelineLevel;
|
||||
}
|
||||
Bookmark pipelineLength = doc.Range.Bookmarks["PipelineLength"];
|
||||
if (pipelineLength != null)
|
||||
{
|
||||
pipelineLength.Text = report.PipelineLength;
|
||||
}
|
||||
Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"];
|
||||
if (designUnit != null)
|
||||
{
|
||||
designUnit.Text = report.DesignUnit;
|
||||
}
|
||||
Bookmark designLicenseCode = doc.Range.Bookmarks["DesignLicenseCode"];
|
||||
if (designLicenseCode != null)
|
||||
{
|
||||
designLicenseCode.Text = report.DesignLicenseCode;
|
||||
}
|
||||
Bookmark supervisoryAndInspectionAgency = doc.Range.Bookmarks["SupervisoryAndInspectionAgency"];
|
||||
if (supervisoryAndInspectionAgency != null)
|
||||
{
|
||||
if (report.SupervisoryAndInspectionAgency != null)
|
||||
{
|
||||
supervisoryAndInspectionAgency.Text = report.SupervisoryAndInspectionAgency;
|
||||
}
|
||||
}
|
||||
Bookmark qualificationCertificateCode = doc.Range.Bookmarks["QualificationCertificateCode"];
|
||||
if (qualificationCertificateCode != null)
|
||||
{
|
||||
qualificationCertificateCode.Text = report.QualificationCertificateCode;
|
||||
}
|
||||
Bookmark losslessTestingAgency = doc.Range.Bookmarks["LosslessTestingAgency"];
|
||||
if (losslessTestingAgency != null)
|
||||
{
|
||||
losslessTestingAgency.Text = report.LosslessTestingAgency;
|
||||
}
|
||||
Bookmark institutionalApprovalCertificate = doc.Range.Bookmarks["InstitutionalApprovalCertificate"];
|
||||
if (institutionalApprovalCertificate != null)
|
||||
{
|
||||
institutionalApprovalCertificate.Text = report.InstitutionalApprovalCertificate;
|
||||
}
|
||||
Bookmark installationInspection = doc.Range.Bookmarks["InstallationInspection"];
|
||||
if (installationInspection != null)
|
||||
{
|
||||
installationInspection.Text = report.InstallationInspection;
|
||||
}
|
||||
|
||||
Bookmark constructionUnit = doc.Range.Bookmarks["ConstructionUnit"];
|
||||
if (constructionUnit != null)
|
||||
{
|
||||
constructionUnit.Text = report.ConstructionUnit;
|
||||
}
|
||||
Bookmark remark = doc.Range.Bookmarks["Remark"];
|
||||
if (remark != null)
|
||||
{
|
||||
remark.Text = report.Remark;
|
||||
}
|
||||
Bookmark specialEquipmentProductionLicenseCode = doc.Range.Bookmarks["SpecialEquipmentProductionLicenseCode"];
|
||||
if (specialEquipmentProductionLicenseCode != null)
|
||||
{
|
||||
specialEquipmentProductionLicenseCode.Text = report.SpecialEquipmentProductionLicenseCode;
|
||||
}
|
||||
doc.Save(newUrl);
|
||||
|
||||
string fileName = Path.GetFileName(newUrl);
|
||||
FileInfo info = new FileInfo(newUrl);
|
||||
long fileSize = info.Length;
|
||||
Response.Clear();
|
||||
Response.ContentType = "application/x-zip-compressed";
|
||||
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
|
||||
Response.AddHeader("Content-Length", fileSize.ToString());
|
||||
Response.TransmitFile(newUrl, 0, fileSize);
|
||||
Response.Flush();
|
||||
Response.Close();
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
+323
@@ -0,0 +1,323 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
|
||||
|
||||
public partial class IndustrialPipelineQualityCertificate2020
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// drpProjectId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProjectId;
|
||||
|
||||
/// <summary>
|
||||
/// tvControlItem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvControlItem;
|
||||
|
||||
/// <summary>
|
||||
/// panelCenterRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelCenterRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtCertificateCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtCertificateCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtDeliveryUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtDeliveryUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtDeliveryUnitCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtDeliveryUnitCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtInstallStartDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtInstallStartDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtInstallEndDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtInstallEndDate;
|
||||
|
||||
/// <summary>
|
||||
/// drpPipelineLevel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpPipelineLevel;
|
||||
|
||||
/// <summary>
|
||||
/// txtPipelineLength 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtPipelineLength;
|
||||
|
||||
/// <summary>
|
||||
/// txtDesignUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtDesignUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtDesignLicenseCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtDesignLicenseCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtSupervisoryAndInspectionAgency 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSupervisoryAndInspectionAgency;
|
||||
|
||||
/// <summary>
|
||||
/// txtQualificationCertificateCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtQualificationCertificateCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtLosslessTestingAgency 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtLosslessTestingAgency;
|
||||
|
||||
/// <summary>
|
||||
/// txtInstitutionalApprovalCertificate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtInstitutionalApprovalCertificate;
|
||||
|
||||
/// <summary>
|
||||
/// txtInstallationInspection 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtInstallationInspection;
|
||||
|
||||
/// <summary>
|
||||
/// txtConstructionUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConstructionUnit;
|
||||
|
||||
/// <summary>
|
||||
/// lblRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lblRemark;
|
||||
|
||||
/// <summary>
|
||||
/// drpRemark 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpRemark;
|
||||
|
||||
/// <summary>
|
||||
/// lbld 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Label lbld;
|
||||
|
||||
/// <summary>
|
||||
/// txtSpecialEquipmentProductionLicenseCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSpecialEquipmentProductionLicenseCode;
|
||||
|
||||
/// <summary>
|
||||
/// WindowPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowPrint;
|
||||
}
|
||||
}
|
||||
@@ -88755,6 +88755,8 @@ namespace Model
|
||||
|
||||
private string _InstallationInspection;
|
||||
|
||||
private string _FromType;
|
||||
|
||||
private EntityRef<Base_Project> _Base_Project;
|
||||
|
||||
private EntityRef<Sys_User> _Sys_User;
|
||||
@@ -88813,6 +88815,8 @@ namespace Model
|
||||
partial void OnInstitutionalApprovalCertificateChanged();
|
||||
partial void OnInstallationInspectionChanging(string value);
|
||||
partial void OnInstallationInspectionChanged();
|
||||
partial void OnFromTypeChanging(string value);
|
||||
partial void OnFromTypeChanged();
|
||||
#endregion
|
||||
|
||||
public JGZL_IndustrialPipelineInstallationQualityCertificate()
|
||||
@@ -89330,6 +89334,26 @@ namespace Model
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FromType", DbType="Char(1)")]
|
||||
public string FromType
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._FromType;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._FromType != value))
|
||||
{
|
||||
this.OnFromTypeChanging(value);
|
||||
this.SendPropertyChanging();
|
||||
this._FromType = value;
|
||||
this.SendPropertyChanged("FromType");
|
||||
this.OnFromTypeChanged();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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
|
||||
{
|
||||
@@ -133128,6 +133152,12 @@ namespace Model
|
||||
|
||||
private string _QRCodeAttachUrl;
|
||||
|
||||
private string _WED_Code;
|
||||
|
||||
private System.Nullable<System.DateTime> _JOT_WeldDate;
|
||||
|
||||
private string _IS_Proess;
|
||||
|
||||
public View_PrintJointInfo()
|
||||
{
|
||||
}
|
||||
@@ -133291,6 +133321,54 @@ namespace Model
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WED_Code", DbType="VarChar(20)")]
|
||||
public string WED_Code
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._WED_Code;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._WED_Code != value))
|
||||
{
|
||||
this._WED_Code = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JOT_WeldDate", DbType="DateTime")]
|
||||
public System.Nullable<System.DateTime> JOT_WeldDate
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._JOT_WeldDate;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._JOT_WeldDate != value))
|
||||
{
|
||||
this._JOT_WeldDate = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IS_Proess", DbType="Char(1)")]
|
||||
public string IS_Proess
|
||||
{
|
||||
get
|
||||
{
|
||||
return this._IS_Proess;
|
||||
}
|
||||
set
|
||||
{
|
||||
if ((this._IS_Proess != value))
|
||||
{
|
||||
this._IS_Proess = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.View_Report_SolderBakingRecord")]
|
||||
|
||||
Reference in New Issue
Block a user