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 0000000..033bf1c
Binary files /dev/null and b/HJGL_DS/FineUIPro.Web/File/Word/JGZL/压力管道安装质量证明2020导出模板.docx differ
diff --git a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
index 953d204..db18818 100644
--- a/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/HJGL_DS/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1404,6 +1404,8 @@
+
+
@@ -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")]