<%@page import="com.zky.para.Para"%> <%@include file="/auth.jsp"%> <%@page language="java" pageEncoding="utf-8" buffer="20kb"%> <%@page import="java.util.Date"%> <jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/> <% String operate = (String)request.getParameter("operate"); String empid = request.getParameter("empid"); String departid = request.getParameter("departid"); String begindate = request.getParameter("begindate"); String enddate = request.getParameter("begindate"); String date = DateTime.DateToStr(new Date()); %> <html> <head> <title>操作日志管理</title> <link rel="stylesheet" type="text/css" href="../../../css/font.css"> <script src="../../../js/check.js"></script> <script src="../../../js/date.js"></script> <link rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css"> <link rel="stylesheet" type="text/css" href="../../js/2k3Menu.css"> <link rel="stylesheet" type="text/css" href="../../js/2k3Dialog.css"> <style> #myGrid .gridHead{ height: 50px; line-height: 50px; background-color: #cce7f5; color: #000; font-size: 16px; font-weight: bold; box-sizing: border-box; } #myGrid .gridHead .gridRow{ display: flex; justify-content: start; } #myGrid .gridHead span{ text-align: center; display: inline-block; border-right: 1px solid #000000; box-sizing: border-box; } #myGrid .gridHead span:nth-child(1){ width: 100px; } #myGrid .gridHead span:nth-child(2){ width: 180px; } #myGrid .gridHead span:nth-child(3){ width: 300px; } #myGrid .gridHead span:nth-child(4){ width: 200px; } #myGrid .gridHead span:nth-child(5){ width: 200px; } #myGrid .gridHead span:nth-child(6){ width: 200px; } #myGrid .gridHead span:nth-child(7){ width: 224px; border-right: none; } #myGrid .gridBody .gridRow{ height: 30px; /*margin-top: 5px;*/ display: flex; justify-content: start; align-items: center; border-bottom: 1px solid #000; color: #000; } #myGrid .gridBody .gridRow span{ width: 148px; display: inline-block; border-right: 1px solid; text-align: center; height: 30px; line-height: 30px; box-sizing: border-box; } #myGrid .gridBody .gridRow span:nth-child(1){ width: 100px; } #myGrid .gridBody .gridRow span:nth-child(2){ width: 180px; } #myGrid .gridBody .gridRow span:nth-child(3){ width: 300px; } #myGrid .gridBody .gridRow span:nth-child(4){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(5){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(6){ width: 200px; } #myGrid .gridBody .gridRow span:nth-child(7){ width: 224px; border-right: none; } #myGrid .gridBody .gridRow span a,#myGrid .gridBody .gridRow span img,#myGrid .gridBody .gridRow span input { margin-right: 6px; margin-top: 6px; } form{ height: 96%; } </style> <script> function setValue() { <% if (!Common.isNull(operate)) { out.println("form1.operate.value='" + operate + "';"); } %> } function check(operate,departid) { form1.operate.value=operate; form1.button1.disabled=true; form1.submit(); } </script> <style media=print> .Noprint{display:none;} .PageNext{page-break-after: always;} </style> <style> .tdp { border-bottom: 1 solid #000000; border-left: 1 solid #000000; border-right: 0 solid #ffffff; border-top: 0 solid #ffffff; } .tabp { border-color: #000000 #000000 #000000 #000000; border-style: solid; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 1px; border-left-width: 1px; } .NOPRINT { font-family: "宋体"; font-size: 9pt; } html { overflow-x:hidden; overflow-y:hidden; } </style> </head> <body onload="setValue();" scroll="no"> <form name="form1" method="post" action="/servlet/LogonLog"> <input type="hidden" name="operate" value=""/> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box"> <tr> <td valign="top"><table width="100%" height="23" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="25%" background="/images/tab_search_01.jpg"> <table width="100%" height="23" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="6%" align="right"><img src="/images/little_red.jpg" width="12" height="12"></td> <td width="94%" class="font12b"> <b>操作日志管理</b></td> </tr> </table> </td> <td width="75%" background="/images/tab_search_03.jpg"><img src="/images/tab_search_02.jpg" width="12" height="23"></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="table02"> <tr bgcolor="#FFFFFF" height="60px"> <td class="cell1">人员姓名</td> <td class="cell2"> <input type="text" name="empname"> </td> <td class="cell1">单位名称</td> <td class="cell2"> <input type="text" name="departname"> </td> <td class="cell1">开始日期</td> <td class="cell2"> <input name='begindate' type='text' readonly='true' onclick="fPopCalendar(begindate,begindate);return true;"/> </td> <td class="cell1">结束日期</td> <td class="cell2"> <input name='enddate' type='text' readonly='true' onclick="fPopCalendar(enddate,enddate);return true;" value="<%=date%>"/> </td> <td class="cell1"> <input type="image" name="button1" alt=" 查询 " onclick="check('queryOperate');" src="../../images1/cx.png"/> </td> <td class="cell2"> </td> </tr> </table> </td> </tr> </table> <% HashFmlBuf buf = (HashFmlBuf) request.getAttribute("operatelog_info"); if (buf != null) { int rowcount = buf.getRowCount(); %> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" class="box" style="margin-top: 4px;padding-top: 4px;height: 89%"> <tr> <td> <div style="width:100%; height:96%;overflow: auto;"> <div id="myGrid" class="2k3Grid" borderWidth="0" contextMenu="mnuGridContextMenu" altRowColor="oldLace"> <div class="gridHead"> <!--div align="left"><span width="5%">共检索到<%=rowcount%>条记录</span></div--> <div class="gridRow"> <span width="5px">序号</span> <span width="15px">操作网络地址</span> <span width="15px">操作单位名称</span> <span width="15px">操作人员姓名</span> <span width="15px">操作模块名称</span> <span width="15px">操作功能</span> <span width="18px">操作时间</span> </div> </div> <div class="gridBody"> <% for (int i=0; i<rowcount; i++) { %> <div class="gridRow"> <span width="5px" style="text-align: center;"><%=i+1%></span> <span><%=buf.fget("ipaddr",i)%></span> <span width="25px"><%=buf.fget("OPTRID",i)%></span> <span><%=buf.fget("OPERAESITEID",i)%></span> <span ><%=buf.fget("OPERAEMENUITEM",i)%></span> <span><%=buf.fget("OPERAEGN",i)%></span> <span width="25px"><%=buf.fget("OPERAETIME",i)%></span> </div> <% } %> </div> <!-- gridBody end --> </div> <!-- myGrid end --> </div> <tag:PageLinkTag operate="queryOperate" scope="request" width="99%" align="center"/> <% } %> </td> </tr> </table> </form> <%@include file="/foot.jsp"%> </body> </html> <script> function selectArea(frameworkid) { var url = "/servlet/SelectPara?select=area&frameworkid=" + frameworkid; var callback = changeArea; executeXhr(callback, url); } function changeArea() { if (req.readyState == 4) { if (req.status == 200) { document.getElementById("areaDiv").innerHTML = "<select class='aselect' name='areaid'>" + req.responseText + "</select> <font color='#FF0000'>*</font>"; } else { alert("There was a problem retrieving the XML data:" + req.statusText); } } } </script> <script src="/js/ajaxUtils.js"></script>