20260311 隔热工程质量验收记录
This commit is contained in:
parent
04b42f1813
commit
40faaf8bc6
|
|
@ -2505,6 +2505,12 @@ namespace BLL
|
|||
/// 隐蔽工程验收记录导出模板
|
||||
/// </summary>
|
||||
public const string JGZL_ConcealedWorksInspectionRecordUrl = "File\\Word\\JGZL\\隐蔽工程验收记录导出模板.docx";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 隔热工程质量验收记录导出模板
|
||||
/// </summary>
|
||||
public const string JGZL_InsulationAcceptanceRecordUrl = "File\\Word\\JGZL\\隔热工程质量验收记录导出模板.docx";
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,16 @@ namespace BLL
|
|||
return Funs.DB.JGZL_InsulationAcceptanceRecord.FirstOrDefault(e => e.InsulationAcceptanceRecordId == insulationAcceptanceRecordId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据项目Id获取隔热工程质量验收记录
|
||||
/// </summary>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_InsulationAcceptanceRecord GetInsulationAcceptanceRecordByProjectId(string projectId)
|
||||
{
|
||||
return Funs.DB.JGZL_InsulationAcceptanceRecord.FirstOrDefault(e => e.ProjectId == projectId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/27/2026 15:44:50" ReportInfo.Modified="03/11/2026 11:05:03" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/27/2026 15:44:50" ReportInfo.Modified="03/11/2026 15:20:20" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFDjka4VrHzT3w+XpvQHBlbQ==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFc7GV+mEf+OjS7wTxH3cPGw==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="Part" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="MaterialName" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="02/11/2026 16:08:40" ReportInfo.Modified="02/24/2026 10:47:13" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="02/11/2026 16:08:40" ReportInfo.Modified="03/11/2026 14:56:16" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFsC30PRkG7utTyGuZhQ5BWQ==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFxyssE3uMUTaInomc+i4d7Q==">
|
||||
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
|
||||
<Column Name="ProjectName" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="HeatInsulationArea" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,72 @@
|
|||
SH/T 3503 -- J119
|
||||
隔热工程质量验收记录
|
||||
工程名称:
|
||||
|
||||
单位工程名称:管道安装工程
|
||||
隔
|
||||
热
|
||||
部
|
||||
位
|
||||
|
||||
隔
|
||||
热
|
||||
结
|
||||
构
|
||||
|
||||
检查项目与要求
|
||||
检查结果
|
||||
原材料符合设计及有关规范要求,具有出厂质量证明文件及复验报告
|
||||
|
||||
设备、管道按规定进行了压力试验,防腐涂层完毕
|
||||
|
||||
具有工序交接记录
|
||||
|
||||
管支、托架处的隔热层结构不影响活动面的自由伸缩
|
||||
|
||||
隔
|
||||
热
|
||||
层
|
||||
成型制品同层错缝、内外层压缝,伸缩缝留置正确,嵌缝充填或粘贴紧密、厚度偏差符合规范规定
|
||||
|
||||
|
||||
缠裹材料同层靠紧,内外层缠裹方向相反,接缝错开,厚度偏差符合规范规定
|
||||
|
||||
|
||||
散状材料和浇注材料,填充密实、均匀,厚度偏差符合规范规定
|
||||
|
||||
防
|
||||
潮
|
||||
层
|
||||
粘贴于隔热层上,无脱落和鼓包现象,表面平整,厚度符合规范规定
|
||||
|
||||
保
|
||||
护
|
||||
层
|
||||
金属保护层应压边,搭接缝、表面平整度符合规范规定,无脱壳和凹凸不平
|
||||
|
||||
|
||||
卷材保护层应紧贴表面,无褶皱和开裂
|
||||
|
||||
|
||||
抹面保护层应平整、光滑,端部棱角整齐,无显著裂纹,表面平整度符合规范规定
|
||||
|
||||
验收结论:
|
||||
|
||||
|
||||
|
||||
建设/监理单位
|
||||
总承包单位
|
||||
施工单位
|
||||
专业工程师:
|
||||
|
||||
|
||||
日期: 年 月 日
|
||||
专业工程师:
|
||||
|
||||
|
||||
日期: 年 月 日
|
||||
施工班组长:
|
||||
质量检验员:
|
||||
专业工程师:
|
||||
日期: 年 月 日
|
||||
|
||||
|
|
@ -99,6 +99,10 @@ namespace FineUIPro.Web.JGZL
|
|||
}
|
||||
else
|
||||
{
|
||||
txtAnticorrosionCurrentStatus.Text = "Sa2.5级";
|
||||
txtAnticorrosionPart.Text = "管道及管件外表面";
|
||||
txtAnticorrosionRequire.Text = "一道底漆两道中间漆一道面漆";
|
||||
|
||||
Model.JGZL_AnticorrosionEngineeringInspectionRecordCheckItems checkItem1 = new Model.JGZL_AnticorrosionEngineeringInspectionRecordCheckItems();
|
||||
checkItem1.CheckItemsId = SQLHelper.GetNewID();
|
||||
checkItem1.Sort = 1;
|
||||
|
|
@ -161,16 +165,19 @@ namespace FineUIPro.Web.JGZL
|
|||
Model.JGZL_AnticorrosionEngineeringInspectionRecordItem item1 = new Model.JGZL_AnticorrosionEngineeringInspectionRecordItem();
|
||||
item1.AnticorrosionItemId = SQLHelper.GetNewID();
|
||||
item1.Part = "底层";
|
||||
item1.MaterialName = "环氧富新底漆";
|
||||
recordItems.Add(item1);
|
||||
|
||||
Model.JGZL_AnticorrosionEngineeringInspectionRecordItem item2 = new Model.JGZL_AnticorrosionEngineeringInspectionRecordItem();
|
||||
item2.AnticorrosionItemId = SQLHelper.GetNewID();
|
||||
item2.Part = "中间层";
|
||||
item2.MaterialName = "环氧云铁中间漆";
|
||||
recordItems.Add(item2);
|
||||
|
||||
Model.JGZL_AnticorrosionEngineeringInspectionRecordItem item3 = new Model.JGZL_AnticorrosionEngineeringInspectionRecordItem();
|
||||
item3.AnticorrosionItemId = SQLHelper.GetNewID();
|
||||
item3.Part = "面层";
|
||||
item3.MaterialName = "脂肪族聚氨酯面漆";
|
||||
recordItems.Add(item3);
|
||||
|
||||
this.Grid1.DataSource = recordItems;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>隔热工程质量验收记录</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
@ -39,14 +39,77 @@
|
|||
<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="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="btnPrint" Text="隔热工程质量验收记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
|
||||
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true">
|
||||
</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:TextArea ID="txtHeatInsulationArea" runat="server" Label="隔热部位" LabelAlign="Right" MaxLength="500" Height="60px"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtInsulationStructure" runat="server" Label="隔热结构" LabelAlign="Right" MaxLength="500" Height="60px"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtAcceptanceConclusion" runat="server" Label="验收结论" LabelAlign="Right" MaxLength="500" Height="60px"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="检查项目与要求" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="InsulationAcceptanceRecordItemId" AllowCellEditing="true"
|
||||
EnableColumnLines="true" ClicksToEdit="1" DataIDField="InsulationAcceptanceRecordItemId" AllowSorting="true"
|
||||
SortField="CheckCode" SortDirection="ASC"
|
||||
EnableTextSelection="True" AutoScroll="true">
|
||||
<Columns>
|
||||
<f:RenderField HeaderText="序号" ColumnID="CheckCode" DataField="CheckCode" SortField="CheckCode"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px" Hidden="true">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtCheckCode" runat="server"></f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="检查项目与要求" ColumnID="CheckItem" DataField="CheckItem" SortField="CheckItem"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="100px" ExpandUnusedSpace="true">
|
||||
<Editor>
|
||||
<f:TextBox ID="txtCheckItem" runat="server"></f:TextBox>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="检查结果" ColumnID="CheckResult" DataField="CheckResult" SortField="CheckResult"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
|
||||
<Editor>
|
||||
<f:DropDownList ID="drpCheckResult" runat="server">
|
||||
<f:ListItem Value="合格" Text="合格" Selected="true" />
|
||||
<f:ListItem Value="不合格" Text="不合格" />
|
||||
<f:ListItem Value="/" Text="/" />
|
||||
</f:DropDownList>
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="主键" ColumnID="InsulationAcceptanceRecordItemId" DataField="InsulationAcceptanceRecordItemId" SortField="InsulationAcceptanceRecordItemId"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="140px" Hidden="true">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
<%--<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="隔热工程质量验收记录" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="InsulationAcceptanceRecordId" AllowCellEditing="true"
|
||||
EnableColumnLines="true" ClicksToEdit="1" DataIDField="InsulationAcceptanceRecordId" AllowSorting="true"
|
||||
SortField="CompileDate" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
|
||||
|
|
@ -81,35 +144,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>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,57 @@
|
|||
using BLL;
|
||||
using Aspose.Words;
|
||||
using BLL;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.IO;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class InsulationAcceptanceRecord : PageBase
|
||||
{
|
||||
#region 定义项
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
private string InsulationAcceptanceRecordId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["InsulationAcceptanceRecordId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["InsulationAcceptanceRecordId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
/// </summary>
|
||||
private string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ProjectId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ProjectId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 定义集合
|
||||
/// </summary>
|
||||
private static List<Model.JGZL_InsulationAcceptanceRecordItem> items = new List<Model.JGZL_InsulationAcceptanceRecordItem>();
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
|
|
@ -23,7 +62,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,9 +73,130 @@ namespace FineUIPro.Web.JGZL
|
|||
this.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
|
||||
this.InitTreeMenu();//加载树
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.BindGrid();
|
||||
this.ProjectId = this.tvControlItem.SelectedNodeID;
|
||||
DataInfo();
|
||||
//this.BindGrid();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
private void DataInfo()
|
||||
{
|
||||
items.Clear();
|
||||
this.InsulationAcceptanceRecordId = string.Empty;
|
||||
this.txtHeatInsulationArea.Text = string.Empty;
|
||||
this.txtInsulationStructure.Text = string.Empty;
|
||||
this.txtAcceptanceConclusion.Text = string.Empty;
|
||||
if (!string.IsNullOrEmpty(this.ProjectId))
|
||||
{
|
||||
var report = BLL.InsulationAcceptanceRecordService.GetInsulationAcceptanceRecordByProjectId(this.ProjectId);
|
||||
if (report != null)
|
||||
{
|
||||
this.InsulationAcceptanceRecordId = report.InsulationAcceptanceRecordId;
|
||||
this.txtHeatInsulationArea.Text = report.HeatInsulationArea;
|
||||
this.txtInsulationStructure.Text = report.InsulationStructure;
|
||||
this.txtAcceptanceConclusion.Text = report.AcceptanceConclusion;
|
||||
|
||||
items = BLL.InsulationAcceptanceRecordItemService.GetItemsByInsulationAcceptanceRecordId(this.InsulationAcceptanceRecordId);
|
||||
this.Grid1.DataSource = items;
|
||||
this.Grid1.DataBind();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitItemData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 加载默认明细
|
||||
/// </summary>
|
||||
private void InitItemData()
|
||||
{
|
||||
items.Clear();
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem.CheckCode = "1";
|
||||
newItem.CheckItem = "原材料符合设计及有关规范要求,具有出厂质量证明文件及复验报告";
|
||||
newItem.CheckResult = "合格";
|
||||
items.Add(newItem);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem2 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem2.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem2.CheckCode = "2";
|
||||
newItem2.CheckItem = "设备、管道按规定进行了压力试验,防腐涂层完毕";
|
||||
newItem2.CheckResult = "合格";
|
||||
items.Add(newItem2);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem3 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem3.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem3.CheckCode = "3";
|
||||
newItem3.CheckItem = "具有工序交接记录";
|
||||
newItem3.CheckResult = "合格";
|
||||
items.Add(newItem3);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem4 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem4.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem4.CheckCode = "4";
|
||||
newItem4.CheckItem = "管支、托架处的隔热层结构不影响活动面的自由伸缩";
|
||||
newItem4.CheckResult = "合格";
|
||||
items.Add(newItem4);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem5 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem5.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem5.CheckCode = "5";
|
||||
newItem5.CheckItem = "成型制品同层错缝、内外层压缝,伸缩缝留置正确,嵌缝充填或粘贴紧密、厚度偏差符合规范规定";
|
||||
newItem5.CheckResult = "合格";
|
||||
items.Add(newItem5);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem6 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem6.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem6.CheckCode = "6";
|
||||
newItem6.CheckItem = "缠裹材料同层靠紧,内外层缠裹方向相反,接缝错开,厚度偏差符合规范规定";
|
||||
newItem6.CheckResult = "合格";
|
||||
items.Add(newItem6);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem7 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem7.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem7.CheckCode = "7";
|
||||
newItem7.CheckItem = "散状材料和浇注材料,填充密实、均匀,厚度偏差符合规范规定";
|
||||
newItem7.CheckResult = "合格";
|
||||
items.Add(newItem7);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem8 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem8.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem8.CheckCode = "8";
|
||||
newItem8.CheckItem = "粘贴于隔热层上,无脱落和鼓包现象,表面平整,厚度符合规范规定";
|
||||
newItem8.CheckResult = "合格";
|
||||
items.Add(newItem8);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem9 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem9.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem9.CheckCode = "9";
|
||||
newItem9.CheckItem = "金属保护层应压边,搭接缝、表面平整度符合规范规定,无脱壳和凹凸不平";
|
||||
newItem9.CheckResult = "合格";
|
||||
items.Add(newItem9);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem10 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem10.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem10.CheckCode = "10";
|
||||
newItem10.CheckItem = "卷材保护层应紧贴表面,无褶皱和开裂";
|
||||
newItem10.CheckResult = "合格";
|
||||
items.Add(newItem10);
|
||||
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newItem11 = new Model.JGZL_InsulationAcceptanceRecordItem();
|
||||
newItem11.InsulationAcceptanceRecordItemId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecordItem));
|
||||
newItem11.CheckCode = "11";
|
||||
newItem11.CheckItem = "抹面保护层应平整、光滑,端部棱角整齐,无显著裂纹,表面平整度符合规范规定";
|
||||
newItem11.CheckResult = "合格";
|
||||
items.Add(newItem11);
|
||||
|
||||
this.Grid1.DataSource = items;
|
||||
this.Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载树项目
|
||||
|
|
@ -82,7 +242,9 @@ namespace FineUIPro.Web.JGZL
|
|||
{
|
||||
if (this.tvControlItem.SelectedNodeID != "0")
|
||||
{
|
||||
this.BindGrid();
|
||||
this.ProjectId = this.tvControlItem.SelectedNodeID;
|
||||
DataInfo();
|
||||
//this.BindGrid();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
@ -91,24 +253,24 @@ namespace FineUIPro.Web.JGZL
|
|||
/// <summary>
|
||||
/// 数据绑定
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT * from JGZL_InsulationAcceptanceRecord 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));
|
||||
}
|
||||
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();
|
||||
}
|
||||
//private void BindGrid()
|
||||
//{
|
||||
// string strSql = @"SELECT * from JGZL_InsulationAcceptanceRecord 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));
|
||||
// }
|
||||
// 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 分页排序
|
||||
|
|
@ -118,10 +280,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 排序
|
||||
|
|
@ -130,10 +292,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 分页选择下拉改变事件
|
||||
|
|
@ -142,11 +304,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
|
||||
|
||||
|
|
@ -158,9 +320,11 @@ namespace FineUIPro.Web.JGZL
|
|||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.ProjectId = this.drpProjectId.SelectedValue;
|
||||
this.InitTreeMenu();
|
||||
BindGrid();
|
||||
this.tvControlItem.SelectedNodeID = this.ProjectId;
|
||||
DataInfo();
|
||||
//BindGrid();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -170,7 +334,7 @@ namespace FineUIPro.Web.JGZL
|
|||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
//this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
@ -186,79 +350,83 @@ namespace FineUIPro.Web.JGZL
|
|||
|
||||
if (projectId != null)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
//if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
//{
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
var report = BLL.InsulationAcceptanceRecordService.GetInsulationAcceptanceRecordById(this.InsulationAcceptanceRecordId);
|
||||
if (report != null)
|
||||
{
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "MainData";
|
||||
dt.Columns.Add("ProjectName");
|
||||
dt.Columns.Add("HeatInsulationArea");
|
||||
dt.Columns.Add("InsulationStructure");
|
||||
dt.Columns.Add("AcceptanceConclusion");
|
||||
dt.Columns.Add("CompileDate");
|
||||
|
||||
var report = BLL.InsulationAcceptanceRecordService.GetInsulationAcceptanceRecordById(this.Grid1.SelectedRowID);
|
||||
if (report != null)
|
||||
var newRow = dt.NewRow();
|
||||
newRow["ProjectName"] = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName;
|
||||
newRow["HeatInsulationArea"] = report.HeatInsulationArea;
|
||||
newRow["InsulationStructure"] = report.InsulationStructure;
|
||||
newRow["AcceptanceConclusion"] = report.AcceptanceConclusion;
|
||||
string CompileDate = string.Format("{0:yyyy年MM月dd日}", report.CompileDate);
|
||||
newRow["CompileDate"] = CompileDate;
|
||||
dt.Rows.Add(newRow);
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
var itemList = BLL.InsulationAcceptanceRecordItemService.GetItemsByInsulationAcceptanceRecordId(this.InsulationAcceptanceRecordId);
|
||||
if (itemList.Count > 0)
|
||||
{
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "MainData";
|
||||
dt.Columns.Add("ProjectName");
|
||||
dt.Columns.Add("HeatInsulationArea");
|
||||
dt.Columns.Add("InsulationStructure");
|
||||
dt.Columns.Add("AcceptanceConclusion");
|
||||
dt.Columns.Add("CompileDate");
|
||||
//DataTable itemdt = new DataTable();
|
||||
//itemdt.TableName = "Data";
|
||||
//itemdt.Columns.Add("CheckCode");
|
||||
//itemdt.Columns.Add("CheckItem");
|
||||
//itemdt.Columns.Add("CheckResult");
|
||||
|
||||
var newRow = dt.NewRow();
|
||||
newRow["ProjectName"] = BLL.Base_ProjectService.GetProjectByProjectId(report.ProjectId).ProjectName;
|
||||
newRow["HeatInsulationArea"] = report.HeatInsulationArea;
|
||||
newRow["InsulationStructure"] = report.InsulationStructure;
|
||||
newRow["AcceptanceConclusion"] = report.AcceptanceConclusion;
|
||||
string CompileDate = string.Format("{0:yyyy年MM月dd日}", report.CompileDate);
|
||||
newRow["CompileDate"] = CompileDate;
|
||||
dt.Rows.Add(newRow);
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
//foreach (var item in itemList)
|
||||
//{
|
||||
// var newRow2 = itemdt.NewRow();
|
||||
// newRow2["CheckCode"] = item.CheckCode;
|
||||
// newRow2["CheckItem"] = item.CheckItem;
|
||||
// newRow2["CheckResult"] = item.CheckResult;
|
||||
// itemdt.Rows.Add(newRow2);
|
||||
//}
|
||||
//BLL.Common.FastReportService.AddFastreportTable(itemdt);
|
||||
|
||||
var itemList = BLL.InsulationAcceptanceRecordItemService.GetItemsByInsulationAcceptanceRecordId(this.Grid1.SelectedRowID);
|
||||
if (itemList.Count > 0)
|
||||
{
|
||||
//DataTable itemdt = new DataTable();
|
||||
//itemdt.TableName = "Data";
|
||||
//itemdt.Columns.Add("CheckCode");
|
||||
//itemdt.Columns.Add("CheckItem");
|
||||
//itemdt.Columns.Add("CheckResult");
|
||||
|
||||
//foreach (var item in itemList)
|
||||
//{
|
||||
// var newRow2 = itemdt.NewRow();
|
||||
// newRow2["CheckCode"] = item.CheckCode;
|
||||
// newRow2["CheckItem"] = item.CheckItem;
|
||||
// newRow2["CheckResult"] = item.CheckResult;
|
||||
// itemdt.Rows.Add(newRow2);
|
||||
//}
|
||||
//BLL.Common.FastReportService.AddFastreportTable(itemdt);
|
||||
|
||||
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("CheckResult1", itemList.Where(x => x.CheckCode == "1").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult2", itemList.Where(x => x.CheckCode == "2").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult3", itemList.Where(x => x.CheckCode == "3").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult4", itemList.Where(x => x.CheckCode == "4").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult5", itemList.Where(x => x.CheckCode == "5").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult6", itemList.Where(x => x.CheckCode == "6").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult7", itemList.Where(x => x.CheckCode == "7").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult8", itemList.Where(x => x.CheckCode == "8").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult9", itemList.Where(x => x.CheckCode == "9").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult10", itemList.Where(x => x.CheckCode == "10").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult11", itemList.Where(x => x.CheckCode == "11").FirstOrDefault().CheckResult);
|
||||
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)));
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("CheckResult1", itemList.Where(x => x.CheckCode == "1").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult2", itemList.Where(x => x.CheckCode == "2").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult3", itemList.Where(x => x.CheckCode == "3").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult4", itemList.Where(x => x.CheckCode == "4").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult5", itemList.Where(x => x.CheckCode == "5").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult6", itemList.Where(x => x.CheckCode == "6").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult7", itemList.Where(x => x.CheckCode == "7").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult8", itemList.Where(x => x.CheckCode == "8").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult9", itemList.Where(x => x.CheckCode == "9").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult10", itemList.Where(x => x.CheckCode == "10").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult11", itemList.Where(x => x.CheckCode == "11").FirstOrDefault().CheckResult);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
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
|
||||
//{
|
||||
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -274,140 +442,140 @@ 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("InsulationAcceptanceRecordEdit.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("InsulationAcceptanceRecordEdit.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_InsulationAcceptanceRecordMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InsulationAcceptanceRecordEdit.aspx?insulationAcceptanceRecordId={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_InsulationAcceptanceRecordMenuId, BLL.Const.BtnModify))
|
||||
// {
|
||||
// if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
// {
|
||||
// if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
// {
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InsulationAcceptanceRecordEdit.aspx?insulationAcceptanceRecordId={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_InsulationAcceptanceRecordMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InsulationAcceptanceRecordEdit.aspx?insulationAcceptanceRecordId={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_InsulationAcceptanceRecordMenuId, BLL.Const.BtnModify))
|
||||
// {
|
||||
// if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
// {
|
||||
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
// return;
|
||||
// }
|
||||
// PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InsulationAcceptanceRecordEdit.aspx?insulationAcceptanceRecordId={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_InsulationAcceptanceRecordMenuId, 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_InsulationAcceptanceRecordMenuId, 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.InsulationAcceptanceRecordItemService.DeleteItemByInsulationAcceptanceRecordId(rowID);
|
||||
BLL.InsulationAcceptanceRecordService.DeleteInsulationAcceptanceRecordById(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.InsulationAcceptanceRecordItemService.DeleteItemByInsulationAcceptanceRecordId(rowID);
|
||||
// BLL.InsulationAcceptanceRecordService.DeleteInsulationAcceptanceRecordById(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
|
||||
|
||||
|
|
@ -417,10 +585,199 @@ 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 保存
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();//加载树
|
||||
this.BindGrid();
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_InsulationAcceptanceRecordMenuId, Const.BtnSave))
|
||||
{
|
||||
Model.JGZL_InsulationAcceptanceRecord newReport = new Model.JGZL_InsulationAcceptanceRecord();
|
||||
newReport.HeatInsulationArea = this.txtHeatInsulationArea.Text.Trim();
|
||||
newReport.InsulationStructure = this.txtInsulationStructure.Text.Trim();
|
||||
newReport.AcceptanceConclusion = this.txtAcceptanceConclusion.Text.Trim();
|
||||
if (!string.IsNullOrEmpty(this.InsulationAcceptanceRecordId))
|
||||
{
|
||||
newReport.InsulationAcceptanceRecordId = this.InsulationAcceptanceRecordId;
|
||||
BLL.InsulationAcceptanceRecordService.UpdateInsulationAcceptanceRecord(newReport);
|
||||
}
|
||||
else
|
||||
{
|
||||
newReport.ProjectId = this.ProjectId;
|
||||
newReport.CompileMan = this.CurrUser.UserId;
|
||||
newReport.CompileDate = DateTime.Now;
|
||||
newReport.InsulationAcceptanceRecordId = SQLHelper.GetNewID(typeof(Model.JGZL_InsulationAcceptanceRecord));
|
||||
this.InsulationAcceptanceRecordId = newReport.InsulationAcceptanceRecordId;
|
||||
BLL.InsulationAcceptanceRecordService.AddInsulationAcceptanceRecord(newReport);
|
||||
}
|
||||
saveItem();
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
//PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 保存明细
|
||||
/// </summary>
|
||||
void saveItem()
|
||||
{
|
||||
BLL.InsulationAcceptanceRecordItemService.DeleteItemByInsulationAcceptanceRecordId(this.InsulationAcceptanceRecordId);
|
||||
//List<Model.JGZL_InsulationAcceptanceRecordItem> detailLists = new List<Model.JGZL_InsulationAcceptanceRecordItem>();
|
||||
JArray teamGroupData = Grid1.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
JObject values = teamGroupRow.Value<JObject>("values");
|
||||
int rowIndex = teamGroupRow.Value<int>("index");
|
||||
Model.JGZL_InsulationAcceptanceRecordItem newDetail = new Model.JGZL_InsulationAcceptanceRecordItem
|
||||
{
|
||||
InsulationAcceptanceRecordItemId = values.Value<string>("InsulationAcceptanceRecordItemId"),
|
||||
InsulationAcceptanceRecordId = this.InsulationAcceptanceRecordId,
|
||||
CheckCode = values.Value<string>("CheckCode"),
|
||||
CheckItem = values.Value<string>("CheckItem"),
|
||||
CheckResult = values.Value<string>("CheckResult")
|
||||
};
|
||||
BLL.InsulationAcceptanceRecordItemService.AddInsulationAcceptanceRecordItem(newDetail);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 导出按钮
|
||||
/// 导出按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnOut_Click(object sender, EventArgs e)
|
||||
{
|
||||
string rootPath = Server.MapPath("~/");
|
||||
string initTemplatePath = string.Empty;
|
||||
string uploadfilepath = string.Empty;
|
||||
string newUrl = string.Empty;
|
||||
string filePath = string.Empty;
|
||||
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
initTemplatePath = Const.JGZL_InsulationAcceptanceRecordUrl;
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
|
||||
newUrl = uploadfilepath.Replace("隔热工程质量验收记录导出模板", "隔热工程质量验收记录");
|
||||
if (File.Exists(newUrl))
|
||||
{
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
File.Copy(uploadfilepath, newUrl);
|
||||
Document doc = new Aspose.Words.Document(uploadfilepath);
|
||||
|
||||
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
|
||||
if (projectName != null)
|
||||
{
|
||||
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
|
||||
}
|
||||
Bookmark heatInsulationArea = doc.Range.Bookmarks["HeatInsulationArea"];
|
||||
if (heatInsulationArea != null)
|
||||
{
|
||||
heatInsulationArea.Text = this.txtHeatInsulationArea.Text;
|
||||
}
|
||||
Bookmark insulationStructure = doc.Range.Bookmarks["InsulationStructure"];
|
||||
if (insulationStructure != null)
|
||||
{
|
||||
insulationStructure.Text = this.txtInsulationStructure.Text;
|
||||
}
|
||||
Bookmark acceptanceConclusion = doc.Range.Bookmarks["AcceptanceConclusion"];
|
||||
if (acceptanceConclusion != null)
|
||||
{
|
||||
acceptanceConclusion.Text = this.txtAcceptanceConclusion.Text;
|
||||
}
|
||||
|
||||
|
||||
var itemList = BLL.InsulationAcceptanceRecordItemService.GetItemsByInsulationAcceptanceRecordId(this.InsulationAcceptanceRecordId);
|
||||
if (itemList.Count > 0)
|
||||
{
|
||||
Bookmark checkResult1 = doc.Range.Bookmarks["CheckResult1"];
|
||||
if (checkResult1 != null)
|
||||
{
|
||||
checkResult1.Text = itemList.Where(x => x.CheckCode == "1").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult2 = doc.Range.Bookmarks["CheckResult2"];
|
||||
if (checkResult2 != null)
|
||||
{
|
||||
checkResult2.Text = itemList.Where(x => x.CheckCode == "2").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult3 = doc.Range.Bookmarks["CheckResult3"];
|
||||
if (checkResult3 != null)
|
||||
{
|
||||
checkResult3.Text = itemList.Where(x => x.CheckCode == "3").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult4 = doc.Range.Bookmarks["CheckResult4"];
|
||||
if (checkResult4 != null)
|
||||
{
|
||||
checkResult4.Text = itemList.Where(x => x.CheckCode == "4").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult5 = doc.Range.Bookmarks["CheckResult5"];
|
||||
if (checkResult5 != null)
|
||||
{
|
||||
checkResult5.Text = itemList.Where(x => x.CheckCode == "5").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult6 = doc.Range.Bookmarks["CheckResult6"];
|
||||
if (checkResult6 != null)
|
||||
{
|
||||
checkResult6.Text = itemList.Where(x => x.CheckCode == "6").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult7 = doc.Range.Bookmarks["CheckResult7"];
|
||||
if (checkResult7 != null)
|
||||
{
|
||||
checkResult7.Text = itemList.Where(x => x.CheckCode == "7").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult8 = doc.Range.Bookmarks["CheckResult8"];
|
||||
if (checkResult8 != null)
|
||||
{
|
||||
checkResult8.Text = itemList.Where(x => x.CheckCode == "8").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult9 = doc.Range.Bookmarks["CheckResult9"];
|
||||
if (checkResult9 != null)
|
||||
{
|
||||
checkResult9.Text = itemList.Where(x => x.CheckCode == "9").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult10 = doc.Range.Bookmarks["CheckResult10"];
|
||||
if (checkResult10 != null)
|
||||
{
|
||||
checkResult10.Text = itemList.Where(x => x.CheckCode == "10").FirstOrDefault().CheckResult;
|
||||
}
|
||||
Bookmark checkResult11 = doc.Range.Bookmarks["CheckResult11"];
|
||||
if (checkResult11 != null)
|
||||
{
|
||||
checkResult11.Text = itemList.Where(x => x.CheckCode == "11").FirstOrDefault().CheckResult;
|
||||
}
|
||||
}
|
||||
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;
|
||||
}
|
||||
}
|
||||
#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 控件。
|
||||
|
|
@ -122,6 +122,51 @@ namespace FineUIPro.Web.JGZL
|
|||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// SimpleForm1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Form SimpleForm1;
|
||||
|
||||
/// <summary>
|
||||
/// txtHeatInsulationArea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtHeatInsulationArea;
|
||||
|
||||
/// <summary>
|
||||
/// txtInsulationStructure 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtInsulationStructure;
|
||||
|
||||
/// <summary>
|
||||
/// txtAcceptanceConclusion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtAcceptanceConclusion;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
|
|
@ -132,40 +177,31 @@ namespace FineUIPro.Web.JGZL
|
|||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// txtCheckCode 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
protected global::FineUIPro.TextBox txtCheckCode;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// txtCheckItem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
protected global::FineUIPro.TextBox txtCheckItem;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// drpCheckResult 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
protected global::FineUIPro.DropDownList drpCheckResult;
|
||||
|
||||
/// <summary>
|
||||
/// WindowPrint 控件。
|
||||
|
|
@ -175,32 +211,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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue