20260209 特种设备安装改造维修告知书
This commit is contained in:
parent
c724eb117e
commit
cb84240b73
|
|
@ -18,6 +18,16 @@ namespace BLL
|
|||
return Funs.DB.JGZL_SpecialEquipmentMaintenance.FirstOrDefault(e => e.MaintenanceId == maintenanceId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据项目Id获取设备安装改造维修告知书
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_SpecialEquipmentMaintenance GetSpecialEquipmentMaintenanceByProjectId(string projectId)
|
||||
{
|
||||
return Funs.DB.JGZL_SpecialEquipmentMaintenance.FirstOrDefault(e => e.MaintenanceId == projectId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 增加特种设备安装改造维修告知书
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="02/07/2026 16:41:04" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/29/2026 16:26:38" ReportInfo.Modified="02/08/2026 11:00:00" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using FastReport;
|
||||
using FastReport.Data;
|
||||
using FastReport.Dialog;
|
||||
using FastReport.Barcode;
|
||||
using FastReport.Table;
|
||||
using FastReport.Utils;
|
||||
|
||||
namespace FastReport
|
||||
{
|
||||
public class ReportScript
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||
<Parameter Name="ProjectOverview" DataType="System.String"/>
|
||||
|
|
@ -26,7 +48,7 @@
|
|||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="98.5" Width="646.38" Height="830.2" Guides="0,830.2,194.11,227.57,33.46,327.95,261.03,294.49,361.41,394.87,428.33,461.79,495.25,528.71,642.88,562.17,605.08,42.91,37.8,676.34,709.8,749.49">
|
||||
<DataBand Name="Data1" Top="98.5" Width="646.38" Height="830.2" Guides="0,830.2,194.11,227.57,33.46,327.95,361.41,394.87,428.33,461.79,495.25,528.71,642.88,42.91,37.8,676.34,709.8,749.49">
|
||||
<TableObject Name="Table2" Width="646.38" Height="830.2" Border.Lines="Left, Right, Bottom">
|
||||
<TableColumn Name="Column4" Width="228.15"/>
|
||||
<TableColumn Name="Column5" Width="418.23"/>
|
||||
|
|
@ -55,20 +77,20 @@
|
|||
<TableCell Name="Cell27" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="33.46">
|
||||
<TableCell Name="Cell28" Text="建设单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell29" Text="[ConstructionUnit]" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell28" Text="建设单位:[ConstructionUnit]" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell29" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="33.46">
|
||||
<TableCell Name="Cell30" Text="设计单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell31" Text="[DesigningUnit]" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell30" Text="设计单位:[DesigningUnit]" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell31" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="33.46">
|
||||
<TableCell Name="Cell32" Text="检测单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell33" Text="[TestingUnit]" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell32" Text="检测单位:[TestingUnit]" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell33" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="33.46">
|
||||
<TableCell Name="Cell34" Text="施工单位:" HorzAlign="Right" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell35" Text="[ConstructionCompany]" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell34" Text="施工单位:[ConstructionCompany]" Padding="50, 1, 2, 1" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell35" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row12" Height="33.46">
|
||||
<TableCell Name="Cell36" Text="四、案卷构成及本卷册主要内容" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="02/06/2026 16:23:06" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/23/2026 17:12:17" ReportInfo.Modified="02/08/2026 11:11:39" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF9Yu2tPE4XnZAHvGq5Vj6Kw==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFPYfzwMV5u+uo6P+ngcIbpQ==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="CertificateCode" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="EngineeringName" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/22/2025 14:15:28" ReportInfo.Modified="02/06/2026 16:12:03" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/22/2025 14:15:28" ReportInfo.Modified="02/08/2026 11:01:59" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFhOYRTSh3GPJRF/zyf7XpDg==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFTMfW2RuqdVwibFML3uCXMA==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="MaintenanceCode" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="ConUnit" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -175,7 +175,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -166,7 +166,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,8 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -118,7 +118,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
PageData();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -188,7 +188,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -157,7 +157,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,8 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -167,8 +167,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -175,7 +175,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -179,7 +179,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -164,7 +164,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -174,6 +174,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -91,6 +91,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -39,14 +39,99 @@
|
|||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
<%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%>
|
||||
<f:Button ID="btnPrint" Text="特种设备安装改造维修告知书打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="特种设备安装改造维修告知书" EnableCollapse="true"
|
||||
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtConUnit" runat="server" Label="施工单位" LabelAlign="Right" LabelWidth="130px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
<f:TextBox ID="txtMaintenanceCode" runat="server" Label="告知书编号" LabelAlign="Right" LabelWidth="130px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtEquipmentName" runat="server" Label="设备名称" LabelAlign="Right" LabelWidth="130px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
<f:TextBox ID="txtEquipmentModel" runat="server" Label="型号(参数)" LabelAlign="Right" LabelWidth="130px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtEquipmentCode" runat="server" Label="设备代码" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtManufacturingNumber" runat="server" Label="制造编号" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtManufacturingUnit" runat="server" Label="设备制造单位全称" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtManufacturingLicenseNumber" runat="server" Label="制造许可证编号" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtEquipmentLocation" runat="server" Label="设备地点" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:DatePicker ID="txtConstructionDate" runat="server" Label="施工日期" LabelAlign="Right" LabelWidth="130px"></f:DatePicker>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpConstructionCategory" runat="server" Label="施工类别" LabelAlign="Right" LabelWidth="130px" ShowRedStar="true" Required="true">
|
||||
<f:ListItem Value="改造" Text="改造" Selected="true" />
|
||||
<f:ListItem Value="安装" Text="安装" />
|
||||
<f:ListItem Value="维修" Text="维修" />
|
||||
</f:DropDownList>
|
||||
<f:TextBox ID="txtLicenseNumber" runat="server" Label="许可证编号" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker ID="txtLicenseValidityDate" runat="server" Label="许可证有效期" LabelAlign="Right" LabelWidth="130px"></f:DatePicker>
|
||||
<f:TextBox ID="txtConContactMan" runat="server" Label="联系人" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtConTelephone" runat="server" Label="电话" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtConFax" runat="server" Label="传真" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtConAddress" runat="server" Label="地址" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtConEmail" runat="server" Label="邮编" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUseUnit" runat="server" Label="使用单位全称" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtUseContactMan" runat="server" Label="联系人" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUseTelephone" runat="server" Label="电话" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtUseFax" runat="server" Label="传真" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUseAddress" runat="server" Label="地址" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
<f:TextBox ID="txtUseEmail" runat="server" Label="邮编" LabelAlign="Right" LabelWidth="130px"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<%--<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="特种设备安装改造维修告知书" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="MaintenanceId" AllowCellEditing="true"
|
||||
EnableColumnLines="true" ClicksToEdit="1" DataIDField="MaintenanceId" AllowSorting="true"
|
||||
SortField="MaintenanceCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
|
||||
|
|
@ -102,35 +187,35 @@
|
|||
<f:ListItem Text="25" Value="25" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</f:Grid>--%>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="特种设备安装改造维修告知书" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
<%--<f:Window ID="Window1" Title="特种设备安装改造维修告知书" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="1100px" Height="620px">
|
||||
</f:Window>
|
||||
</f:Window>--%>
|
||||
<f:Window ID="WindowPrint" Title="打印特种设备安装改造维修告知书" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
|
||||
Height="600px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<%--<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||
runat="server" Text="编辑" Icon="TableEdit">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
</f:Menu>--%>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
<%--<script type="text/javascript">
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</script>--%>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -8,11 +8,29 @@ using System.Web;
|
|||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.IO;
|
||||
using FineUIPro.Web.common.BaseInfo;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class SpecialEquipmentMaintenance : PageBase
|
||||
{
|
||||
#region 定义变量
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
private string MaintenanceId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["MaintenanceId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["MaintenanceId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
|
|
@ -23,7 +41,7 @@ namespace FineUIPro.Web.JGZL
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
//this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
|
||||
this.drpProjectId.DataTextField = "ProjectCode";
|
||||
this.drpProjectId.DataValueField = "ProjectId";
|
||||
|
|
@ -34,11 +52,154 @@ namespace FineUIPro.Web.JGZL
|
|||
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
this.InitTreeMenu();//加载树
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.BindGrid();
|
||||
//this.BindGrid();
|
||||
PageData();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void PageData()
|
||||
{
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
var pro = BLL.Base_ProjectService.GetProjectByProjectId(projectId);
|
||||
if (pro != null)
|
||||
{
|
||||
var report = BLL.SpecialEquipmentMaintenanceService.GetSpecialEquipmentMaintenanceByProjectId(projectId);
|
||||
if (report != null)
|
||||
{
|
||||
this.MaintenanceId = report.MaintenanceId;
|
||||
if (!string.IsNullOrEmpty(report.MaintenanceCode))
|
||||
{
|
||||
this.txtMaintenanceCode.Text = report.MaintenanceCode;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtMaintenanceCode.Text = "0XXX-91330921MA2A2R3F6G-2026";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.ConUnit))
|
||||
{
|
||||
this.txtConUnit.Text = report.ConUnit;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtConUnit.Text = "浙江鼎盛石化工程有限公司";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.EquipmentName))
|
||||
{
|
||||
this.txtEquipmentName.Text = report.EquipmentName;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtEquipmentName.Text = "压力管道(" + pro.ProjectName + ")";
|
||||
}
|
||||
this.txtEquipmentModel.Text = report.EquipmentModel;
|
||||
if (!string.IsNullOrEmpty(report.EquipmentCode))
|
||||
{
|
||||
this.txtEquipmentCode.Text = report.EquipmentCode;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtEquipmentCode.Text = "/";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.ManufacturingNumber))
|
||||
{
|
||||
this.txtManufacturingNumber.Text = report.ManufacturingNumber;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtManufacturingNumber.Text = "/";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.ManufacturingUnit))
|
||||
{
|
||||
this.txtManufacturingUnit.Text = report.ManufacturingUnit;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtManufacturingUnit.Text = "/";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.ManufacturingLicenseNumber))
|
||||
{
|
||||
this.txtManufacturingLicenseNumber.Text = report.ManufacturingLicenseNumber;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtManufacturingLicenseNumber.Text = "/";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(report.EquipmentLocation))
|
||||
{
|
||||
this.txtEquipmentLocation.Text = report.EquipmentLocation;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtEquipmentLocation.Text = pro.ProjectName;
|
||||
}
|
||||
this.txtConstructionDate.Text = report.ConstructionDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.ConstructionDate) : string.Format("{0:yyyy-MM-dd}", pro.StartDate);
|
||||
this.drpConstructionCategory.SelectedValue = report.ConstructionCategory;
|
||||
if (!string.IsNullOrEmpty(report.LicenseNumber))
|
||||
{
|
||||
this.txtLicenseNumber.Text = report.LicenseNumber;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtLicenseNumber.Text = "TS3833339-2028";
|
||||
}
|
||||
this.txtLicenseValidityDate.Text = report.LicenseValidityDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.LicenseValidityDate) : string.Format("{0:yyyy-MM-dd}", "2028-8-20");
|
||||
this.txtConContactMan.Text = report.ConContactMan;
|
||||
this.txtConTelephone.Text = report.ConTelephone;
|
||||
this.txtConFax.Text = report.ConFax;
|
||||
if (!string.IsNullOrEmpty(report.ConAddress))
|
||||
{
|
||||
this.txtConAddress.Text = report.ConAddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtConAddress.Text = "浙江省舟山市岱山县经济技术开发区徐福大道988号810室(岱西片区)";
|
||||
}
|
||||
this.txtConEmail.Text = report.ConEmail;
|
||||
if (!string.IsNullOrEmpty(report.UseUnit))
|
||||
{
|
||||
this.txtUseUnit.Text = report.UseUnit;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtUseUnit.Text = "浙江石油化工有限公司";
|
||||
}
|
||||
this.txtUseContactMan.Text = report.UseContactMan;
|
||||
this.txtUseTelephone.Text = report.UseTelephone;
|
||||
this.txtUseFax.Text = report.UseFax;
|
||||
if (!string.IsNullOrEmpty(report.UseAddress))
|
||||
{
|
||||
this.txtUseAddress.Text = report.UseAddress;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtUseAddress.Text = "浙江省舟山市定海区临城街道翁山路555号大宗商品交易中心5201室(自贸试验区内)";
|
||||
}
|
||||
this.txtUseEmail.Text = report.UseEmail;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtMaintenanceCode.Text = "0XXX-91330921MA2A2R3F6G-2026";
|
||||
this.txtConUnit.Text = "浙江鼎盛石化工程有限公司";
|
||||
this.txtEquipmentCode.Text = "/";
|
||||
this.txtManufacturingNumber.Text = "/";
|
||||
this.txtManufacturingUnit.Text = "/";
|
||||
this.txtManufacturingLicenseNumber.Text = "/";
|
||||
this.txtEquipmentName.Text = "压力管道(" + pro.ProjectName + ")";
|
||||
this.txtEquipmentLocation.Text = pro.ProjectName;
|
||||
this.txtConstructionDate.Text = pro.StartDate.HasValue ? string.Format("{0:yyyy-MM-dd}", pro.StartDate) : "";
|
||||
this.txtLicenseNumber.Text = "TS3833339-2028";
|
||||
this.txtLicenseValidityDate.Text = string.Format("{0:yyyy-MM-dd}", "2028-8-20");
|
||||
this.txtConAddress.Text = "浙江省舟山市岱山县经济技术开发区徐福大道988号810室(岱西片区)";
|
||||
this.txtUseUnit.Text = "浙江石油化工有限公司";
|
||||
this.txtUseAddress.Text = "浙江省舟山市定海区临城街道翁山路555号大宗商品交易中心5201室(自贸试验区内)";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#region 加载树项目
|
||||
/// <summary>
|
||||
/// 加载树
|
||||
|
|
@ -82,7 +243,8 @@ namespace FineUIPro.Web.JGZL
|
|||
{
|
||||
if (this.tvControlItem.SelectedNodeID != "0")
|
||||
{
|
||||
this.BindGrid();
|
||||
this.PageData();
|
||||
//this.BindGrid();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
@ -91,30 +253,30 @@ namespace FineUIPro.Web.JGZL
|
|||
/// <summary>
|
||||
/// 数据绑定
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
//string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
|
||||
string strSql = @"SELECT * from JGZL_SpecialEquipmentMaintenance where 1=1";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
strSql += " AND ProjectId = @ProjectId";
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
|
||||
}
|
||||
//else
|
||||
//private void BindGrid()
|
||||
//{
|
||||
// strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
|
||||
// listStr.Add(new SqlParameter("@ProjectId", projectIds));
|
||||
// //string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
|
||||
// string strSql = @"SELECT * from JGZL_SpecialEquipmentMaintenance where 1=1";
|
||||
// List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
// {
|
||||
// strSql += " AND ProjectId = @ProjectId";
|
||||
// listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
|
||||
// }
|
||||
// //else
|
||||
// //{
|
||||
// // strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
|
||||
// // listStr.Add(new SqlParameter("@ProjectId", projectIds));
|
||||
// //}
|
||||
// SqlParameter[] parameter = listStr.ToArray();
|
||||
// DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// // 2.获取当前分页数据
|
||||
// Grid1.RecordCount = tb.Rows.Count;
|
||||
// //tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
// var table = this.GetPagedDataTable(Grid1, tb);
|
||||
// Grid1.DataSource = table;
|
||||
// Grid1.DataBind();
|
||||
//}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// 2.获取当前分页数据
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分页排序
|
||||
|
|
@ -124,10 +286,10 @@ namespace FineUIPro.Web.JGZL
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
//protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
//{
|
||||
// BindGrid();
|
||||
//}
|
||||
#endregion
|
||||
|
||||
#region 排序
|
||||
|
|
@ -136,10 +298,10 @@ namespace FineUIPro.Web.JGZL
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
//protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
//{
|
||||
// BindGrid();
|
||||
//}
|
||||
#endregion
|
||||
|
||||
#region 分页选择下拉改变事件
|
||||
|
|
@ -148,11 +310,11 @@ namespace FineUIPro.Web.JGZL
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
//protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
// BindGrid();
|
||||
//}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
|
|
@ -164,7 +326,9 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
PageData();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -174,7 +338,7 @@ namespace FineUIPro.Web.JGZL
|
|||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
//this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
@ -186,16 +350,16 @@ namespace FineUIPro.Web.JGZL
|
|||
/// <param name="e"></param>
|
||||
protected void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
string id = this.Grid1.SelectedRowID;
|
||||
if (!string.IsNullOrEmpty(id))
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
var specialEquipmentMaintenance = BLL.SpecialEquipmentMaintenanceService.GetSpecialEquipmentMaintenance(id);
|
||||
if (specialEquipmentMaintenance != null)
|
||||
{
|
||||
//var specialEquipmentMaintenance = BLL.SpecialEquipmentMaintenanceService.GetSpecialEquipmentMaintenanceByProjectId(projectId);
|
||||
//if (specialEquipmentMaintenance != null)
|
||||
//{
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "Data";
|
||||
dt.Columns.Add("MaintenanceCode");
|
||||
|
|
@ -224,32 +388,32 @@ namespace FineUIPro.Web.JGZL
|
|||
dt.Columns.Add("UseEmail");
|
||||
|
||||
var newRow = dt.NewRow();
|
||||
newRow["MaintenanceCode"] = specialEquipmentMaintenance.MaintenanceCode;
|
||||
newRow["ConUnit"] = specialEquipmentMaintenance.ConUnit;
|
||||
newRow["EquipmentName"] = specialEquipmentMaintenance.EquipmentName;
|
||||
newRow["EquipmentModel"] = specialEquipmentMaintenance.EquipmentModel;
|
||||
newRow["EquipmentCode"] = specialEquipmentMaintenance.EquipmentCode;
|
||||
newRow["ManufacturingNumber"] = specialEquipmentMaintenance.ManufacturingNumber;
|
||||
newRow["ManufacturingUnit"] = specialEquipmentMaintenance.ManufacturingUnit;
|
||||
newRow["ManufacturingLicenseNumber"] = specialEquipmentMaintenance.ManufacturingLicenseNumber;
|
||||
newRow["EquipmentLocation"] = specialEquipmentMaintenance.EquipmentLocation;
|
||||
string constructionDate = string.Format("{0:yyyy年MM月dd}", specialEquipmentMaintenance.ConstructionDate);
|
||||
newRow["MaintenanceCode"] = this.txtMaintenanceCode.Text;
|
||||
newRow["ConUnit"] = this.txtConUnit.Text;
|
||||
newRow["EquipmentName"] = this.txtEquipmentName.Text;
|
||||
newRow["EquipmentModel"] = this.txtEquipmentModel.Text;
|
||||
newRow["EquipmentCode"] = this.txtEquipmentCode.Text;
|
||||
newRow["ManufacturingNumber"] = this.txtManufacturingNumber.Text;
|
||||
newRow["ManufacturingUnit"] = this.txtManufacturingUnit.Text;
|
||||
newRow["ManufacturingLicenseNumber"] = this.txtManufacturingLicenseNumber.Text;
|
||||
newRow["EquipmentLocation"] = this.txtEquipmentLocation.Text;
|
||||
string constructionDate = string.Format("{0:yyyy年MM月dd}", this.txtConstructionDate.Text);
|
||||
newRow["ConstructionDate"] = constructionDate;
|
||||
newRow["ConstructionCategory"] = specialEquipmentMaintenance.ConstructionCategory;
|
||||
newRow["LicenseNumber"] = specialEquipmentMaintenance.LicenseNumber;
|
||||
string licenseValidityDate = string.Format("{0:yyyy年MM月dd}", specialEquipmentMaintenance.LicenseValidityDate);
|
||||
newRow["ConstructionCategory"] = this.drpConstructionCategory.SelectedText;
|
||||
newRow["LicenseNumber"] = this.txtLicenseNumber.Text;
|
||||
string licenseValidityDate = string.Format("{0:yyyy年MM月dd}", this.txtLicenseValidityDate.Text);
|
||||
newRow["LicenseValidityDate"] = licenseValidityDate;
|
||||
newRow["ConContactMan"] = specialEquipmentMaintenance.ConContactMan;
|
||||
newRow["ConTelephone"] = specialEquipmentMaintenance.ConTelephone;
|
||||
newRow["ConFax"] = specialEquipmentMaintenance.ConFax;
|
||||
newRow["ConAddress"] = specialEquipmentMaintenance.ConAddress;
|
||||
newRow["ConEmail"] = specialEquipmentMaintenance.ConEmail;
|
||||
newRow["UseUnit"] = specialEquipmentMaintenance.UseUnit;
|
||||
newRow["UseContactMan"] = specialEquipmentMaintenance.UseContactMan;
|
||||
newRow["UseTelephone"] = specialEquipmentMaintenance.UseTelephone;
|
||||
newRow["UseFax"] = specialEquipmentMaintenance.UseFax;
|
||||
newRow["UseAddress"] = specialEquipmentMaintenance.UseAddress;
|
||||
newRow["UseEmail"] = specialEquipmentMaintenance.UseEmail;
|
||||
newRow["ConContactMan"] = this.txtConContactMan.Text;
|
||||
newRow["ConTelephone"] = this.txtConTelephone.Text;
|
||||
newRow["ConFax"] = this.txtConFax.Text;
|
||||
newRow["ConAddress"] = this.txtConAddress.Text;
|
||||
newRow["ConEmail"] = this.txtConEmail.Text;
|
||||
newRow["UseUnit"] = this.txtUseUnit.Text;
|
||||
newRow["UseContactMan"] = this.txtUseContactMan.Text;
|
||||
newRow["UseTelephone"] = this.txtUseTelephone.Text;
|
||||
newRow["UseFax"] = this.txtUseFax.Text;
|
||||
newRow["UseAddress"] = this.txtUseAddress.Text;
|
||||
newRow["UseEmail"] = this.txtUseEmail.Text;
|
||||
|
||||
dt.Rows.Add(newRow);
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
|
@ -263,11 +427,11 @@ namespace FineUIPro.Web.JGZL
|
|||
{
|
||||
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
}
|
||||
}
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -279,139 +443,139 @@ namespace FineUIPro.Web.JGZL
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
//protected void btnAdd_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
// {
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
// }
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 双击编辑
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_SpecialEquipmentMaintenanceMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?maintenanceId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
//protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
//{
|
||||
// if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_SpecialEquipmentMaintenanceMenuId, BLL.Const.BtnModify))
|
||||
// {
|
||||
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
// {
|
||||
// if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
// {
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?maintenanceId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
// }
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 右键编辑
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_SpecialEquipmentMaintenanceMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?maintenanceId={0}", Grid1.SelectedRowID, "维护 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
//protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_SpecialEquipmentMaintenanceMenuId, BLL.Const.BtnModify))
|
||||
// {
|
||||
// if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
// {
|
||||
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
// }
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("SpecialEquipmentMaintenanceEdit.aspx?maintenanceId={0}", Grid1.SelectedRowID, "维护 - ")));
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
// }
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 右键删除
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_SpecialEquipmentMaintenanceMenuId, Const.BtnDelete))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
//protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_SpecialEquipmentMaintenanceMenuId, Const.BtnDelete))
|
||||
// {
|
||||
// if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
// {
|
||||
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
// }
|
||||
|
||||
bool isShow = true;
|
||||
if (Grid1.SelectedRowIndexArray.Length > 1)
|
||||
{
|
||||
isShow = false;
|
||||
}
|
||||
bool isDelete = false;
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
if (judgementDelete(rowID, isShow))
|
||||
{
|
||||
isDelete = true;
|
||||
BLL.SpecialEquipmentMaintenanceService.DeleteSpecialEquipmentMaintenanceById(rowID);
|
||||
BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除特种设备安装改造维修告知书");
|
||||
}
|
||||
}
|
||||
if (isDelete)
|
||||
{
|
||||
ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||
}
|
||||
this.BindGrid();
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
// bool isShow = true;
|
||||
// if (Grid1.SelectedRowIndexArray.Length > 1)
|
||||
// {
|
||||
// isShow = false;
|
||||
// }
|
||||
// bool isDelete = false;
|
||||
// foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
// {
|
||||
// string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
// if (judgementDelete(rowID, isShow))
|
||||
// {
|
||||
// isDelete = true;
|
||||
// BLL.SpecialEquipmentMaintenanceService.DeleteSpecialEquipmentMaintenanceById(rowID);
|
||||
// BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除特种设备安装改造维修告知书");
|
||||
// }
|
||||
// }
|
||||
// if (isDelete)
|
||||
// {
|
||||
// ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||
// }
|
||||
// this.BindGrid();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
// }
|
||||
//}
|
||||
|
||||
#region 判断是否可删除
|
||||
/// <summary>
|
||||
/// 判断是否可以删除
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private bool judgementDelete(string id, bool isShow)
|
||||
{
|
||||
string content = string.Empty;
|
||||
//private bool judgementDelete(string id, bool isShow)
|
||||
//{
|
||||
// string content = string.Empty;
|
||||
|
||||
if (string.IsNullOrEmpty(content))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isShow)
|
||||
{
|
||||
Alert.ShowInTop(content, MessageBoxIcon.Error);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// if (string.IsNullOrEmpty(content))
|
||||
// {
|
||||
// return true;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// if (isShow)
|
||||
// {
|
||||
// Alert.ShowInTop(content, MessageBoxIcon.Error);
|
||||
// }
|
||||
// return false;
|
||||
// }
|
||||
//}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
|
|
@ -421,10 +585,80 @@ namespace FineUIPro.Web.JGZL
|
|||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
//protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
//{
|
||||
// this.InitTreeMenu();//加载树
|
||||
// this.BindGrid();
|
||||
//}
|
||||
#endregion
|
||||
|
||||
#region 提交按钮
|
||||
/// <summary>
|
||||
/// 提交按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();//加载树
|
||||
this.BindGrid();
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_SpecialEquipmentMaintenanceMenuId, Const.BtnSave))
|
||||
{
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
Model.JGZL_SpecialEquipmentMaintenance newReport = new Model.JGZL_SpecialEquipmentMaintenance();
|
||||
newReport.MaintenanceCode = this.txtMaintenanceCode.Text.Trim();
|
||||
newReport.ConUnit = this.txtConUnit.Text.Trim();
|
||||
newReport.EquipmentName = this.txtEquipmentName.Text.Trim();
|
||||
newReport.EquipmentModel = this.txtEquipmentModel.Text.Trim();
|
||||
newReport.EquipmentCode = this.txtEquipmentCode.Text.Trim();
|
||||
newReport.ManufacturingNumber = this.txtManufacturingNumber.Text.Trim();
|
||||
newReport.ManufacturingUnit = this.txtManufacturingUnit.Text.Trim();
|
||||
newReport.ManufacturingLicenseNumber = this.txtManufacturingLicenseNumber.Text.Trim();
|
||||
newReport.EquipmentLocation = this.txtEquipmentLocation.Text.Trim();
|
||||
newReport.ConstructionDate = Funs.GetNewDateTime(this.txtConstructionDate.Text.Trim());
|
||||
newReport.ConstructionCategory = this.drpConstructionCategory.SelectedValue;
|
||||
newReport.LicenseNumber = this.txtLicenseNumber.Text.Trim();
|
||||
newReport.LicenseValidityDate = Funs.GetNewDateTime(this.txtLicenseValidityDate.Text);
|
||||
newReport.ConContactMan = this.txtConContactMan.Text.Trim();
|
||||
newReport.ConTelephone = this.txtConTelephone.Text.Trim();
|
||||
newReport.ConFax = this.txtConFax.Text.Trim();
|
||||
newReport.ConAddress = this.txtConAddress.Text.Trim();
|
||||
newReport.ConEmail = this.txtConEmail.Text.Trim();
|
||||
newReport.UseUnit = this.txtUseUnit.Text.Trim();
|
||||
newReport.UseContactMan = this.txtUseContactMan.Text.Trim();
|
||||
newReport.UseTelephone = this.txtUseTelephone.Text.Trim();
|
||||
newReport.UseFax = this.txtUseFax.Text.Trim();
|
||||
newReport.UseAddress = this.txtUseAddress.Text.Trim();
|
||||
newReport.UseEmail = this.txtUseEmail.Text.Trim();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.MaintenanceId))
|
||||
{
|
||||
newReport.MaintenanceId = this.MaintenanceId;
|
||||
BLL.SpecialEquipmentMaintenanceService.UpdateSpecialEquipmentMaintenance(newReport);
|
||||
}
|
||||
else
|
||||
{
|
||||
newReport.ProjectId = projectId;
|
||||
newReport.CompileMan = this.CurrUser.UserId;
|
||||
newReport.CompileDate = DateTime.Now;
|
||||
newReport.MaintenanceId = SQLHelper.GetNewID(typeof(Model.JGZL_SpecialEquipmentMaintenance));
|
||||
this.MaintenanceId = newReport.MaintenanceId;
|
||||
BLL.SpecialEquipmentMaintenanceService.AddSpecialEquipmentMaintenance(newReport);
|
||||
}
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
//PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
|
|
|||
|
|
@ -105,13 +105,13 @@ namespace FineUIPro.Web.JGZL
|
|||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnAdd 控件。
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAdd;
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
|
|
@ -123,49 +123,229 @@ namespace FineUIPro.Web.JGZL
|
|||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// txtConUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
protected global::FineUIPro.TextBox txtConUnit;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// txtMaintenanceCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
protected global::FineUIPro.TextBox txtMaintenanceCode;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// txtEquipmentName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
protected global::FineUIPro.TextBox txtEquipmentName;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// txtEquipmentModel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
protected global::FineUIPro.TextBox txtEquipmentModel;
|
||||
|
||||
/// <summary>
|
||||
/// txtEquipmentCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtEquipmentCode;
|
||||
|
||||
/// <summary>
|
||||
/// txtManufacturingNumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtManufacturingNumber;
|
||||
|
||||
/// <summary>
|
||||
/// txtManufacturingUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtManufacturingUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtManufacturingLicenseNumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtManufacturingLicenseNumber;
|
||||
|
||||
/// <summary>
|
||||
/// txtEquipmentLocation 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtEquipmentLocation;
|
||||
|
||||
/// <summary>
|
||||
/// txtConstructionDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtConstructionDate;
|
||||
|
||||
/// <summary>
|
||||
/// drpConstructionCategory 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpConstructionCategory;
|
||||
|
||||
/// <summary>
|
||||
/// txtLicenseNumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtLicenseNumber;
|
||||
|
||||
/// <summary>
|
||||
/// txtLicenseValidityDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtLicenseValidityDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtConContactMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConContactMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtConTelephone 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConTelephone;
|
||||
|
||||
/// <summary>
|
||||
/// txtConFax 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConFax;
|
||||
|
||||
/// <summary>
|
||||
/// txtConAddress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConAddress;
|
||||
|
||||
/// <summary>
|
||||
/// txtConEmail 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConEmail;
|
||||
|
||||
/// <summary>
|
||||
/// txtUseUnit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUseUnit;
|
||||
|
||||
/// <summary>
|
||||
/// txtUseContactMan 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUseContactMan;
|
||||
|
||||
/// <summary>
|
||||
/// txtUseTelephone 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUseTelephone;
|
||||
|
||||
/// <summary>
|
||||
/// txtUseFax 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUseFax;
|
||||
|
||||
/// <summary>
|
||||
/// txtUseAddress 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUseAddress;
|
||||
|
||||
/// <summary>
|
||||
/// txtUseEmail 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUseEmail;
|
||||
|
||||
/// <summary>
|
||||
/// WindowPrint 控件。
|
||||
|
|
@ -175,32 +355,5 @@ namespace FineUIPro.Web.JGZL
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowPrint;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -225,6 +225,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
|
|
@ -171,6 +171,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -194,6 +194,7 @@ namespace FineUIPro.Web.JGZL
|
|||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
this.BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue