This commit is contained in:
2024-06-04 14:03:46 +08:00
parent d2af9745a6
commit 3bdc613bac
53 changed files with 2919 additions and 239 deletions
@@ -39,7 +39,8 @@
SortField="FC_Status" SortDirection="DESC" OnSort="Grid1_Sort"
AllowPaging="true" IsDatabasePaging="true" PageSize="15" OnPageIndexChange="Grid1_PageIndexChange"
AllowFilters="true" OnFilterChange="Grid1_FilterChange" OnRowDataBound="Grid1_RowDataBound"
EnableRowSelectEvent="true" OnRowSelect="Grid1_RowSelect">
EnableRowSelectEvent="true" OnRowSelect="Grid1_RowSelect" EnableRowDoubleClickEvent="true"
OnRowDoubleClick="Grid1_RowDoubleClick">
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
<Items>
@@ -57,6 +58,10 @@
<f:HiddenField runat="server" ID="hdFoType"></f:HiddenField>
<f:HiddenField runat="server" ID="hdQuetype"></f:HiddenField>
<f:DropDownList ID="drpValidContracts" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList_SelectedIndexChanged">
<f:ListItem Value="1" Text="Valid Contracts" />
<f:ListItem Value="2" Text="All Contracts" />
</f:DropDownList>
<f:TextBox ID="txtFO" runat="server" Label="FO" EmptyText="Search by FO." LabelAlign="Right" NextFocusControl="btnFind" LabelWidth="80px"></f:TextBox>
<f:DropDownList ID="drpContractor" runat="server" Label="Contractor" EnableEdit="true" LabelAlign="Right" NextFocusControl="btnFind"></f:DropDownList>
<f:Button ID="btnFind" runat="server" OnClick="btnFind_Click" Icon="SystemSearch"></f:Button>
@@ -545,7 +550,9 @@
</Filter>
</f:RenderField>
</Columns>
<Listeners>
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
</Listeners>
<PageItems>
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</f:ToolbarSeparator>
@@ -761,6 +768,10 @@
</f:Panel>
</Items>
</f:Panel>
<f:Window ID="Window0" Title="FC List" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="true" runat="server" IsModal="true"
Width="1400px" Height="660px">
</f:Window>
<f:Window ID="Window1" Title="营业执照" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="720px" Height="480px">
@@ -773,7 +784,20 @@
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px" OnClose="WindowAtt_Close"
Height="500px">
</f:Window>
<f:Window ID="WindowCopy" Title="拷贝资质" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
Width="360px" Height="240px">
</f:Window>
<f:Menu ID="Menu0" runat="server">
<f:MenuButton ID="btnMenuCopy" OnClick="btnMenuCopy_Click" EnablePostBack="true"
Icon="PageCopy" runat="server" Text="Copy">
</f:MenuButton>
<f:MenuButton ID="btnMenuView" OnClick="btnMenuView_Click" EnablePostBack="true"
Icon="Find" runat="server" Text="View">
</f:MenuButton>
</f:Menu>
<f:Menu ID="Menu1" runat="server">
<f:MenuButton ID="btnMenuEdit1" OnClick="btnMenuEdit1_Click" EnablePostBack="true"
Icon="BulletEdit" runat="server" Text="Modify" Hidden="true">
@@ -799,7 +823,7 @@
Icon="Delete" ConfirmText="Delete selected row ?" ConfirmTarget="Top" runat="server" Text="Delete" Hidden="true">
</f:MenuButton>
</f:Menu>
<f:Menu ID="Menu4" runat="server">
<f:Menu ID="Menu4" runat="server">
<f:MenuButton ID="btnMenuEdit4" OnClick="btnMenuEdit4_Click" EnablePostBack="true"
Icon="BulletEdit" runat="server" Text="Modify" Hidden="true">
</f:MenuButton>
@@ -809,6 +833,13 @@
</f:Menu>
</form>
<script type="text/javascript">
var menuID0 = '<%= Menu0.ClientID %>';
// 返回false,来阻止浏览器右键菜单
function onRowContextMenu(event, rowId) {
F(menuID0).show(); //showAt(event.pageX, event.pageY);
return false;
}
var menuID1 = '<%= Menu1.ClientID %>';
// 返回false,来阻止浏览器右键菜单
function onRowContextMenu1(event, rowId) {