<%@ page import="com.censoft.db.DBUtil" %>
<%@ include file="../getMenuList.jsp"%>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/9/11
  Time: 12:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/pagination.css">
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery.pagination.js"></script>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
    <span class="c-gray en">&gt;</span> <%=menu_name%>
    <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
                                               href="javascript:void(0);" onclick="window.location.reload();"
                                               title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <form action="loglist_ajax.jsp" method="post" id="data_form_search">
        <input type="hidden" name="page_number" id="page_number" value="1"/>
        <input type="hidden" name="page_size" id="page_size" value="10"/>
        <div class="text-l">
            日期范围：
            <input type="text" name="b_time" autocomplete="off"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="input-text Wdate" style="width:120px;">
            -
            <input type="text" name="e_time" autocomplete="off"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"class="input-text Wdate" style="width:120px;">
            <input type="text" class="input-text" style="width:150px" placeholder="输入操作人"  name="s_login_name">
            <input type="text" class="input-text" style="width:150px" placeholder="输入模块"  name="s_model">
            <input type="text" class="input-text" style="width:150px" placeholder="输入动作"  name="s_action">
            <button type="button" onclick="document.getElementById('page_number').value='1';searchModel();"
                    class="btn btn-success radius" id="aaa" name=""><i class="Hui-iconfont">&#xe665;</i>
                搜用户
            </button>
        </div>
    </form>
    <div class="mt-20" id="datalist">

    </div>
</div>

<script type="text/javascript">
    searchModel();

    function searchModel() {
        $.ajax({
            type: "post",
            url: "loglist_ajax.jsp",
            data: $('#data_form_search').serialize(),
            success: function (msg) {
                $("#datalist").html(msg);
            }
        });
    }
</script>