<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>

<html>
  <head>
    <title></title>

   <%--  富客户端环境引用文件  --%> 
<%@ include file="/gaowj/header-simple-app-1.0.jsp"%>
  </head><br/>
  <body class="gaowj">
<div class="easyui-layout" style="width:99%;height:90%;margin:0 5px;">
		
		<div data-options="region:'center',iconCls:'icon-ext-27_29'" title="业务操作日志列表">
  <%@ include file="menuoperate.jsp"%>
  <table cellpadding="0" cellspacing="0">
        <tr><td>
  <table id="resizabletable" class="sortable"  border="0" cellpadding="0" cellspacing="1" bgcolor="#f4f4f4">
      <thead>
        <tr bgcolor="#c0c0c0">
          <th width="60" align="center" class="sort-alpha">序号</th>
          <th width="60" align="center" class="sort-alpha">操作人ID</th>
          <th width="60" align="center" class="sort-alpha">操作人</th>
          <th width="96" align="center" class="sort-alpha">登陆IP</th>
          <th width="152" align="center" class="sort-alpha">操作时间</th>
          <th width="200" align="center" class="sort-alpha">操作描述</th>
          <th width="152" align="center" class="sort-alpha">记录ID描述</th>
        </tr>
        </thead>
        <tbody>
        <s:set name="j" value="0"></s:set>
        <s:iterator value="listdata">
        <s:set name="j" value="#j+1"></s:set>
        <tr  ondblclick="g_dbclick();" onclick="ls_choice('<s:property value="UUID"/>');" onMouseOver="this.style.backgroundColor='#D0E6EE';" onMouseOut="this.style.backgroundColor='#FFFFFF'" bgcolor="#FFFFFF">
          <td align="center">
          <input id="<s:property value="UUID"/>" type="checkbox" name="checkbox" value="checkbox"><span id="<s:property value="UUID"/>value"><s:property value='#j'/></span>
          </td>
          <td align="center"><s:property value="USEREMID"/></td>
          <td align="center"><s:property value="USERNAME"/></td>
          <td align="center"><s:property value="IP"/></td>
          <td align="center"><fmt:formatDate value="${OPETIME}" pattern="${datetimeZH}" /></td>
          <td align="center"><s:property value="DESCRIPTION"/></td>
          <td align="center"><s:property value="RECORDNAME"/></td>
        </tr>
         </s:iterator>
         </tbody>
         <tfoot>
        <tr>
          <td colspan="7" align="left" valign="middle" style="background:url(image/img_vk/bg001.png);"> 
          <form name="p" action="grid_logBusiness" method="post">
           <input type="hidden" name="FIELD_TYPE" value="<s:property value="#parameters.FIELD_TYPE"/>"/>
           <table border="0"><tr><td>　
             
         <select name="pageSize" onChange="submit();">　
        <s:iterator value="listPageSize">
          <option <s:if test="pageSize==pageSizec">selected</s:if>  value="<s:property value="pageSizec"/>"><s:property value="pageSizec"/></option>
        </s:iterator>
        </select>
          
          </td>
          <td>       
        <s:a action="grid_logBusiness"><img src="image/img_vk/first.png" border="0"/>
         <s:param name='pageNo'>1</s:param>
         <s:param name='pageSize' value="pageSize"></s:param>
         <s:param name='FIELD_TYPE' value="#parameters.FIELD_TYPE"></s:param>
        </s:a>&nbsp;&nbsp;&nbsp;&nbsp;
        <s:if test="pageNo>1">
        <s:a action="grid_logBusiness"><img src="image/img_vk/previous.png" border="0"/>
         <s:param name='pageNo' value="pageNo-1"></s:param>
         <s:param name='pageSize' value="pageSize"></s:param>
         <s:param name='FIELD_TYPE' value="#parameters.FIELD_TYPE"></s:param>
        </s:a>　
        </s:if>
        </td>
        <td valign="top">
                    第 <s:property value="pageNo"/>共 
        <s:property value="pageCount"/> 页 
        </td>
        <td>
        <s:if test="pageNo<pageCount">
        <s:a action="grid_logBusiness"><img src="image/img_vk/next.png" border="0"/>
         <s:param name='pageNo' value="pageNo+1"></s:param>
         <s:param name='pageSize' value="pageSize"></s:param>
         <s:param name='FIELD_TYPE' value="#parameters.FIELD_TYPE"></s:param>
        </s:a>
        </s:if>&nbsp;&nbsp;&nbsp;&nbsp;
        <s:a action="grid_logBusiness"><img src="image/img_vk/last.png" border="0"/>
          <s:param name='pageNo' value="pageCount"></s:param>
          <s:param name='pageSize' value="pageSize"></s:param>
          <s:param name='FIELD_TYPE' value="#parameters.FIELD_TYPE"></s:param>
        </s:a>
         </td></tr></table>
         </form>
          </td>
        </tr>
        </tfoot>
      </table>
  </td></tr></table>
  </div>
  </div>
  <div id="SendProduct" style="width:100px;height:100px;" >  
  </div> 
  </body>
  <script type="text/javascript">
  document.getElementById("g_list").style.display='none';
  document.getElementById("g_password").style.display='none';
  document.getElementById("g_add").style.display='none';
  document.getElementById("g_open").style.display='';
  document.getElementById("g_copy").style.display='none';
  document.getElementById("g_delete").style.display='none';
  document.getElementById("g_preview").style.display='none';
  document.getElementById("g_taoda").style.display='none';
  document.getElementById("g_refresh").style.display='';
  document.getElementById("g_save").style.display='none';
  document.getElementById("g_return").style.display='none';
  document.getElementById("g_groupCmodule").style.display='none';
  document.getElementById("g_groupCuser").style.display='none';
  document.getElementById("g_userCuser").style.display='none';
  var ls_code;
  var ls_old,ls_new
  var page="<s:property value='pageNo'/>";
  var pageSize="<s:property value='pageSize'/>";
  function ls_choice(ls_current){
	     if(ls_old!=null){
	       ls_old.checked=false;
	     }
	     ls_new = document.getElementById(ls_current);
	     ls_new.checked=true;
	     ls_old = ls_new;
	    }
  function g_refresh(){
	     window.location="grid_logBusiness?pageNo="+page+"&pageSize="+pageSize+"&FIELD_TYPE=<s:property value="#parameters.FIELD_TYPE"/>";
	    }
  function g_dbclick(){
	var modifyUrl = gaowj.WEB_APP_NAME+"/grid_logBusiness_detail?pageNo="+page+"&pageSize="+pageSize+"&method=update&myzd_id="+ls_new.id;
	$('#SendProduct').window({
			  title : "业务操作日志详细",
			  iconCls:'icon-ext-05_41',
			  width : 750,
			  height : 530,
			  content : '<iframe scrolling="yes" frameborder="0"  src="'+ modifyUrl+ '" style="width:100%;height:98%;"></iframe>',
			  modal : true,
			  minimizable : false,
			  maximizable : false,
			  shadow : false,
			  cache : false,
			  closed : false,
			  collapsible : false,
			  resizable : false,
			  loadingMessage : '正在加载数据，请稍等片刻......'
       });
  }
  function g_open(){
	 if(ls_new!=null){
	    var ls_xh = document.getElementById(ls_new.id + "value");
	    var ls_myzd_id = ls_new.id;
	    var modifyUrl = gaowj.WEB_APP_NAME+"/grid_logBusiness_detail?pageNo="+page+"&pageSize="+pageSize+"&method=update&myzd_id="+ls_new.id;
	    $('#SendProduct').window({
			  title : "业务操作日志详细",
			  iconCls:'icon-ext-05_41',
			  width : 750,
			  height : 530,
			  content : '<iframe scrolling="yes" frameborder="0"  src="'+ modifyUrl+ '" style="width:100%;height:98%;"></iframe>',
			  modal : true,
			  minimizable : false,
			  maximizable : false,
			  shadow : false,
			  cache : false,
			  closed : false,
			  collapsible : false,
			  resizable : false,
			  loadingMessage : '正在加载数据，请稍等片刻......'
       });
	 }
  }
  </script>

</html>
