| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SafetyInstitution.aspx.cs" Inherits="FineUIPro.Web.ZHGL.HSSESystem.SafetyInstitution" %> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <html xmlns="http://www.w3.org/1999/xhtml"> | 
					
						
							|  |  |  |  | <head runat="server"> | 
					
						
							|  |  |  |  | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | 
					
						
							|  |  |  |  |     <title>安全制度</title> | 
					
						
							|  |  |  |  |     <link href="../../res/css/common.css" rel="stylesheet" type="text/css" /> | 
					
						
							|  |  |  |  | </head> | 
					
						
							|  |  |  |  | <body> | 
					
						
							|  |  |  |  |     <form id="form1" runat="server"> | 
					
						
							|  |  |  |  |     <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" /> | 
					
						
							|  |  |  |  |     <f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false" | 
					
						
							|  |  |  |  |         ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch"> | 
					
						
							|  |  |  |  |         <Items> | 
					
						
							| 
									
										
										
										
											2021-12-10 09:56:20 +08:00
										 |  |  |  |             <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="安全制度" EnableCollapse="true" ForceFit="true" | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="SafetyInstitutionId" | 
					
						
							|  |  |  |  |                 AllowCellEditing="true" ClicksToEdit="2" DataIDField="SafetyInstitutionId" AllowSorting="true" | 
					
						
							| 
									
										
										
										
											2021-12-10 09:56:20 +08:00
										 |  |  |  |                 SortField="SafetyInstitutionCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true" | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" | 
					
						
							|  |  |  |  |                 EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" EnableTextSelection="True"> | 
					
						
							|  |  |  |  |                 <Toolbars> | 
					
						
							|  |  |  |  |                     <f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left"> | 
					
						
							|  |  |  |  |                         <Items> | 
					
						
							| 
									
										
										
										
											2021-12-10 09:56:20 +08:00
										 |  |  |  |                             <f:TextBox runat="server" Label="制度编号" ID="txtSafetyInstitutionCode" EmptyText="输入查询条件" | 
					
						
							|  |  |  |  |                                 AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px" | 
					
						
							|  |  |  |  |                                 LabelAlign="right"> | 
					
						
							|  |  |  |  |                             </f:TextBox> | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                             <f:TextBox runat="server" Label="制度名称" ID="txtSafetyInstitutionName" EmptyText="输入查询条件" | 
					
						
							|  |  |  |  |                                 AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px" | 
					
						
							|  |  |  |  |                                 LabelAlign="right"> | 
					
						
							|  |  |  |  |                             </f:TextBox> | 
					
						
							|  |  |  |  |                             <f:DatePicker ID="txtStartDate" runat="server" Label="发布日期" LabelAlign="Right" | 
					
						
							|  |  |  |  |                                 AutoPostBack="true" OnTextChanged="TextBox_TextChanged"> | 
					
						
							|  |  |  |  |                             </f:DatePicker> | 
					
						
							|  |  |  |  |                             <f:Label ID="lblTo" runat="server" Text="至"> | 
					
						
							|  |  |  |  |                             </f:Label> | 
					
						
							|  |  |  |  |                             <f:DatePicker ID="txtEndDate" runat="server" AutoPostBack="true" | 
					
						
							|  |  |  |  |                                 OnTextChanged="TextBox_TextChanged"> | 
					
						
							|  |  |  |  |                             </f:DatePicker> | 
					
						
							|  |  |  |  |                             <f:ToolbarFill ID="ToolbarFill1" runat="server"> | 
					
						
							|  |  |  |  |                             </f:ToolbarFill> | 
					
						
							|  |  |  |  |                             <f:Button ID="btnNew" ToolTip="新增" Icon="Add" EnablePostBack="false" Hidden="true" | 
					
						
							|  |  |  |  |                                 runat="server"> | 
					
						
							|  |  |  |  |                             </f:Button> | 
					
						
							|  |  |  |  |                             <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" ToolTip="导出" Icon="FolderUp" | 
					
						
							|  |  |  |  |                                 EnableAjax="false" DisableControlBeforePostBack="false"> | 
					
						
							|  |  |  |  |                             </f:Button> | 
					
						
							|  |  |  |  |                         </Items> | 
					
						
							|  |  |  |  |                     </f:Toolbar> | 
					
						
							|  |  |  |  |                 </Toolbars> | 
					
						
							|  |  |  |  |                 <Columns> | 
					
						
							|  |  |  |  |                     <f:TemplateField ColumnID="tfNumber" Width="50px" HeaderText="序号" HeaderTextAlign="Center" | 
					
						
							|  |  |  |  |                         TextAlign="Center"> | 
					
						
							|  |  |  |  |                         <ItemTemplate> | 
					
						
							|  |  |  |  |                             <asp:Label ID="lblNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label> | 
					
						
							|  |  |  |  |                         </ItemTemplate> | 
					
						
							|  |  |  |  |                     </f:TemplateField> | 
					
						
							| 
									
										
										
										
											2021-12-10 09:56:20 +08:00
										 |  |  |  |                     <f:RenderField Width="150px" ColumnID="SafetyInstitutionCode" DataField="SafetyInstitutionCode"  | 
					
						
							|  |  |  |  |                         SortField="SafetyInstitutionName" FieldType="String" HeaderText="制度编号" HeaderTextAlign="Center" | 
					
						
							|  |  |  |  |                         TextAlign="Left"> | 
					
						
							|  |  |  |  |                     </f:RenderField> | 
					
						
							|  |  |  |  |                     <f:RenderField Width="180px" ColumnID="SafetyInstitutionName" DataField="SafetyInstitutionName"  | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                         SortField="SafetyInstitutionName" FieldType="String" HeaderText="制度名称" HeaderTextAlign="Center" | 
					
						
							|  |  |  |  |                         TextAlign="Left"> | 
					
						
							|  |  |  |  |                     </f:RenderField> | 
					
						
							|  |  |  |  |                     <f:RenderField Width="100px" ColumnID="EffectiveDate" DataField="EffectiveDate" SortField="EffectiveDate" | 
					
						
							|  |  |  |  |                         FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderText="发布日期" | 
					
						
							|  |  |  |  |                         HeaderTextAlign="Center" TextAlign="Center"> | 
					
						
							|  |  |  |  |                     </f:RenderField> | 
					
						
							|  |  |  |  |                     <f:RenderField Width="200px" ColumnID="Scope" DataField="Scope" SortField="Scope" | 
					
						
							|  |  |  |  |                         FieldType="String" HeaderText="使用范围" HeaderTextAlign="Center" TextAlign="Left"> | 
					
						
							|  |  |  |  |                     </f:RenderField> | 
					
						
							|  |  |  |  |                     <f:RenderField Width="150px" ColumnID="Remark" DataField="Remark" SortField="Remark" | 
					
						
							|  |  |  |  |                         FieldType="String" HeaderText="备注" HeaderTextAlign="Center" TextAlign="Left"> | 
					
						
							|  |  |  |  |                     </f:RenderField> | 
					
						
							|  |  |  |  |                     <f:WindowField TextAlign="Left" Width="80px" WindowID="WindowAtt" HeaderText="附件" | 
					
						
							|  |  |  |  |                         Text="上传查看" ToolTip="附件上传查看" DataIFrameUrlFields="SafetyInstitutionId" DataIFrameUrlFormatString="../../AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/SafetyInstitutionAttachUrl&menuId=B0FDF8C2-A902-456A-8B5B-43E4B1C8BBE2" | 
					
						
							|  |  |  |  |                          HeaderTextAlign="Center" /> | 
					
						
							|  |  |  |  |                 </Columns> | 
					
						
							|  |  |  |  |                 <Listeners> | 
					
						
							|  |  |  |  |                     <f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" /> | 
					
						
							|  |  |  |  |                 </Listeners> | 
					
						
							|  |  |  |  |                 <PageItems> | 
					
						
							|  |  |  |  |                     <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server"> | 
					
						
							|  |  |  |  |                     </f:ToolbarSeparator> | 
					
						
							|  |  |  |  |                     <f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:"> | 
					
						
							|  |  |  |  |                     </f:ToolbarText> | 
					
						
							|  |  |  |  |                     <f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true" | 
					
						
							|  |  |  |  |                         OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged"> | 
					
						
							|  |  |  |  |                         <f:ListItem Text="10" Value="10" /> | 
					
						
							|  |  |  |  |                         <f:ListItem Text="15" Value="15" /> | 
					
						
							|  |  |  |  |                         <f:ListItem Text="20" Value="20" /> | 
					
						
							|  |  |  |  |                         <f:ListItem Text="25" Value="25" /> | 
					
						
							|  |  |  |  |                         <f:ListItem Text="所有行" Value="100000" /> | 
					
						
							|  |  |  |  |                     </f:DropDownList> | 
					
						
							|  |  |  |  |                 </PageItems> | 
					
						
							|  |  |  |  |             </f:Grid> | 
					
						
							|  |  |  |  |         </Items> | 
					
						
							|  |  |  |  |     </f:Panel> | 
					
						
							|  |  |  |  |     <f:Window ID="Window1" Title="安全制度" Hidden="true" EnableIFrame="true" EnableMaximize="true" | 
					
						
							|  |  |  |  |         Target="Parent" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true" | 
					
						
							|  |  |  |  |         Width="900px" Height="560px"> | 
					
						
							|  |  |  |  |     </f:Window> | 
					
						
							|  |  |  |  |     <f:Window ID="WindowAtt" Title="附件" Hidden="true" EnableIFrame="true" EnableMaximize="true" | 
					
						
							|  |  |  |  |         Target="Parent" EnableResize="true" runat="server" IsModal="true" Width="700px" | 
					
						
							|  |  |  |  |         Height="500px"> | 
					
						
							|  |  |  |  |     </f:Window> | 
					
						
							|  |  |  |  |     <f:Menu ID="Menu1" runat="server"> | 
					
						
							|  |  |  |  |         <f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" Icon="TableEdit" EnablePostBack="true" | 
					
						
							|  |  |  |  |             Hidden="true" runat="server" Text="编辑"> | 
					
						
							|  |  |  |  |         </f:MenuButton> | 
					
						
							|  |  |  |  |         <f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true" | 
					
						
							|  |  |  |  |             Hidden="true" Icon="Delete" ConfirmText="删除选中行?" ConfirmTarget="Parent" runat="server" | 
					
						
							|  |  |  |  |             Text="删除"> | 
					
						
							|  |  |  |  |         </f:MenuButton> | 
					
						
							|  |  |  |  |     </f:Menu> | 
					
						
							|  |  |  |  |     </form> | 
					
						
							|  |  |  |  |     <script type="text/javascript"> | 
					
						
							|  |  |  |  |         var menuID = '<%= Menu1.ClientID %>'; | 
					
						
							|  |  |  |  |         // 返回false,来阻止浏览器右键菜单 | 
					
						
							|  |  |  |  |         function onRowContextMenu(event, rowId) { | 
					
						
							|  |  |  |  |             F(menuID).show();  //showAt(event.pageX, event.pageY); | 
					
						
							|  |  |  |  |             return false; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         function reloadGrid() { | 
					
						
							|  |  |  |  |             __doPostBack(null, 'reloadGrid'); | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |     </script> | 
					
						
							|  |  |  |  | </body> | 
					
						
							|  |  |  |  | </html> |