From 298496d47b62574d64ae7e4a29ca5605d6fc383e Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Wed, 9 Sep 2026 11:07:07 +0800 Subject: [PATCH] 20260909 1 --- .../版本日志/HJGLDB_DS_2026-09-08_bwj.sql | 29 + HJGL_DS/BLL/Common/Const.cs | 15 + ...neInstallationQualityCertificateService.cs | 5 +- .../WeldingJointInspection.aspx.cs | 2 +- .../JGZL/压力管道安装汇总表2020.frx | 298 ++++++++++ .../JGZL/压力管道安装质量证明2020.frx | 162 ++++++ .../Fastreport/管道焊接接头报检检查记录.frx | 4 +- .../压力管道安装质量证明2020导出模板.docx | Bin 0 -> 16155 bytes HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj | 16 + HJGL_DS/FineUIPro.Web/JGZL/Cover.aspx.cs | 2 +- ...lineInstallationQualityCertificate.aspx.cs | 6 +- ...strialPipelineInstallationSummary2020.aspx | 16 + ...ialPipelineInstallationSummary2020.aspx.cs | 17 + ...neInstallationSummary2020.aspx.designer.cs | 26 + ...ustrialPipelineQualityCertificate2020.aspx | 133 +++++ ...rialPipelineQualityCertificate2020.aspx.cs | 531 ++++++++++++++++++ ...ineQualityCertificate2020.aspx.designer.cs | 323 +++++++++++ HJGL_DS/Model/Model.cs | 78 +++ 18 files changed, 1654 insertions(+), 9 deletions(-) create mode 100644 DataBase/版本日志/HJGLDB_DS_2026-09-08_bwj.sql create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装汇总表2020.frx create mode 100644 HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装质量证明2020.frx create mode 100644 HJGL_DS/FineUIPro.Web/File/Word/JGZL/压力管道安装质量证明2020导出模板.docx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.designer.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs create mode 100644 HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.designer.cs diff --git a/DataBase/版本日志/HJGLDB_DS_2026-09-08_bwj.sql b/DataBase/版本日志/HJGLDB_DS_2026-09-08_bwj.sql new file mode 100644 index 0000000..20c403a --- /dev/null +++ b/DataBase/版本日志/HJGLDB_DS_2026-09-08_bwj.sql @@ -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 \ No newline at end of file diff --git a/HJGL_DS/BLL/Common/Const.cs b/HJGL_DS/BLL/Common/Const.cs index ffae26b..2833397 100644 --- a/HJGL_DS/BLL/Common/Const.cs +++ b/HJGL_DS/BLL/Common/Const.cs @@ -1895,6 +1895,11 @@ namespace BLL /// public const string JGZL_IndustrialPipelineInstallationSummaryMenuId = "C527812C-0FF8-4EAC-B1FD-3B561DBE46ED"; + /// + /// 工业管道安装质量证明书2020版 + /// + public const string JGZL_IndustrialPipelineQualityCertificate2020MenuId = "1B71BBF6-2686-458F-B6F9-639A5B71AE86"; + /// /// 材料质量证明文件一览表 /// @@ -2519,11 +2524,21 @@ namespace BLL /// public const string JGZL_IndustrialPipelineInstallationQualityCertificateUrl = "File\\Word\\JGZL\\工业管道安装质量证明书导出模板.docx"; + /// + /// 压力管道安装质量证明2020导出模板 + /// + public const string JGZL_IndustrialPipelineQualityCertificate2020Url = "File\\Word\\JGZL\\压力管道安装质量证明2020导出模板.docx"; + /// /// 工业管道安装汇总表导出模板 /// public const string JGZL_IndustrialPipelineInstallationSummaryUrl = "File\\Word\\JGZL\\工业管道安装汇总表导出模板.docx"; + /// + /// 工业管道安装汇总表2020导出模板 + /// + public const string JGZL_IndustrialPipelineInstallationSummary2020Url = "File\\Word\\JGZL\\工业管道安装汇总表2020导出模板.docx"; + /// /// 工程施工开工报告导出模板 /// diff --git a/HJGL_DS/BLL/JGZL/IndustrialPipelineInstallationQualityCertificateService.cs b/HJGL_DS/BLL/JGZL/IndustrialPipelineInstallationQualityCertificateService.cs index 556072b..9646761 100644 --- a/HJGL_DS/BLL/JGZL/IndustrialPipelineInstallationQualityCertificateService.cs +++ b/HJGL_DS/BLL/JGZL/IndustrialPipelineInstallationQualityCertificateService.cs @@ -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); } /// @@ -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(); } diff --git a/HJGL_DS/FineUIPro.Web/ContinuousPrint/WeldingJointInspection.aspx.cs b/HJGL_DS/FineUIPro.Web/ContinuousPrint/WeldingJointInspection.aspx.cs index bb7b717..2ae730f 100644 --- a/HJGL_DS/FineUIPro.Web/ContinuousPrint/WeldingJointInspection.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/ContinuousPrint/WeldingJointInspection.aspx.cs @@ -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); diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装汇总表2020.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装汇总表2020.frx new file mode 100644 index 0000000..21ff3e2 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装汇总表2020.frx @@ -0,0 +1,298 @@ + + + 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(); + } + } + } +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装质量证明2020.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装质量证明2020.frx new file mode 100644 index 0000000..24f4ea7 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/压力管道安装质量证明2020.frx @@ -0,0 +1,162 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊接接头报检检查记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊接接头报检检查记录.frx index 1a8c850..0cab8cd 100644 --- a/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊接接头报检检查记录.frx +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/管道焊接接头报检检查记录.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -42,7 +42,7 @@ namespace FastReport } - + diff --git a/HJGL_DS/FineUIPro.Web/File/Word/JGZL/压力管道安装质量证明2020导出模板.docx b/HJGL_DS/FineUIPro.Web/File/Word/JGZL/压力管道安装质量证明2020导出模板.docx new file mode 100644 index 0000000000000000000000000000000000000000..033bf1cff8cfa69fe4797d2b0e270e0953eb81ee GIT binary patch literal 16155 zcmeHu1$P`rv-XOanZaUaW@gD^W@ct)w#c%WnVA_Zuw*eaOBP$qpOTyRCUJ7UKXBjK zv$Hch^E{`gt81#Ox=KMB1QZnj4uAvz07QWGQf<^wAON5c8~{K8KmuzC+u1ss*gESe zd)S*e>Cm~`SQF-f0#oDwfZy-`@AiMV2O3mHEc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uM{{*~eHA=p3h0DvR~0PrsX*UzL%!|? + + @@ -7059,6 +7061,20 @@ FileDirectory.aspx + + IndustrialPipelineInstallationSummary2020.aspx + ASPXCodeBehind + + + IndustrialPipelineInstallationSummary2020.aspx + + + IndustrialPipelineQualityCertificate2020.aspx + ASPXCodeBehind + + + IndustrialPipelineQualityCertificate2020.aspx + InsulationAcceptanceRecord.aspx ASPXCodeBehind diff --git a/HJGL_DS/FineUIPro.Web/JGZL/Cover.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/Cover.aspx.cs index 6f2a707..e2448c1 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/Cover.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/JGZL/Cover.aspx.cs @@ -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(); diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs index e2dabcd..f2d5f63 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationQualityCertificate.aspx.cs @@ -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; diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx new file mode 100644 index 0000000..35e5606 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx @@ -0,0 +1,16 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndustrialPipelineInstallationSummary2020.aspx.cs" Inherits="FineUIPro.Web.JGZL.IndustrialPipelineInstallationSummary2020" %> + + + + + + + 压力管道安装汇总表2020 + + +
+
+
+
+ + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.cs new file mode 100644 index 0000000..b6a7899 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.cs @@ -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) + { + + } + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.designer.cs new file mode 100644 index 0000000..8bca8c4 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineInstallationSummary2020.aspx.designer.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.JGZL +{ + + + public partial class IndustrialPipelineInstallationSummary2020 + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + } +} diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx new file mode 100644 index 0000000..622e557 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx @@ -0,0 +1,133 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="IndustrialPipelineQualityCertificate2020.aspx.cs" Inherits="FineUIPro.Web.JGZL.IndustrialPipelineQualityCertificate2020" %> + + + + + + + 压力管道安装质量证明书2020 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs new file mode 100644 index 0000000..dad4865 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.cs @@ -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 定义变量 + /// + /// 主键 + /// + private string CertificateId + { + get + { + return (string)ViewState["CertificateId"]; + } + set + { + ViewState["CertificateId"] = value; + } + } + #endregion + + #region 加载页面 + /// + /// 加载页面 + /// + /// + /// + 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 加载树项目 + /// + /// 加载树 + /// + 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 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 + /// + /// 点击TreeView + /// + /// + /// + protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e) + { + if (this.tvControlItem.SelectedNodeID != "0") + { + //this.BindGrid(); + PageData(); + } + } + #endregion + + #region 查询 + /// + ///查询 + /// + /// + /// + protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e) + { + this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue; + this.InitTreeMenu(); + PageData(); + } + + #endregion + + #region 打印 + /// + /// 打印 + /// + /// + /// + 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 keyValuePairs = new Dictionary(); + //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 导出按钮 + /// 导出按钮 + ///
+ /// + /// + 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 + } +} \ No newline at end of file diff --git a/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.designer.cs new file mode 100644 index 0000000..412e3a1 --- /dev/null +++ b/HJGL_DS/FineUIPro.Web/JGZL/IndustrialPipelineQualityCertificate2020.aspx.designer.cs @@ -0,0 +1,323 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.JGZL +{ + + + public partial class IndustrialPipelineQualityCertificate2020 + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// panelLeftRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelLeftRegion; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// drpProjectId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpProjectId; + + /// + /// tvControlItem 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Tree tvControlItem; + + /// + /// panelCenterRegion 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel panelCenterRegion; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// ToolbarFill1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarFill ToolbarFill1; + + /// + /// btnSave 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnPrint 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnPrint; + + /// + /// btnOut 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnOut; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// txtCertificateCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtCertificateCode; + + /// + /// txtDeliveryUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDeliveryUnit; + + /// + /// txtDeliveryUnitCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDeliveryUnitCode; + + /// + /// txtInstallStartDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtInstallStartDate; + + /// + /// txtInstallEndDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtInstallEndDate; + + /// + /// drpPipelineLevel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpPipelineLevel; + + /// + /// txtPipelineLength 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPipelineLength; + + /// + /// txtDesignUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDesignUnit; + + /// + /// txtDesignLicenseCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDesignLicenseCode; + + /// + /// txtSupervisoryAndInspectionAgency 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSupervisoryAndInspectionAgency; + + /// + /// txtQualificationCertificateCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtQualificationCertificateCode; + + /// + /// txtLosslessTestingAgency 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtLosslessTestingAgency; + + /// + /// txtInstitutionalApprovalCertificate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtInstitutionalApprovalCertificate; + + /// + /// txtInstallationInspection 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtInstallationInspection; + + /// + /// txtConstructionUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtConstructionUnit; + + /// + /// lblRemark 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lblRemark; + + /// + /// drpRemark 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpRemark; + + /// + /// lbld 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label lbld; + + /// + /// txtSpecialEquipmentProductionLicenseCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSpecialEquipmentProductionLicenseCode; + + /// + /// WindowPrint 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowPrint; + } +} diff --git a/HJGL_DS/Model/Model.cs b/HJGL_DS/Model/Model.cs index 78e011f..0b195eb 100644 --- a/HJGL_DS/Model/Model.cs +++ b/HJGL_DS/Model/Model.cs @@ -88755,6 +88755,8 @@ namespace Model private string _InstallationInspection; + private string _FromType; + private EntityRef _Base_Project; private EntityRef _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 _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 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")]