升级
This commit is contained in:
@@ -64,11 +64,13 @@
|
||||
<f:RenderField Width="100px" ColumnID="IdentificationDate" DataField="IdentificationDate"
|
||||
SortField="IdentificationDate" FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd"
|
||||
HeaderText="评估时间" HeaderTextAlign="Center" TextAlign="Center">
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="100px" ColumnID="ControllingPersonName" DataField="ControllingPersonName"
|
||||
SortField="ControllingPersonName" FieldType="String" HeaderText="风险责任人" TextAlign="Left"
|
||||
HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
</f:RenderField>
|
||||
<f:TemplateField Width="130px" HeaderText="风险责任人" HeaderTextAlign="Center" TextAlign="Left"
|
||||
SortField="ControllingPersonName">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# BindControllingPerson(Eval("ControllingPerson")) %>' ToolTip='<%#BindControllingPerson(Eval("ControllingPerson")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:RenderField Width="90px" ColumnID="UserName" DataField="UserName" SortField="UserName"
|
||||
FieldType="String" HeaderText="评价人" TextAlign="Left" HeaderTextAlign="Center">
|
||||
</f:RenderField>
|
||||
|
||||
@@ -73,14 +73,13 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string strSql = "select HazardList.HazardListId,HazardList.VersionNo,HazardList.WorkStage,Users.UserName,HazardList.CompileDate,CodeRecords.Code AS HazardListCode,HazardList.WorkAreaName,HazardList.IdentificationDate,ControllingPersonUsers.UserName AS ControllingPersonName "
|
||||
string strSql = "select HazardList.HazardListId,HazardList.VersionNo,HazardList.WorkStage,Users.UserName,HazardList.CompileDate,CodeRecords.Code AS HazardListCode,HazardList.WorkAreaName,HazardList.IdentificationDate,HazardList.ControllingPerson "
|
||||
+ @" ,(CASE WHEN HazardList.States = " + BLL.Const.State_0 + " OR HazardList.States IS NULL THEN '待['+OperateUser.UserName+']提交' WHEN HazardList.States = " + BLL.Const.State_2 + " THEN '审核/审批完成' ELSE '待['+OperateUser.UserName+']办理' END) AS FlowOperateName"
|
||||
+ @" from Hazard_HazardList AS HazardList "
|
||||
+ @" LEFT JOIN Sys_FlowOperate AS FlowOperate ON HazardList.HazardListId=FlowOperate.DataId AND FlowOperate.IsClosed <> 1"
|
||||
+ @" LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId=OperateUser.UserId "
|
||||
+ @" LEFT JOIN Sys_User AS Users ON HazardList.CompileMan=Users.UserId "
|
||||
+ @" LEFT JOIN Sys_User AS ControllingPersonUsers ON HazardList.ControllingPerson=ControllingPersonUsers.UserId "
|
||||
+ @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON HazardList.HazardListId=CodeRecords.DataId WHERE 1=1 ";
|
||||
+ @" LEFT JOIN Sys_CodeRecords AS CodeRecords ON HazardList.HazardListId=CodeRecords.DataId WHERE 1=1 ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
strSql += " AND HazardList.ProjectId = @ProjectId";
|
||||
if (!string.IsNullOrEmpty(Request.Params["projectId"])) ///是否文件柜查看页面传项目值
|
||||
@@ -508,6 +507,19 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/ReportPrint/ExReportPrint.aspx?reportId={0}&&replaceParameter={1}&&varValue={2}", Const.HazardListImportantReportId, Grid1.SelectedRowID, "", "打印 - ")));
|
||||
}
|
||||
}
|
||||
|
||||
public string BindControllingPerson(object ids)
|
||||
{
|
||||
string res = "";
|
||||
|
||||
if (ids != null)
|
||||
{
|
||||
res = UserService.getUserNamesUserIds(ids);
|
||||
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
+38
-27
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Hazard {
|
||||
|
||||
|
||||
public partial class HazardList {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
|
||||
|
||||
public partial class HazardList
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// txtHazardListCode 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtHazardListCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnNew 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNew;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnHelp 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnHelp;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblVersionNo 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblVersionNo;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblWorkStage 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +121,16 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblWorkStage;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuAllOut 控件。
|
||||
/// </summary>
|
||||
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuAllOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuImportantOut 控件。
|
||||
/// </summary>
|
||||
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuImportantOut;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuModify 控件。
|
||||
/// </summary>
|
||||
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuModify;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDel 控件。
|
||||
/// </summary>
|
||||
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDel;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuAllPrint 控件。
|
||||
/// </summary>
|
||||
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuAllPrint;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuImportantPrint 控件。
|
||||
/// </summary>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="评估日期" ID="txtIdentificationDate"
|
||||
ShowRedStar="true" Required="true" LabelAlign="Right">
|
||||
</f:DatePicker>
|
||||
<f:DropDownList ID="drpControllingPerson" runat="server" Label="风险责任人" ShowRedStar="true"
|
||||
<f:DropDownList ID="drpControllingPerson" runat="server" Label="风险责任人" ShowRedStar="true" AutoSelectFirstItem="false" EnableMultiSelect="true" EnableCheckBoxSelect="true"
|
||||
Required="true" LabelAlign="Right">
|
||||
</f:DropDownList>
|
||||
<f:DatePicker ID="txtCompileDate" runat="server" Label="编制日期" LabelAlign="Right"
|
||||
@@ -198,7 +198,7 @@
|
||||
</Editor>
|
||||
</f:RenderField>
|
||||
<f:RenderField Width="50px" ColumnID="C" DataField="HazardJudge_C" FieldType="String"
|
||||
HeaderText="E" HeaderTextAlign="Center" TextAlign="Left" EnableColumnEdit="true">
|
||||
HeaderText="C" HeaderTextAlign="Center" TextAlign="Left" EnableColumnEdit="true">
|
||||
<Editor>
|
||||
<f:DropDownList ID="drpHazardJudge_C" runat="server" Label="">
|
||||
<f:ListItem Value="0" Text="-请选择-" />
|
||||
|
||||
@@ -152,7 +152,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", hazardList.CompileDate);
|
||||
if (!string.IsNullOrEmpty(hazardList.ControllingPerson))
|
||||
{
|
||||
this.drpControllingPerson.SelectedValue = hazardList.ControllingPerson;
|
||||
this.drpControllingPerson.SelectedValueArray = hazardList.ControllingPerson.Split(',');
|
||||
}
|
||||
this.txtIdentificationDate.Text = string.Format("{0:yyyy-MM-dd}", hazardList.IdentificationDate);
|
||||
this.txtWorkArea.Text = hazardList.WorkAreaName;
|
||||
@@ -187,7 +187,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
///编制人
|
||||
BLL.UserService.InitUserDropDownList(this.drpCompileMan, this.ProjectId, false);
|
||||
///控制责任人
|
||||
BLL.UserService.InitFlowOperateControlUserDropDownList(this.drpControllingPerson, this.ProjectId, string.Empty, true);
|
||||
BLL.UserService.InitFlowOperateControlUserDropDownList(this.drpControllingPerson, this.ProjectId, string.Empty, false);
|
||||
BLL.RiskLevelService.InitRiskLevelDropDownList(this.drpHazardLevel, true);
|
||||
BLL.RiskLevelService.InitRiskLevelDropDownListByRiskLevelName(this.nbG, true);
|
||||
|
||||
@@ -323,16 +323,20 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
string newWorkStages = string.Empty;
|
||||
string workStages = Session["workStages"].ToString();
|
||||
List<string> templates = workStages.Split('|').ToList();
|
||||
List<string> templates = workStages.Split(',').ToList();
|
||||
foreach (var item in templates)
|
||||
{
|
||||
Model.Technique_HazardList template = BLL.HazardListService.GetHazardListById(item.Split(',').ToList()[0]);
|
||||
Model.Base_RiskLevel riskLevel = BLL.RiskLevelService.GetRiskLevel(template.HazardLevel);
|
||||
Model.Technique_HazardList template = BLL.HazardListService.GetHazardListById(item.Split('|').ToList()[1]);
|
||||
Model.Base_RiskLevel riskLevel = null;
|
||||
if (!string.IsNullOrEmpty(template.HazardLevel))
|
||||
{
|
||||
riskLevel = BLL.RiskLevelService.GetRiskLevelByHazardLevel(int.Parse(template.HazardLevel));
|
||||
}
|
||||
Model.HSSE_HazardTemplate hazardTemplate = new Model.HSSE_HazardTemplate
|
||||
{
|
||||
HazardId = template.HazardId,
|
||||
HazardListTypeId = template.HazardListTypeId,
|
||||
WorkStage = item.Split(',').ToList()[1],
|
||||
WorkStage = item.Split('|').ToList()[0],
|
||||
HazardItems = template.HazardItems,
|
||||
DefectsType = template.DefectsType,
|
||||
MayLeadAccidents = template.MayLeadAccidents,
|
||||
@@ -348,7 +352,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
hazardTemplate.HazardLevel = riskLevel.RiskLevelName;
|
||||
}
|
||||
hazardTemplates.Add(hazardTemplate);
|
||||
workStageIds.Add(item.Split(',').ToList()[1]);//把工作阶段放入集合里
|
||||
workStageIds.Add(item.Split('|').ToList()[0]);//把工作阶段放入集合里
|
||||
|
||||
}
|
||||
//获取工作阶段加载到文本中
|
||||
@@ -615,9 +619,9 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
|
||||
hazardList.WorkAreaName = this.txtWorkArea.Text.Trim();
|
||||
hazardList.IdentificationDate = Funs.GetNewDateTime(this.txtIdentificationDate.Text.Trim());
|
||||
if (this.drpControllingPerson.SelectedValue != BLL.Const._Null)
|
||||
if (this.drpControllingPerson.SelectedValueArray !=null && this.drpControllingPerson.SelectedValueArray.Count()>0)
|
||||
{
|
||||
hazardList.ControllingPerson = this.drpControllingPerson.SelectedValue;
|
||||
hazardList.ControllingPerson = string.Join(",", this.drpControllingPerson.SelectedValue);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(HazardListId))
|
||||
{
|
||||
|
||||
@@ -16,9 +16,11 @@
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="250" Title="危险源清单" TitleToolTip="危险源清单" ShowBorder="true"
|
||||
ShowHeader="false" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
||||
<Items>
|
||||
<f:Tree ID="trHazardListType" Width="240px" EnableCollapse="true" ShowHeader="false"
|
||||
Title="危险源清单" OnNodeCommand="trHazardListType_NodeCommand" AutoLeafIdentification="true"
|
||||
<Items>
|
||||
|
||||
<f:Tree ID="trHazardListType" Width="240px" EnableCollapse="true" ShowHeader="false" CascadeCheck="true" OnNodeCheck="trHazardListType_NodeCheck"
|
||||
Title="危险源清单" OnNodeCommand="trHazardListType_NodeCommand" AutoLeafIdentification="true" EnableMultiSelect="true" EnableCheckBox="true"
|
||||
|
||||
runat="server" EnableTextSelection="True">
|
||||
</f:Tree>
|
||||
</Items>
|
||||
@@ -28,8 +30,8 @@
|
||||
Layout="VBox">
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" Width="870px" ShowBorder="true" ShowHeader="false" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="HazardId" DataIDField="HazardId" AllowSorting="true" SortField="HazardCode" SortDirection="ASC"
|
||||
OnRowCommand="Grid1_RowCommand" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="id" DataIDField="id" AllowSorting="true" SortField="wid,HazardCode" SortDirection="ASC"
|
||||
OnRowCommand="Grid1_RowCommand" OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true"
|
||||
PageSize="10" EnableColumnLines="true" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True">
|
||||
<Toolbars>
|
||||
@@ -57,6 +59,12 @@
|
||||
<Columns>
|
||||
<f:CheckBoxField ColumnID="ckbIsSelected" Width="60px" RenderAsStaticField="false"
|
||||
AutoPostBack="true" CommandName="IsSelected" HeaderText="选择" HeaderTextAlign="Center" />
|
||||
<f:TemplateField Width="130px" HeaderText="代码" HeaderTextAlign="Center" TextAlign="Left"
|
||||
SortField="HazardCode">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="Label1" runat="server" Text='<%# BindWorkStages(Eval("wid")) %>' ToolTip='<%#BindWorkStages(Eval("wid")) %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</f:TemplateField>
|
||||
<f:TemplateField Width="130px" HeaderText="代码" HeaderTextAlign="Center" TextAlign="Left"
|
||||
SortField="HazardCode">
|
||||
<ItemTemplate>
|
||||
@@ -159,6 +167,16 @@
|
||||
function reloadGrid() {
|
||||
__doPostBack(null, 'reloadGrid');
|
||||
}
|
||||
|
||||
|
||||
$(function () {
|
||||
$('i').on('click',
|
||||
function () {
|
||||
debugger
|
||||
__doPostBack(null, 'trHazardListType_NodeCheck');
|
||||
}
|
||||
)
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using BLL;
|
||||
using Aspose.Words.Lists;
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
@@ -43,7 +44,8 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
/// <summary>
|
||||
/// 定义集合
|
||||
/// </summary>
|
||||
private static List<string> list = new List<string>();
|
||||
private static HashSet<string> list = new HashSet<string>();
|
||||
private static HashSet<string> listNoSelected = new HashSet<string>();
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -58,13 +60,14 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
if (!IsPostBack)
|
||||
{
|
||||
Funs.DropDownPageSize(this.ddlPageSize);
|
||||
list = new List<string>();
|
||||
WorkStageService.InitWorkPostDropDownList(this.drpWorkStages, true);
|
||||
list = new HashSet<string>();
|
||||
listNoSelected= new HashSet<string>();
|
||||
WorkStageService.InitWorkPostDropDownList(this.drpWorkStages, false);
|
||||
this.HazardListId = Request.Params["HazardListId"];
|
||||
this.WorkStageIds = Request.Params["WorkStageIds"];
|
||||
if (!string.IsNullOrEmpty(this.WorkStageIds))
|
||||
{
|
||||
this.drpWorkStages.SelectedValueArray = this.WorkStageIds.Split(',');
|
||||
this.drpWorkStages.SelectedValueArray = this.WorkStageIds.Split(',');
|
||||
}
|
||||
hazardSelectedItems = BLL.Hazard_HazardSelectedItemService.GetHazardSelectedItemsByHazardListId(this.HazardListId);
|
||||
foreach (var item in hazardSelectedItems)
|
||||
@@ -136,6 +139,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
Text = "危险源清单",
|
||||
NodeID = "0",
|
||||
EnableCheckEvent = true,
|
||||
Expanded = true
|
||||
};
|
||||
this.trHazardListType.Nodes.Add(rootNode);
|
||||
@@ -147,6 +151,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
Text = works.FirstOrDefault(x => x.WorkStageId == item).WorkStageName,
|
||||
NodeID = item,
|
||||
EnableCheckEvent = true,
|
||||
CommandArgument = item
|
||||
};
|
||||
rootNode.Nodes.Add(newNode);
|
||||
@@ -155,7 +160,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
}
|
||||
|
||||
private void BoundTree(TreeNode node, string supHazardListTypeId)
|
||||
{
|
||||
{
|
||||
var dt = GetNewHazardListType(node, supHazardListTypeId);
|
||||
if (dt.Count() > 0)
|
||||
{
|
||||
@@ -168,6 +173,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
ToolTip = dr.HazardListTypeName,
|
||||
NodeID = node.NodeID + "#" + dr.HazardListTypeId,
|
||||
CommandArgument = node.CommandArgument,
|
||||
EnableCheckEvent = true,
|
||||
EnableClickEvent = true
|
||||
};
|
||||
node.Nodes.Add(tn);
|
||||
@@ -249,46 +255,84 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
string nodeId = this.trHazardListType.SelectedNode.NodeID;
|
||||
if (!string.IsNullOrEmpty(nodeId) && nodeId.Contains("#"))
|
||||
string[] nodeIds = this.trHazardListType.GetCheckedNodeIDs();
|
||||
Dictionary<string, List<string>> ids = new Dictionary<string, List<string>>();
|
||||
foreach (var nodeId in nodeIds)
|
||||
{
|
||||
nodeId = nodeId.Substring(nodeId.LastIndexOf('#') + 1);
|
||||
}
|
||||
string strSql = @"SELECT H.HazardId,T.HazardListTypeId,T.HazardListTypeCode,T.HazardListTypeName,H.HazardCode,H.HazardItems,H.DefectsType,"
|
||||
+ @" H.MayLeadAccidents,H.HelperMethod,H.HazardJudge_L,H.HazardJudge_E,H.HazardJudge_C,H.HazardJudge_D,RiskLevel.RiskLevelName AS HazardLevel,"
|
||||
+ @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.UserName AS CompileManName,UR.UserName AS AuditManName"
|
||||
+ @" FROM Technique_HazardList AS H"
|
||||
+ @" LEFT JOIN Technique_HazardListType AS T ON T.HazardListTypeId = H.HazardListTypeId"
|
||||
+ @" LEFT JOIN Sys_User AS U ON U.UserId = H.CompileMan"
|
||||
+ @" LEFT JOIN Sys_User AS UR ON UR.UserId = H.AuditMan"
|
||||
+ @" LEFT JOIN Base_RiskLevel AS RiskLevel ON RiskLevel.RiskLevelId = H.HazardLevel "
|
||||
+ @" WHERE T.HazardListTypeId = @HazardListTypeId ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>
|
||||
{
|
||||
new SqlParameter("@HazardListTypeId", nodeId),
|
||||
};
|
||||
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
if (list.Count() > 0)
|
||||
{
|
||||
for (int i = 0; i < Grid1.Rows.Count; i++)
|
||||
if (!string.IsNullOrEmpty(nodeId) && nodeId.Contains("#"))
|
||||
{
|
||||
string id = Grid1.DataKeys[i][0].ToString();
|
||||
if (list.Contains(id))
|
||||
string wid = nodeId.Substring(0, nodeId.IndexOf('#'));
|
||||
|
||||
string nid = nodeId.Substring(nodeId.LastIndexOf('#') + 1);
|
||||
if (ids.ContainsKey(wid))
|
||||
{
|
||||
//CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected");
|
||||
//checkField.SetCheckedState(i, true);
|
||||
Grid1.Rows[i].Values[0] = true;
|
||||
ids[wid].Add(nid);
|
||||
}
|
||||
else
|
||||
{
|
||||
ids.Add(wid, new List<string>());
|
||||
ids[wid].Add(nid);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ids.Count > 0)
|
||||
{
|
||||
int ii = 0;
|
||||
string strSql = "";
|
||||
|
||||
foreach (string key in ids.Keys)
|
||||
{
|
||||
var idStr = string.Join("','", ids[key].ToArray());
|
||||
strSql += @"SELECT '"+ key + "|'+ H.HazardId id, '" + key + @"' wid, H.HazardId,T.HazardListTypeId,T.HazardListTypeCode,T.HazardListTypeName,H.HazardCode,H.HazardItems,H.DefectsType,"
|
||||
+ @" H.MayLeadAccidents,H.HelperMethod,H.HazardJudge_L,H.HazardJudge_E,H.HazardJudge_C,H.HazardJudge_D,RiskLevel.RiskLevelName AS HazardLevel,"
|
||||
+ @" H.ControlMeasures,H.CompileMan,H.CompileDate,H.AuditMan,H.AuditDate,H.IsPass,U.UserName AS CompileManName,UR.UserName AS AuditManName"
|
||||
+ @" FROM Technique_HazardList AS H"
|
||||
+ @" LEFT JOIN Technique_HazardListType AS T ON T.HazardListTypeId = H.HazardListTypeId"
|
||||
+ @" LEFT JOIN Sys_User AS U ON U.UserId = H.CompileMan"
|
||||
+ @" LEFT JOIN Sys_User AS UR ON UR.UserId = H.AuditMan"
|
||||
+ @" LEFT JOIN Base_RiskLevel AS RiskLevel ON RiskLevel.RiskLevel= H.HazardLevel "
|
||||
;
|
||||
strSql += @" WHERE T.HazardListTypeId in ('" + idStr + "') ";
|
||||
if (ii != (ids.Count - 1))
|
||||
{
|
||||
strSql += " union all ";
|
||||
}
|
||||
ii++;
|
||||
}
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, null);
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
list.Clear();
|
||||
foreach (DataRow row in tb.Rows)
|
||||
{
|
||||
if (!listNoSelected.Contains(row["id"].ToString()))
|
||||
{
|
||||
list.Add(row["id"].ToString());
|
||||
}
|
||||
|
||||
}
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
if (list.Count() > 0)
|
||||
{
|
||||
for (int i = 0; i < Grid1.Rows.Count; i++)
|
||||
{
|
||||
string id = Grid1.DataKeys[i][0].ToString();
|
||||
if (list.Contains(id))
|
||||
{
|
||||
CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected");
|
||||
checkField.SetCheckedState(i, true);
|
||||
///Grid1.Rows[i].Values[0] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Grid1.RecordCount = 0;
|
||||
Grid1.DataSource = null;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -376,7 +420,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
|
||||
{
|
||||
GetHazardSelectedItem();
|
||||
string rowID = Grid1.DataKeys[e.RowIndex][0].ToString() + "," + this.trHazardListType.SelectedNode.CommandArgument;
|
||||
string rowID = Grid1.DataKeys[e.RowIndex][0].ToString();
|
||||
if (e.CommandName == "IsSelected")
|
||||
{
|
||||
CheckBoxField checkField = (CheckBoxField)Grid1.FindColumn("ckbIsSelected");
|
||||
@@ -386,6 +430,11 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
list.Add(rowID);
|
||||
}
|
||||
if (listNoSelected.Contains(rowID))
|
||||
{
|
||||
listNoSelected.Remove(rowID);
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -393,6 +442,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
list.Remove(rowID);
|
||||
}
|
||||
listNoSelected.Add(rowID);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -465,7 +515,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
var getD= BLL.HazardListService.GetHazardListById(rowID);
|
||||
var getD = BLL.HazardListService.GetHazardListById(rowID);
|
||||
if (getD != null)
|
||||
{
|
||||
if (BLL.Hazard_HazardSelectedItemService.GetHazardSelectedItemByHazardId(rowID) != null)
|
||||
@@ -475,7 +525,7 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
}
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, getD.HazardCode, getD.HazardId, BLL.Const.HazardListMenuId, BLL.Const.BtnDelete);
|
||||
BLL.HazardListService.DeleteHazardListById(rowID);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
BindGrid();
|
||||
@@ -510,14 +560,14 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
return;
|
||||
}
|
||||
string ids = string.Empty;
|
||||
|
||||
|
||||
foreach (var item in list)
|
||||
{
|
||||
ids += item + "|";
|
||||
ids += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(ids))
|
||||
{
|
||||
ids = ids.Substring(0, ids.LastIndexOf("|"));
|
||||
ids = ids.Substring(0, ids.LastIndexOf(","));
|
||||
Session["workStages"] = ids;
|
||||
}
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
@@ -574,5 +624,27 @@ namespace FineUIPro.Web.HSSE.Hazard
|
||||
InitTreeMenu();
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void trHazardListType_NodeCheck(object sender, TreeCheckEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public string BindWorkStages(object wid)
|
||||
{
|
||||
string res = "";
|
||||
|
||||
if (wid != null)
|
||||
{
|
||||
var w = Funs.DB.Base_WorkStage.FirstOrDefault(x => x.WorkStageId == wid.ToString());
|
||||
if (w != null)
|
||||
{
|
||||
res = w.WorkStageName;
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
}
|
||||
}
|
||||
+42
-31
@@ -7,11 +7,13 @@
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Hazard {
|
||||
|
||||
|
||||
public partial class HazardTemplate {
|
||||
|
||||
namespace FineUIPro.Web.HSSE.Hazard
|
||||
{
|
||||
|
||||
|
||||
public partial class HazardTemplate
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// </summary>
|
||||
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// trHazardListType 控件。
|
||||
/// </summary>
|
||||
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree trHazardListType;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// panelCenterRegion 控件。
|
||||
/// </summary>
|
||||
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelCenterRegion;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar3 控件。
|
||||
/// </summary>
|
||||
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar3;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// drpWorkStages 控件。
|
||||
/// </summary>
|
||||
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpWorkStages;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// rblIsCompany 控件。
|
||||
/// </summary>
|
||||
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RadioButtonList rblIsCompany;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnNewDetail 控件。
|
||||
/// </summary>
|
||||
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnNewDetail;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
@@ -128,7 +130,16 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// lblHazardCode 控件。
|
||||
/// </summary>
|
||||
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblHazardCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblHazardListTypeCode 控件。
|
||||
/// </summary>
|
||||
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblHazardListTypeCode;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblHazardItems 控件。
|
||||
/// </summary>
|
||||
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblHazardItems;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblDefectsType 控件。
|
||||
/// </summary>
|
||||
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblDefectsType;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblMayLeadAccidents 控件。
|
||||
/// </summary>
|
||||
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblMayLeadAccidents;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblHelperMethod 控件。
|
||||
/// </summary>
|
||||
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblHelperMethod;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// lblControlMeasures 控件。
|
||||
/// </summary>
|
||||
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblControlMeasures;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
@@ -218,7 +229,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Window2 控件。
|
||||
/// </summary>
|
||||
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window2;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
@@ -236,7 +247,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
@@ -245,7 +256,7 @@ namespace FineUIPro.Web.HSSE.Hazard {
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user