1210-gaofei

This commit is contained in:
gaofei
2021-12-10 09:56:20 +08:00
parent f74ab99b9f
commit 92fec76ac4
10 changed files with 137 additions and 135 deletions
@@ -14,15 +14,19 @@
<f:Panel ID="Panel1" runat="server" Margin="5px" BodyPadding="5px" ShowBorder="false"
ShowHeader="false" Layout="VBox" BoxConfigAlign="Stretch">
<Items>
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="安全制度" EnableCollapse="true"
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="安全制度" EnableCollapse="true" ForceFit="true"
runat="server" BoxFlex="1" EnableColumnLines="true" DataKeyNames="SafetyInstitutionId"
AllowCellEditing="true" ClicksToEdit="2" DataIDField="SafetyInstitutionId" AllowSorting="true"
SortField="EffectiveDate" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
SortField="SafetyInstitutionCode" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
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>
<f:TextBox runat="server" Label="制度编号" ID="txtSafetyInstitutionCode" EmptyText="输入查询条件"
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px"
LabelAlign="right">
</f:TextBox>
<f:TextBox runat="server" Label="制度名称" ID="txtSafetyInstitutionName" EmptyText="输入查询条件"
AutoPostBack="true" OnTextChanged="TextBox_TextChanged" Width="250px" LabelWidth="80px"
LabelAlign="right">
@@ -53,7 +57,11 @@
<asp:Label ID="lblNumber" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:RenderField Width="140px" ColumnID="SafetyInstitutionName" DataField="SafetyInstitutionName" ExpandUnusedSpace="True"
<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"
SortField="SafetyInstitutionName" FieldType="String" HeaderText="制度名称" HeaderTextAlign="Center"
TextAlign="Left">
</f:RenderField>