20260210 压力管道安装汇总表

This commit is contained in:
毕文静 2026-02-10 16:34:52 +08:00
parent 9c93de0cc6
commit 66c55899f1
5 changed files with 182 additions and 154 deletions

View File

@ -19,6 +19,11 @@ namespace BLL
return Funs.DB.JGZL_IndustrialPipelineInstallationSummary.FirstOrDefault(e => e.SummaryId == Id); return Funs.DB.JGZL_IndustrialPipelineInstallationSummary.FirstOrDefault(e => e.SummaryId == Id);
} }
public static Model.JGZL_IndustrialPipelineInstallationSummary GetIndustrialPipelineInstallationSummaryByPipelineCode(string pipelineCode)
{
return Funs.DB.JGZL_IndustrialPipelineInstallationSummary.FirstOrDefault(e => e.PipelineCode == pipelineCode);
}
public static List<Model.JGZL_IndustrialPipelineInstallationSummary> GetIndustrialPipelineInstallationSummaryByProjectId(string projectId) public static List<Model.JGZL_IndustrialPipelineInstallationSummary> GetIndustrialPipelineInstallationSummaryByProjectId(string projectId)
{ {
return (from x in Funs.DB.JGZL_IndustrialPipelineInstallationSummary where x.ProjectId == projectId select x).ToList(); return (from x in Funs.DB.JGZL_IndustrialPipelineInstallationSummary where x.ProjectId == projectId select x).ToList();

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="02/10/2026 14:44:10" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="01/26/2026 11:18:50" ReportInfo.Modified="02/10/2026 16:28:07" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -42,7 +42,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF0vxnu5e02+t8IjlGkC6kBg=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFUG9g69GfVA9m0SQU5+zU8g==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <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="Num" DataType="System.String" PropName="attach_image_id"/>
<Column Name="PipelineCode" DataType="System.String" PropName="image_series"/> <Column Name="PipelineCode" DataType="System.String" PropName="image_series"/>

View File

@ -10,8 +10,6 @@
<body> <body>
<form id="form1" runat="server"> <form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" /> <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
<%-- 隐藏域存储Grid的ClientID避免JS代码块冲突 --%>
<asp:HiddenField ID="hidGridClientID" runat="server" Value="<%# Grid1.ClientID %>" />
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region"> <f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
<Items> <Items>
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true" <f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
@ -39,6 +37,7 @@
<Toolbars> <Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right"> <f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
<Items> <Items>
<f:TextBox ID="txtIsoNoS" runat="server" Label="管道编号" LabelAlign="Right" AutoPostBack="true" OnTextChanged="TextBox_TextChanged" EmptyText="输入查询条件"></f:TextBox>
<f:ToolbarFill ID="ToolbarFill1" runat="server"> <f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill> </f:ToolbarFill>
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button> <f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
@ -61,6 +60,7 @@
<f:DropDownList runat="server" ID="drpCertificateCode" LabelAlign="Right" Label="质量证明书编号" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="drpCertificateCode_SelectedIndexChanged" ShowRedStar="true" EnableEdit="true" Width="380px"></f:DropDownList> <f:DropDownList runat="server" ID="drpCertificateCode" LabelAlign="Right" Label="质量证明书编号" LabelWidth="120px" AutoPostBack="true" OnSelectedIndexChanged="drpCertificateCode_SelectedIndexChanged" ShowRedStar="true" EnableEdit="true" Width="380px"></f:DropDownList>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" Readonly="true"></f:TextBox> <f:TextBox ID="txtDeliveryUnit" runat="server" Label="交工单元名称" LabelAlign="Right" Readonly="true"></f:TextBox>
<f:TextBox ID="txtDeliveryUnitCode" runat="server" Label="交工单元编号" LabelAlign="Right" Readonly="true"></f:TextBox> <f:TextBox ID="txtDeliveryUnitCode" runat="server" Label="交工单元编号" LabelAlign="Right" Readonly="true"></f:TextBox>
<f:ToolbarFill ID="ToolbarFill2" runat="server"></f:ToolbarFill>
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>
@ -74,7 +74,7 @@
</Editor> </Editor>
</f:RenderField> </f:RenderField>
<f:RenderField HeaderText="管道级别" ColumnID="PipelineLevel" DataField="PipelineLevel" SortField="PipelineLevel" <f:RenderField HeaderText="管道级别" ColumnID="PipelineLevel" DataField="PipelineLevel" SortField="PipelineLevel"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="160px"> FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="90px">
<Editor> <Editor>
<f:TextBox ID="txtPipelineLevel" runat="server"></f:TextBox> <f:TextBox ID="txtPipelineLevel" runat="server"></f:TextBox>
</Editor> </Editor>

View File

@ -12,6 +12,7 @@ using Newtonsoft.Json.Linq;
using System.Web.Services; using System.Web.Services;
using Org.BouncyCastle.Asn1.IsisMtt; using Org.BouncyCastle.Asn1.IsisMtt;
using Model; using Model;
using static System.Windows.Forms.VisualStyles.VisualStyleElement;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@ -98,64 +99,58 @@ namespace FineUIPro.Web.JGZL
this.txtDeliveryUnitCode.Text = certificate.DeliveryUnitCode; this.txtDeliveryUnitCode.Text = certificate.DeliveryUnitCode;
} }
} }
DataIsoInfo();
var summary = BLL.IndustrialPipelineInstallationSummaryService.GetIndustrialPipelineInstallationSummaryByProjectId(this.tvControlItem.SelectedNodeID); BindGrid();
if (summary.Count > 0)
{
this.BindGrid();
}
else
{
JArray teamGroupData = Grid1.GetMergedData();
List<JObject> list = new List<JObject>();
foreach (JObject teamGroupRow in teamGroupData)
{
JObject values = teamGroupRow.Value<JObject>("values");
list.Add(values);
}
JObject defaultObj = new JObject
{
{ "SummaryId", Guid.NewGuid() },
{ "CertificateId", CertificateId },
{ "PipelineCode", "" },
{ "PipelineLevel", "" },
{ "PipelineStartPoint", "" },
{ "PipelineEndPoint", "" },
{ "DesignPressure", "" },
{ "DesignTemperature", "" },
{ "Medium", "" },
{ "Material", "" },
{ "Specifications", "" },
{ "Length", "" },
{ "LayingMethod", "" },
{ "WeldsNum", "" },
{ "LosslessRatio", "" },
{ "VoltageResistantTestMedium", "" },
{ "VoltageResistantTestPressure", "" },
{ "LeakageTestMedium", "" },
{ "LeakageTestPressure", "" },
{ "CleaningMethod", "" },
{ "CorrosionControlMethod", "" },
{ "InsulationMethod", "" },
{ "OperatingTemperature", "" },
{ "VoltageResistantTestDate", "" },
{ "LeakageTestDate", "" },
{ "Remark", "" },
{
"Delete3",
String.Format("<a href=\"javascript:;\" onclick=\"{0}\"><img src=\"{1}\"/></a>",
GetDeleteScriptGrid1(), IconHelper.GetResolvedIconUrl(Icon.Delete))
}
};
list.Add(defaultObj);
Grid1.DataSource = list;
Grid1.DataBind();
}
} }
} }
#endregion #endregion
private void DataIsoInfo()
{
var isoInfo = BLL.HJGL_PW_IsoInfoService.GetIsoInfoByProjectId(this.tvControlItem.SelectedNodeID);
foreach (var item in isoInfo)
{
var summary = BLL.IndustrialPipelineInstallationSummaryService.GetIndustrialPipelineInstallationSummaryByPipelineCode(item.ISO_IsoNo);
if (summary == null)
{
Model.JGZL_IndustrialPipelineInstallationSummary newSummary = new JGZL_IndustrialPipelineInstallationSummary();
newSummary.SummaryId = SQLHelper.GetNewID(typeof(Model.JGZL_IndustrialPipelineInstallationSummary));
newSummary.ProjectId = this.tvControlItem.SelectedNodeID;
newSummary.CertificateId = this.drpCertificateCode.SelectedValue;
newSummary.PipelineCode = item.ISO_IsoNo;
if (!string.IsNullOrEmpty(item.ISC_ID))
{
newSummary.PipelineLevel = BLL.HJGL_PipingClassService.GetPipingClassByPipingClassId(item.ISC_ID).ISC_IsoName;
}
newSummary.DesignPressure = item.ISO_DesignPress.ToString();
newSummary.DesignTemperature = item.ISO_DesignTemperature.ToString();
if (!string.IsNullOrEmpty(item.SER_ID))
{
newSummary.Medium = BLL.HJGL_MediumService.GetServiceBySERID(item.SER_ID).SER_Name;
}
if (!string.IsNullOrEmpty(item.STE_ID))
{
newSummary.Material = BLL.HJGL_MaterialService.GetSteelBySteID(item.STE_ID).STE_Code;
}
var jointInfo = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == item.ISO_ID select x).FirstOrDefault();
if (jointInfo != null)
{
newSummary.Specifications = jointInfo.JOT_JointDesc;
}
newSummary.Length = item.PipeLineLength.ToString();
newSummary.WeldsNum = BLL.HJGL_PW_JointInfoService.GetJointCountByIsoId(item.ISO_ID).ToString();
if (!string.IsNullOrEmpty(item.Joty_B_Rate))
{
newSummary.LosslessRatio = HJGL_DetectionService.GetNDTRateByNDTRID(item.Joty_B_Rate).NDTR_Name;//无损检测比例
}
newSummary.VoltageResistantTestMethod = "水压";//耐压试验方法
newSummary.VoltageResistantTestMedium = "水";//耐压试验介质
newSummary.CleaningMethod = "压缩空气吹扫";//吹扫、清洗方法
BLL.IndustrialPipelineInstallationSummaryService.AddIndustrialPipelineInstallationSummary(newSummary);
}
}
}
#region #region
/// <summary> /// <summary>
/// 加载树 /// 加载树
@ -199,6 +194,7 @@ namespace FineUIPro.Web.JGZL
{ {
if (this.tvControlItem.SelectedNodeID != "0") if (this.tvControlItem.SelectedNodeID != "0")
{ {
DataIsoInfo();
this.BindGrid(); this.BindGrid();
} }
} }
@ -219,6 +215,11 @@ namespace FineUIPro.Web.JGZL
strSql += " AND ProjectId = @ProjectId"; strSql += " AND ProjectId = @ProjectId";
listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID)); listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
} }
if (!string.IsNullOrEmpty(this.txtIsoNoS.Text))
{
strSql += " AND PipelineCode like @PipelineCode";
listStr.Add(new SqlParameter("@PipelineCode", "%" + this.txtIsoNoS.Text + "%"));
}
SqlParameter[] parameter = listStr.ToArray(); SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
// 2.获取当前分页数据 // 2.获取当前分页数据
@ -278,6 +279,7 @@ namespace FineUIPro.Web.JGZL
{ {
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue; this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
this.InitTreeMenu(); this.InitTreeMenu();
DataIsoInfo();
BindGrid(); BindGrid();
} }
@ -311,95 +313,107 @@ namespace FineUIPro.Web.JGZL
string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary where ProjectId = @ProjectId "; string strSql = @"SELECT * from JGZL_IndustrialPipelineInstallationSummary where ProjectId = @ProjectId ";
List<SqlParameter> listStr = new List<SqlParameter>(); List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", projectId)); listStr.Add(new SqlParameter("@ProjectId", projectId));
if (!string.IsNullOrEmpty(this.txtIsoNoS.Text))
{
strSql += " And PipelineCode like @pipeLineCode";
listStr.Add(new SqlParameter("@pipeLineCode", "%" + this.txtIsoNoS.Text + "%"));
}
SqlParameter[] parameter = listStr.ToArray(); SqlParameter[] parameter = listStr.ToArray();
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
if (tb.Rows.Count > 0)
DataTable dt = new DataTable();
dt.TableName = "Data";
dt.Columns.Add("Num");
dt.Columns.Add("PipelineCode");
dt.Columns.Add("PipelineLevel");
dt.Columns.Add("DesignPressure");
dt.Columns.Add("DesignTemperature");
dt.Columns.Add("OperatingTemperature");
dt.Columns.Add("Medium");
dt.Columns.Add("Material");
dt.Columns.Add("Specifications");
dt.Columns.Add("Length");
dt.Columns.Add("LayingMethod");
dt.Columns.Add("WeldsNum");
dt.Columns.Add("LosslessRatio");
dt.Columns.Add("VoltageResistantTestMedium");
dt.Columns.Add("VoltageResistantTestPressure");
dt.Columns.Add("VoltageResistantTestDate");
dt.Columns.Add("LeakageTestMedium");
dt.Columns.Add("LeakageTestPressure");
dt.Columns.Add("LeakageTestDate");
dt.Columns.Add("CleaningMethod");
dt.Columns.Add("CorrosionControlMethod");
dt.Columns.Add("InsulationMethod");
dt.Columns.Add("PipelineStartPoint");
dt.Columns.Add("PipelineEndPoint");
dt.Columns.Add("Remark");
DataRow[] rows = tb.DefaultView.ToTable().Select();
int i = 0;
foreach (var row in rows)
{ {
var newRow = dt.NewRow(); DataTable dt = new DataTable();
newRow["Num"] = (i + 1).ToString(); dt.TableName = "Data";
newRow["PipelineCode"] = row["PipelineCode"].ToString(); dt.Columns.Add("Num");
newRow["PipelineLevel"] = row["PipelineLevel"].ToString(); dt.Columns.Add("PipelineCode");
newRow["DesignPressure"] = row["DesignPressure"].ToString(); dt.Columns.Add("PipelineLevel");
newRow["DesignTemperature"] = row["DesignTemperature"].ToString(); dt.Columns.Add("DesignPressure");
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString(); dt.Columns.Add("DesignTemperature");
newRow["Medium"] = row["Medium"].ToString(); dt.Columns.Add("OperatingTemperature");
newRow["Material"] = row["Material"].ToString(); dt.Columns.Add("Medium");
newRow["Specifications"] = row["Specifications"].ToString(); dt.Columns.Add("Material");
newRow["Length"] = row["Length"].ToString(); dt.Columns.Add("Specifications");
newRow["LayingMethod"] = row["LayingMethod"].ToString(); dt.Columns.Add("Length");
newRow["WeldsNum"] = row["WeldsNum"].ToString(); dt.Columns.Add("LayingMethod");
newRow["LosslessRatio"] = row["LosslessRatio"].ToString(); dt.Columns.Add("WeldsNum");
newRow["VoltageResistantTestMedium"] = row["VoltageResistantTestMedium"].ToString(); dt.Columns.Add("LosslessRatio");
newRow["VoltageResistantTestPressure"] = row["VoltageResistantTestPressure"].ToString(); dt.Columns.Add("VoltageResistantTestMedium");
string VoltageResistantTestDate = string.Format("{0:yyyy.MM.dd}", row["VoltageResistantTestDate"]); dt.Columns.Add("VoltageResistantTestPressure");
newRow["VoltageResistantTestDate"] = VoltageResistantTestDate; dt.Columns.Add("VoltageResistantTestDate");
newRow["LeakageTestMedium"] = row["LeakageTestMedium"].ToString(); dt.Columns.Add("LeakageTestMedium");
newRow["LeakageTestPressure"] = row["LeakageTestPressure"].ToString(); dt.Columns.Add("LeakageTestPressure");
string LeakageTestDate = string.Format("{0:yyyy.MM.dd}", row["LeakageTestDate"]); dt.Columns.Add("LeakageTestDate");
newRow["LeakageTestDate"] = LeakageTestDate; dt.Columns.Add("CleaningMethod");
newRow["CleaningMethod"] = row["CleaningMethod"].ToString(); dt.Columns.Add("CorrosionControlMethod");
newRow["CorrosionControlMethod"] = row["CorrosionControlMethod"].ToString(); dt.Columns.Add("InsulationMethod");
newRow["InsulationMethod"] = row["InsulationMethod"].ToString(); dt.Columns.Add("PipelineStartPoint");
newRow["PipelineStartPoint"] = row["PipelineStartPoint"].ToString(); dt.Columns.Add("PipelineEndPoint");
newRow["PipelineEndPoint"] = row["PipelineEndPoint"].ToString(); dt.Columns.Add("Remark");
newRow["Remark"] = row["Remark"].ToString();
dt.Rows.Add(newRow); DataRow[] rows = tb.DefaultView.ToTable().Select();
i++; int i = 0;
foreach (var row in rows)
{
var newRow = dt.NewRow();
newRow["Num"] = (i + 1).ToString();
newRow["PipelineCode"] = row["PipelineCode"].ToString();
newRow["PipelineLevel"] = row["PipelineLevel"].ToString();
newRow["DesignPressure"] = row["DesignPressure"].ToString();
newRow["DesignTemperature"] = row["DesignTemperature"].ToString();
newRow["OperatingTemperature"] = row["OperatingTemperature"].ToString();
newRow["Medium"] = row["Medium"].ToString();
newRow["Material"] = row["Material"].ToString();
newRow["Specifications"] = row["Specifications"].ToString();
newRow["Length"] = row["Length"].ToString();
newRow["LayingMethod"] = row["LayingMethod"].ToString();
newRow["WeldsNum"] = row["WeldsNum"].ToString();
newRow["LosslessRatio"] = row["LosslessRatio"].ToString();
newRow["VoltageResistantTestMedium"] = row["VoltageResistantTestMedium"].ToString();
newRow["VoltageResistantTestPressure"] = row["VoltageResistantTestPressure"].ToString();
string VoltageResistantTestDate = string.Format("{0:yyyy.MM.dd}", row["VoltageResistantTestDate"]);
newRow["VoltageResistantTestDate"] = VoltageResistantTestDate;
newRow["LeakageTestMedium"] = row["LeakageTestMedium"].ToString();
newRow["LeakageTestPressure"] = row["LeakageTestPressure"].ToString();
string LeakageTestDate = string.Format("{0:yyyy.MM.dd}", row["LeakageTestDate"]);
newRow["LeakageTestDate"] = LeakageTestDate;
newRow["CleaningMethod"] = row["CleaningMethod"].ToString();
newRow["CorrosionControlMethod"] = row["CorrosionControlMethod"].ToString();
newRow["InsulationMethod"] = row["InsulationMethod"].ToString();
newRow["PipelineStartPoint"] = row["PipelineStartPoint"].ToString();
newRow["PipelineEndPoint"] = row["PipelineEndPoint"].ToString();
newRow["Remark"] = row["Remark"].ToString();
dt.Rows.Add(newRow);
i++;
}
BLL.Common.FastReportService.AddFastreportTable(dt);
string certificateCode = string.Empty;
string deliveryUnit = string.Empty;
string deliveryUnitCode = string.Empty;
string certificateId = rows[0]["CertificateId"].ToString();
var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(certificateId);
if (certificate != null)
{
certificateCode = certificate.CertificateCode;
deliveryUnit = certificate.DeliveryUnit;
deliveryUnitCode = certificate.DeliveryUnitCode;
}
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("CertificateCode", certificateCode);
keyValuePairs.Add("DeliveryUnit", deliveryUnit);
keyValuePairs.Add("DeliveryUnitCode", deliveryUnitCode);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\压力管道安装汇总表.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
}
} }
BLL.Common.FastReportService.AddFastreportTable(dt); else
string certificateCode = string.Empty;
string deliveryUnit = string.Empty;
string deliveryUnitCode = string.Empty;
string certificateId = rows[0]["CertificateId"].ToString();
var certificate = BLL.IndustrialPipelineInstallationQualityCertificateService.GetIndustrialPipelineInstallationQualityCertificateById(certificateId);
if (certificate != null)
{ {
certificateCode = certificate.CertificateCode; Alert.ShowInTop("没有要打印的数据!", MessageBoxIcon.Warning);
deliveryUnit = certificate.DeliveryUnit; return;
deliveryUnitCode = certificate.DeliveryUnitCode;
}
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("CertificateCode", certificateCode);
keyValuePairs.Add("DeliveryUnit", deliveryUnit);
keyValuePairs.Add("DeliveryUnitCode", deliveryUnitCode);
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\JGZL\\压力管道安装汇总表.frx";
if (File.Exists(rootPath + initTemplatePath))
{
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
} }
} }
else else

View File

@ -32,15 +32,6 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.PageManager PageManager1; protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// hidGridClientID 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.HiddenField hidGridClientID;
/// <summary> /// <summary>
/// Panel1 控件。 /// Panel1 控件。
/// </summary> /// </summary>
@ -104,6 +95,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Toolbar Toolbar2; protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// txtIsoNoS 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtIsoNoS;
/// <summary> /// <summary>
/// ToolbarFill1 控件。 /// ToolbarFill1 控件。
/// </summary> /// </summary>
@ -185,6 +185,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.TextBox txtDeliveryUnitCode; protected global::FineUIPro.TextBox txtDeliveryUnitCode;
/// <summary>
/// ToolbarFill2 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill2;
/// <summary> /// <summary>
/// txtIsoNo 控件。 /// txtIsoNo 控件。
/// </summary> /// </summary>