231 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			231 lines
		
	
	
		
			14 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConstructionRiskEdit.aspx.cs"
							 | 
						||
| 
								 | 
							
								    Inherits="FineUIPro.Web.HSSE.Hazard.ConstructionRiskEdit" ValidateRequest="false" %>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html>
							 | 
						||
| 
								 | 
							
								<html xmlns="http://www.w3.org/1999/xhtml">
							 | 
						||
| 
								 | 
							
								<head runat="server">
							 | 
						||
| 
								 | 
							
								    <title>施工作业风险</title>
							 | 
						||
| 
								 | 
							
								    <link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
							 | 
						||
| 
								 | 
							
								    <style type="text/css">
							 | 
						||
| 
								 | 
							
								        .lab {
							 | 
						||
| 
								 | 
							
								            font-size: small;
							 | 
						||
| 
								 | 
							
								            color: Red;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    </style>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <form id="form1" runat="server">
							 | 
						||
| 
								 | 
							
								        <f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
							 | 
						||
| 
								 | 
							
								        <f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
							 | 
						||
| 
								 | 
							
								            Layout="VBox" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
							 | 
						||
| 
								 | 
							
								            LabelAlign="Right">
							 | 
						||
| 
								 | 
							
								            <Rows>
							 | 
						||
| 
								 | 
							
								                <f:FormRow>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:DropDownList ID="drpUnit" runat="server" EnableEdit="true" Label="施工单位" LabelWidth="140px"
							 | 
						||
| 
								 | 
							
								                            AutoPostBack="true">
							 | 
						||
| 
								 | 
							
								                        </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                        <f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="本周开始日期" ID="dpDateA" LabelWidth="140px" AutoPostBack="true"
							 | 
						||
| 
								 | 
							
								                            ShowRedStar="true" Required="true" EnableDateSelectEvent="true" OnDateSelect="dpDateA_SelectedIndexChanged">
							 | 
						||
| 
								 | 
							
								                        </f:DatePicker>
							 | 
						||
| 
								 | 
							
								                        <f:DatePicker runat="server" DateFormatString="yyyy-MM-dd" Label="本周结束日期" ID="dpDateZ" LabelWidth="140px"
							 | 
						||
| 
								 | 
							
								                            ShowRedStar="true" Required="true">
							 | 
						||
| 
								 | 
							
								                        </f:DatePicker>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow ColumnWidths="15% 5% 80%">
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:Label runat="server" ID="txtC" LabelWidth="140px" Label="施工内容" ShowRedStar="true"></f:Label>
							 | 
						||
| 
								 | 
							
								                        <f:Button ID="btnNew" OnClick="btnNew_Click" Icon="Add" EnablePostBack="true" runat="server" ToolTip="选择施工内容">
							 | 
						||
| 
								 | 
							
								                        </f:Button>
							 | 
						||
| 
								 | 
							
								                        <f:Label runat="server" ID="txtConstructionContent"></f:Label>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:DropDownList ID="drpWorkArea" runat="server" EnableEdit="true" Label="单位工程" LabelWidth="140px" ShowRedStar="true">
							 | 
						||
| 
								 | 
							
								                        </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                        <f:DropDownList ID="drpRefLicense" runat="server" EnableEdit="true" Label="涉及的高风险作业" LabelWidth="140px" EnableMultiSelect="true"
							 | 
						||
| 
								 | 
							
								                            AutoPostBack="true" OnSelectedIndexChanged="drpRefLicense_SelectedIndexChanged">
							 | 
						||
| 
								 | 
							
								                        </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                        <f:DropDownList ID="drpRiskLevel" runat="server" EnableEdit="true" Label="风险等级" LabelWidth="140px" ShowRedStar="true"
							 | 
						||
| 
								 | 
							
								                            >
							 | 
						||
| 
								 | 
							
								                            <%--<f:ListItem Value="低风险" Text="低风险" />
							 | 
						||
| 
								 | 
							
								                             <f:ListItem Value="一般风险" Text="一般风险" />
							 | 
						||
| 
								 | 
							
								                             <f:ListItem Value="较大风险" Text="较大风险" />
							 | 
						||
| 
								 | 
							
								                             <f:ListItem Value="重大风险" Text="重大风险" />--%>
							 | 
						||
| 
								 | 
							
								                        </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:DropDownList ID="drpLicenseDes" runat="server" EnableEdit="true" Label="作业风险描述" EnableMultiSelect="true" LabelWidth="140px" ShowRedStar="true">
							 | 
						||
| 
								 | 
							
								                             <f:ListItem Value="物体打击" Text="物体打击" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="车辆伤害" Text="车辆伤害" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="机械伤害" Text="机械伤害" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="起重伤害" Text="起重伤害" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="触电" Text="触电" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="淹溺" Text="淹溺" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="灼烫" Text="灼烫" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="火灾" Text="火灾" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="高处坠落" Text="高处坠落" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="坍塌" Text="坍塌" />
							 | 
						||
| 
								 | 
							
								                             <f:ListItem Value="冒顶片帮" Text="冒顶片帮" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="透水" Text="透水" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="放炮" Text="放炮" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="火药爆炸" Text="火药爆炸" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="瓦斯爆炸" Text="瓦斯爆炸" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="锅炉爆炸" Text="锅炉爆炸" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="容器爆炸" Text="容器爆炸" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="其他爆炸" Text="其他爆炸" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="中毒和窒息" Text="中毒和窒息" />
							 | 
						||
| 
								 | 
							
								                            <f:ListItem Value="其他伤害" Text="其他伤害" />
							 | 
						||
| 
								 | 
							
								                        </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                <f:FormRow>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow>
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" runat="server"
							 | 
						||
| 
								 | 
							
								                            DataIDField="ControlId" DataKeyNames="ControlId" ForceFit="true"
							 | 
						||
| 
								 | 
							
								                            EnableMultiSelect="true" ShowGridHeader="true" EnableColumnLines="true" AllowSorting="true"
							 | 
						||
| 
								 | 
							
								                            SortField="ShowIndex" SortDirection="ASC" EnableRowDoubleClickEvent="true"
							 | 
						||
| 
								 | 
							
								                            >
							 | 
						||
| 
								 | 
							
								                            <Toolbars>
							 | 
						||
| 
								 | 
							
								                                <f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
							 | 
						||
| 
								 | 
							
								                                    <Items>
							 | 
						||
| 
								 | 
							
								                                        <f:Button ID="btnAdd" Icon="ShapeSquareSelect" Text="添加管控措施" runat="server" ToolTip="添加管控措施" ValidateForms="SimpleForm1" OnClick="btnAdd_Click">
							 | 
						||
| 
								 | 
							
								                                        </f:Button>
							 | 
						||
| 
								 | 
							
								                                    </Items>
							 | 
						||
| 
								 | 
							
								                                </f:Toolbar>
							 | 
						||
| 
								 | 
							
								                            </Toolbars>
							 | 
						||
| 
								 | 
							
								                            <Columns>
							 | 
						||
| 
								 | 
							
								                                <f:RowNumberField HeaderText="序号" Width="45px" HeaderTextAlign="Center" TextAlign="Center" />
							 | 
						||
| 
								 | 
							
								                                <f:RenderField Width="100px" ColumnID="Measures" DataField="Measures" FieldType="String" ExpandUnusedSpace="true"
							 | 
						||
| 
								 | 
							
								                                    HeaderText="管控措施" HeaderTextAlign="Center" TextAlign="Left">
							 | 
						||
| 
								 | 
							
								                                </f:RenderField>
							 | 
						||
| 
								 | 
							
								                                <f:RenderField Width="40px" ColumnID="CheckResult" DataField="CheckResult" FieldType="String" Hidden="true"
							 | 
						||
| 
								 | 
							
								                                    HeaderText="检查结果" HeaderTextAlign="Center" TextAlign="Center">
							 | 
						||
| 
								 | 
							
								                                </f:RenderField>
							 | 
						||
| 
								 | 
							
								                                <f:RenderField Width="40px" ColumnID="Rectification" DataField="Rectification" Hidden="true"
							 | 
						||
| 
								 | 
							
								                                    FieldType="String" HeaderText="环境因素" HeaderTextAlign="Center" TextAlign="Center">
							 | 
						||
| 
								 | 
							
								                                </f:RenderField>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                            </Columns>
							 | 
						||
| 
								 | 
							
								                        </f:Grid>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow ID="next">
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:ContentPanel ID="ContentPanel5" Title="施工作业风险审批流程设置" runat="server" ShowHeader="true" EnableCollapse="true"
							 | 
						||
| 
								 | 
							
								                            BodyPadding="0px">
							 | 
						||
| 
								 | 
							
								                            <f:Form ID="Form5" ShowBorder="false" ShowHeader="false" AutoScroll="true"
							 | 
						||
| 
								 | 
							
								                                BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
							 | 
						||
| 
								 | 
							
								                                <Rows>
							 | 
						||
| 
								 | 
							
								                                    <f:FormRow>
							 | 
						||
| 
								 | 
							
								                                        <Items>
							 | 
						||
| 
								 | 
							
								                                            <f:RadioButtonList runat="server" ID="rblIsAgree" Label="是否同意" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="rblIsAgree_SelectedIndexChanged">
							 | 
						||
| 
								 | 
							
								                                                <f:RadioItem Text="同意" Value="true" Selected="true" />
							 | 
						||
| 
								 | 
							
								                                                <f:RadioItem Text="不同意" Value="false" />
							 | 
						||
| 
								 | 
							
								                                            </f:RadioButtonList>
							 | 
						||
| 
								 | 
							
								                                            <f:Label runat="server" CssStyle="display:none"></f:Label>
							 | 
						||
| 
								 | 
							
								                                        </Items>
							 | 
						||
| 
								 | 
							
								                                    </f:FormRow>
							 | 
						||
| 
								 | 
							
								                                    <f:FormRow>
							 | 
						||
| 
								 | 
							
								                                        <Items>
							 | 
						||
| 
								 | 
							
								                                            <f:DropDownList ID="drpHandleType" OnSelectedIndexChanged="drpHandleType_SelectedIndexChanged" Readonly="true"
							 | 
						||
| 
								 | 
							
								                                                AutoPostBack="true" runat="server" Label="办理步骤" LabelAlign="Right" EnableEdit="true">
							 | 
						||
| 
								 | 
							
								                                            </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                                            <f:DropDownList ID="drpHandleMan" runat="server" Label="办理人员" Required="true" LabelAlign="Right" EnableEdit="true">
							 | 
						||
| 
								 | 
							
								                                            </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                                        </Items>
							 | 
						||
| 
								 | 
							
								                                    </f:FormRow>
							 | 
						||
| 
								 | 
							
								                                </Rows>
							 | 
						||
| 
								 | 
							
								                            </f:Form>
							 | 
						||
| 
								 | 
							
								                        </f:ContentPanel>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow ID="HideOptions">
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:TextArea ID="txtOpinions" runat="server" Label="我的意见" MaxLength="3000">
							 | 
						||
| 
								 | 
							
								                        </f:TextArea>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								                <f:FormRow ID="plApprove2">
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                        <f:ContentPanel Title="施工作业风险审批列表" ShowBorder="true"
							 | 
						||
| 
								 | 
							
								                            BodyPadding="10px" EnableCollapse="true" ShowHeader="true" AutoScroll="true"
							 | 
						||
| 
								 | 
							
								                            runat="server">
							 | 
						||
| 
								 | 
							
								                            <f:Grid ID="gvApprove" IsFluid="true" CssClass="blockpanel" ShowBorder="true" ShowHeader="false" runat="server" EnableCollapse="false"
							 | 
						||
| 
								 | 
							
								                                DataKeyNames="CheckControlApproveId" EnableColumnLines="true" ForceFit="true">
							 | 
						||
| 
								 | 
							
								                                <Columns>
							 | 
						||
| 
								 | 
							
								                                    <f:RowNumberField Width="20px" />
							 | 
						||
| 
								 | 
							
								                                    <f:TemplateField ColumnID="State" Width="250px" HeaderText="办理类型" HeaderTextAlign="Center" TextAlign="Center"
							 | 
						||
| 
								 | 
							
								                                        EnableLock="true" Locked="False">
							 | 
						||
| 
								 | 
							
								                                        <ItemTemplate>
							 | 
						||
| 
								 | 
							
								                                            <asp:Label ID="lbtype" runat="server" Text='<%# BLL.ConstructionRiskListService.ConvertState(Eval("ApproveType")) %>'></asp:Label>
							 | 
						||
| 
								 | 
							
								                                        </ItemTemplate>
							 | 
						||
| 
								 | 
							
								                                    </f:TemplateField>
							 | 
						||
| 
								 | 
							
								                                    <f:BoundField Width="180px" DataField="ApproveMan" HeaderTextAlign="Center" HeaderText="办理人员" TextAlign="Center" />
							 | 
						||
| 
								 | 
							
								                                    <f:BoundField Width="200px" DataField="ApproveDate" HeaderTextAlign="Center" TextAlign="Center" DataFormatString="{0:yyyy-MM-dd}" HeaderText="办理时间" />
							 | 
						||
| 
								 | 
							
								                                    <f:BoundField Width="180px" DataField="ApproveIdea" HeaderTextAlign="Center" TextAlign="Center" HeaderText="办理意见" />
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                                </Columns>
							 | 
						||
| 
								 | 
							
								                            </f:Grid>
							 | 
						||
| 
								 | 
							
								                        </f:ContentPanel>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:FormRow>
							 | 
						||
| 
								 | 
							
								            </Rows>
							 | 
						||
| 
								 | 
							
								            <Toolbars>
							 | 
						||
| 
								 | 
							
								                <f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
							 | 
						||
| 
								 | 
							
								                    <Items>
							 | 
						||
| 
								 | 
							
								                        <f:Label runat="server" ID="lbTemp">
							 | 
						||
| 
								 | 
							
								                        </f:Label>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								                        <f:ToolbarFill ID="ToolbarFill1" runat="server">
							 | 
						||
| 
								 | 
							
								                        </f:ToolbarFill>
							 | 
						||
| 
								 | 
							
								                        <f:TextBox runat="server" ID="hdCoordinate" Hidden="true"></f:TextBox>
							 | 
						||
| 
								 | 
							
								                        <f:TextBox runat="server" ID="hdConstructionContentId" Hidden="true"></f:TextBox>
							 | 
						||
| 
								 | 
							
								                        <f:TextBox runat="server" ID="hdConstructionRiskId" Hidden="true"></f:TextBox>
							 | 
						||
| 
								 | 
							
								                        <f:Button ID="btnMap" Icon="SystemSave" runat="server" Text="选择位置" ValidateForms="SimpleForm1"
							 | 
						||
| 
								 | 
							
								                            OnClick="btnMap_Click">
							 | 
						||
| 
								 | 
							
								                        </f:Button>
							 | 
						||
| 
								 | 
							
								                        <f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
							 | 
						||
| 
								 | 
							
								                            OnClick="btnSave_Click">
							 | 
						||
| 
								 | 
							
								                        </f:Button>
							 | 
						||
| 
								 | 
							
								                        <f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Text="提交" ValidateForms="SimpleForm1"
							 | 
						||
| 
								 | 
							
								                            OnClick="btnSubmit_Click">
							 | 
						||
| 
								 | 
							
								                        </f:Button>
							 | 
						||
| 
								 | 
							
								                        <f:Button ID="btnClose" EnablePostBack="false" Text="关闭" runat="server" Icon="SystemClose">
							 | 
						||
| 
								 | 
							
								                        </f:Button>
							 | 
						||
| 
								 | 
							
								                    </Items>
							 | 
						||
| 
								 | 
							
								                </f:Toolbar>
							 | 
						||
| 
								 | 
							
								            </Toolbars>
							 | 
						||
| 
								 | 
							
								        </f:Form>
							 | 
						||
| 
								 | 
							
								        <f:Window ID="Window1" Title="编辑管控措施" Hidden="true" EnableIFrame="true" EnableMaximize="true"
							 | 
						||
| 
								 | 
							
								            Target="Parent" EnableResize="false" runat="server" OnClose="Window1_Close" IsModal="true"
							 | 
						||
| 
								 | 
							
								            Width="1300px" Height="500px">
							 | 
						||
| 
								 | 
							
								        </f:Window>
							 | 
						||
| 
								 | 
							
								        <f:Window ID="Window2" Title="位置选择" Hidden="true" EnableIFrame="true" EnableMaximize="true"
							 | 
						||
| 
								 | 
							
								            Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window2_Close"
							 | 
						||
| 
								 | 
							
								            Width="860px" Height="660px">
							 | 
						||
| 
								 | 
							
								        </f:Window>
							 | 
						||
| 
								 | 
							
								        <f:Window ID="Window3" Title="选择施工内容" Hidden="true" EnableIFrame="true"
							 | 
						||
| 
								 | 
							
								            EnableMaximize="true" Target="Top" EnableResize="false" runat="server"
							 | 
						||
| 
								 | 
							
								            IsModal="true" Width="1300px" Height="620px" OnClose="Window3_Close">
							 | 
						||
| 
								 | 
							
								        </f:Window>
							 | 
						||
| 
								 | 
							
								    </form>
							 | 
						||
| 
								 | 
							
								    <script type="text/javascript">
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    </script>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |