- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AuditSelect.aspx.cs" Inherits="SysManage_AuditSelect" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <link href="../Workflow/style/gridStyle.css"rel="stylesheet" type="text/css" />
- <script src="../js/calendar.js" type="text/javascript"></script>
- <title>芜湖供电系统工程项目管理子系统</title>
- <script type="text/javascript">
- function modelesswin(url,mwidth,mheight)
- {
- if (document.all&&window.print)
- window.showModalDialog(url,"","help:0;dialogWidth:"+mwidth+"px;dialogHeight:"+mheight+"px;status=no,scoll=no;");
- window.location.replace(window.location.href);
- }
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr>
- <td bgColor="#f7f7f7" width="100%" height="25px">
- <strong> 访问控制审核查询</strong>
- </td>
- </tr>
- <tr>
- <td valign="bottom">
- <asp:DropDownList ID="DDL_Condition" runat="server" Width="100px" OnSelectedIndexChanged="DDL_Condition_SelectedIndexChanged" AutoPostBack="True">
- <asp:ListItem Value="0" Text="---请选择---" Selected="True"></asp:ListItem>
- <asp:ListItem Value="1" Text="IP地址"></asp:ListItem>
- <asp:ListItem Value="2" Text="用户帐号"></asp:ListItem>
- <asp:ListItem Value="3" Text="用户名称"></asp:ListItem>
- <asp:ListItem Value="4" Text="组织机构"></asp:ListItem>
- <asp:ListItem Value="5" Text="访问时间"></asp:ListItem>
- </asp:DropDownList>
-
- <asp:TextBox ID="TB_Condition" runat="server" Width="210px" Visible="true"></asp:TextBox>
-
- <asp:TextBox ID="TB_StartTime" runat="server" Width="130px" Visible="false" onfocus="setday(this)"></asp:TextBox>
-
- <asp:TextBox ID="TB_EndTime" runat="server" Width="130px" Visible="false" onfocus="setday(this)"></asp:TextBox>
-
- <asp:ImageButton ID="IB_Search" ImageUrl="~/Images/Search.gif" ToolTip=" 查找" runat="server" OnClick="IB_Search_Click" />
- </td>
- </tr>
- <tr>
- <td width="100%" valign="top">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="AuditID" OnRowDataBound="GridView1_RowDataBound" Width="100%"
- OnRowDeleting="GridView1_RowDeleting" CellSpacing="1" CellPadding="0" BackColor="#CDCDCF"
- BorderWidth="0px" CssClass="Grid" OnPageIndexChanging="GridView1_PageIndexChanging" SelectedRowStyle-CssClass="SelectedRow" HeaderStyle-CssClass="GridHeader" RowStyle-CssClass="HeadingCellText"
- FooterStyle-CssClass="GridFooter" ShowFooter="True" AllowPaging="True" AllowSorting="True" OnSorting="GridView1_Sorting">
- <AlternatingRowStyle BackColor="#F0F0F0" />
- <RowStyle Height="25px" BackColor="#F9FAFC" CssClass="HeadingCellText" />
- <HeaderStyle Height="25px" BackColor="#DFDFDF" CssClass="GridHeader" />
- <Columns>
- <asp:BoundField DataField="AuditID" HeaderText="审核ID" Visible="False">
- </asp:BoundField>
- <asp:BoundField DataField="IPAddress" HeaderText="IP地址">
- </asp:BoundField>
- <asp:BoundField DataField="SessionID" HeaderText="会话ID" Visible="False">
- </asp:BoundField>
- <asp:BoundField DataField="Operation" HeaderText="操作">
- </asp:BoundField>
- <asp:BoundField DataField="EditDate" HeaderText="编辑时间">
- </asp:BoundField>
- <asp:BoundField DataField="UserAccount" HeaderText="用户帐号">
- </asp:BoundField>
- <asp:BoundField DataField="AccessTime" HeaderText="访问时间">
- </asp:BoundField>
- <asp:BoundField DataField="ServiceName" HeaderText="调用服务名" Visible="False">
- </asp:BoundField>
- <asp:BoundField DataField="ServiceActionName" HeaderText="服务动作名">
- </asp:BoundField>
- <asp:BoundField DataField="ServiceInstanceID" HeaderText="服务实例ID" Visible="False">
- </asp:BoundField>
- <asp:BoundField DataField="CallIngResult" HeaderText="调用结果">
- </asp:BoundField>
- <asp:BoundField DataField="CallIngModule" HeaderText="调用模块">
- </asp:BoundField>
- <asp:BoundField DataField="LogCate" HeaderText="服务操作">
- </asp:BoundField>
- <asp:BoundField DataField="EmpName" HeaderText="用户名称">
- </asp:BoundField>
- <asp:BoundField DataField="OrgName" HeaderText="组织机构">
- </asp:BoundField>
- <asp:TemplateField HeaderText="操 作">
- <ItemTemplate>
-
- <asp:ImageButton ToolTip="删除" ID="IB_Del" runat="server" CommandName="Delete" ImageUrl="~/Images/s-del.gif"
- OnClientClick='<%#"return confirm("确认删除审核ID为『"+Eval("AuditID")+"』的记录吗?");" %>'/>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- <FooterStyle CssClass="GridFooter" />
- <PagerStyle CssClass="GridPage" />
- <PagerTemplate>
- <asp:Label ID="LabelCurrentPage" runat="server">当前页:<%# ((GridView)Container.NamingContainer).PageIndex + 1 %></asp:Label>
- <asp:Label ID="LabelPageCount" runat="server" >总页数:<%# ((GridView)Container.NamingContainer).PageCount %></asp:Label>
- <asp:LinkButton ID="LinkButtonFirstPage" runat="server" CommandArgument="First" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">首页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonPreviousPage" runat="server" CommandArgument="Prev" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != 0 %>">上一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonNextPage" runat="server" CommandArgument="Next" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">下一页</asp:LinkButton>
- <asp:LinkButton ID="LinkButtonLastPage" runat="server" CommandArgument="Last" CommandName="Page" Enable="<%# ((GridView)Container.NamingContainer).PageIndex != ((GridView)Container.NamingContainer).PageCount - 1 %>">尾页</asp:LinkButton>
- 转到第:<asp:TextBox ID="LinkTextBoxNewPage" runat="server" Width="20px" Text='<%# ((GridView)Container.Parent.Parent).PageIndex + 1 %>'></asp:TextBox>页
- <asp:RangeValidator ID="RangeValidator1" runat="server" ErrorMessage="0-99999" ValidationGroup="goto" ControlToValidate="LinkTextBoxNewPage"
- MaximumValue="99999" MinimumValue="0" Display="Dynamic" ></asp:RangeValidator>
- <asp:linkbutton id="btnGo" runat="server" causesvalidation="False" commandargument="-1" commandname="Page" text="GO" ValidationGroup="goto" />
- </PagerTemplate>
- <EmptyDataTemplate>
- <center> 系统提示:请输入查询条件,也可以新增用户数据。</center>
- </EmptyDataTemplate>
- <SelectedRowStyle CssClass="SelectedRow" />
- </asp:GridView>
- </td>
- </tr>
- </TABLE>
- </form>
- </body>
- </html>