提交代码

This commit is contained in:
2024-11-27 15:21:14 +08:00
parent ef607782ee
commit 22809fa59f
23 changed files with 757 additions and 70 deletions
@@ -18,11 +18,11 @@
runat="server" BoxFlex="1" DataKeyNames="ConstructionRiskCheckId" AllowCellEditing="true"
ClicksToEdit="2" DataIDField="ConstructionRiskCheckId" AllowSorting="true" SortField="CheckDate"
SortDirection="DESC" OnSort="Grid1_Sort" EnableColumnLines="true" ForceFit="true"
AllowPaging="false" PageSize="1000"
AllowPaging="false" PageSize="1000" OnRowCommand="Grid1_RowCommand"
EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick" AllowFilters="true"
OnFilterChange="Grid1_FilterChange" OnRowDataBound="Grid1_RowDataBound" EnableTextSelection="True">
<Columns>
<f:TemplateField ColumnID="tfPageIndex" Width="45px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
<f:TemplateField ColumnID="tfPageIndex" Width="50px" HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center"
EnableLock="true" Locked="False">
<ItemTemplate>
<asp:Label ID="lblPageIndex" runat="server" Text='<%# Grid1.PageIndex * Grid1.PageSize + Container.DataItemIndex + 1 %>'></asp:Label>
@@ -45,6 +45,7 @@
<asp:Label ID="Label2" runat="server" Text='<%# ConvertRectification(Eval("Rectification")) %>'></asp:Label>
</ItemTemplate>
</f:TemplateField>
<f:LinkButtonField HeaderText="附件" ColumnID="download" Width="60px" Icon="ArrowDown" CommandName="download" TextAlign="Center" HeaderTextAlign="Center" />
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
@@ -56,6 +57,10 @@
Target="Parent" EnableResize="false" runat="server" IsModal="true" OnClose="Window1_Close"
Width="800px" Height="550">
</f:Window>
<f:Window ID="Window2" Title="文件查看" Hidden="true" EnableIFrame="true"
EnableMaximize="true" Target="Parent" EnableResize="false" runat="server" IsModal="true"
Width="680px" Height="480px">
</f:Window>
<f:Menu ID="Menu1" runat="server">
<Items>
<f:MenuButton ID="btnMenuModify" EnablePostBack="true" runat="server" Hidden="true" Text="修改" Icon="Pencil"