85 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			85 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
| 
								 | 
							
								<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowCheckItem.aspx.cs" Inherits="FineUIPro.Web.Check.ShowCheckItem" %>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!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>
							 | 
						||
| 
								 | 
							
								        .customlabel span
							 | 
						||
| 
								 | 
							
								        {
							 | 
						||
| 
								 | 
							
								            color: red;
							 | 
						||
| 
								 | 
							
								            font-weight: bold;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								        
							 | 
						||
| 
								 | 
							
								        .f-grid-row .f-grid-cell-inner {
							 | 
						||
| 
								 | 
							
								            white-space: normal;
							 | 
						||
| 
								 | 
							
								            word-break: break-all;
							 | 
						||
| 
								 | 
							
								        }
							 | 
						||
| 
								 | 
							
								    </style>
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								    <form id="form1" runat="server">
							 | 
						||
| 
								 | 
							
								    <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
							 | 
						||
| 
								 | 
							
								    <f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
							 | 
						||
| 
								 | 
							
								        <Items>
							 | 
						||
| 
								 | 
							
								            <f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
							 | 
						||
| 
								 | 
							
								                EnableCollapse="true" Width="340" Title="检查项" ShowBorder="true"
							 | 
						||
| 
								 | 
							
								                ShowHeader="false" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
							 | 
						||
| 
								 | 
							
								                <Items>
							 | 
						||
| 
								 | 
							
								                    <f:Tree ID="tvCheckItemSet" Width="250px" Height="450px" KeepCurrentSelection="true"
							 | 
						||
| 
								 | 
							
								                        ShowHeader="false" OnNodeCommand="tvCheckItemSet_NodeCommand" runat="server"
							 | 
						||
| 
								 | 
							
								                        ShowBorder="false" EnableSingleClickExpand="true" EnableCheckBox="true">
							 | 
						||
| 
								 | 
							
								                    </f:Tree>
							 | 
						||
| 
								 | 
							
								                </Items>
							 | 
						||
| 
								 | 
							
								            </f:Panel>
							 | 
						||
| 
								 | 
							
								            <f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
							 | 
						||
| 
								 | 
							
								                Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="检查项明细"
							 | 
						||
| 
								 | 
							
								                AutoScroll="true">
							 | 
						||
| 
								 | 
							
								                <Items>
							 | 
						||
| 
								 | 
							
								                    <f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" runat="server"
							 | 
						||
| 
								 | 
							
								                        BoxFlex="1" DataKeyNames="CheckItemDetailId,CheckItemSetId" AllowCellEditing="true" ClicksToEdit="2"
							 | 
						||
| 
								 | 
							
								                        DataIDField="CheckItemDetailId" AllowSorting="true" SortField="SortIndex" SortDirection="ASC"
							 | 
						||
| 
								 | 
							
								                        OnSort="Grid1_Sort" AllowPaging="true" IsDatabasePaging="true" OnRowCommand="Grid1_RowCommand"
							 | 
						||
| 
								 | 
							
								                        PageSize="12" OnPageIndexChange="Grid1_PageIndexChange" EnableColumnLines="true"
							 | 
						||
| 
								 | 
							
								                        EnableTextSelection="True">
							 | 
						||
| 
								 | 
							
								                        <Toolbars>
							 | 
						||
| 
								 | 
							
								                            <f:Toolbar ID="Toolbar3" Position="Top" ToolbarAlign="Right" runat="server">
							 | 
						||
| 
								 | 
							
								                                <Items>
							 | 
						||
| 
								 | 
							
								                                    <f:Button ID="btnSave" ToolTip="确认" Icon="Accept" runat="server" OnClick="btnSave_Click">
							 | 
						||
| 
								 | 
							
								                                    </f:Button>
							 | 
						||
| 
								 | 
							
								                                </Items>
							 | 
						||
| 
								 | 
							
								                            </f:Toolbar>
							 | 
						||
| 
								 | 
							
								                        </Toolbars>
							 | 
						||
| 
								 | 
							
								                        <Columns>
							 | 
						||
| 
								 | 
							
								                            <f:CheckBoxField ColumnID="ckbIsSelected" Width="60px" RenderAsStaticField="false"
							 | 
						||
| 
								 | 
							
								                                AutoPostBack="true" CommandName="IsSelected" HeaderText="选择" HeaderTextAlign="Center" />
							 | 
						||
| 
								 | 
							
								                            <f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="60px" HeaderTextAlign="Center" TextAlign="Center"/>
							 | 
						||
| 
								 | 
							
								                            <f:RenderField Width="600px" ColumnID="CheckContent" DataField="CheckContent" SortField="CheckContent" ExpandUnusedSpace="true"
							 | 
						||
| 
								 | 
							
								                                FieldType="String" HeaderText="检查项目内容" HeaderTextAlign="Center" TextAlign="left">
							 | 
						||
| 
								 | 
							
								                            </f:RenderField>
							 | 
						||
| 
								 | 
							
								                        </Columns>
							 | 
						||
| 
								 | 
							
								                        <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="15" Value="15" />
							 | 
						||
| 
								 | 
							
								                                <f:ListItem Text="20" Value="20" />
							 | 
						||
| 
								 | 
							
								                                <f:ListItem Text="25" Value="25" />
							 | 
						||
| 
								 | 
							
								                                <f:ListItem Text="30" Value="30" />
							 | 
						||
| 
								 | 
							
								                                <f:ListItem Text="所有行" Value="100000" />
							 | 
						||
| 
								 | 
							
								                            </f:DropDownList>
							 | 
						||
| 
								 | 
							
								                        </PageItems>
							 | 
						||
| 
								 | 
							
								                    </f:Grid>
							 | 
						||
| 
								 | 
							
								                </Items>
							 | 
						||
| 
								 | 
							
								            </f:Panel>
							 | 
						||
| 
								 | 
							
								        </Items>
							 | 
						||
| 
								 | 
							
								    </f:Panel>
							 | 
						||
| 
								 | 
							
								    </form>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |