<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<%@ include file="/WEB-INF/jspf/common.jspf" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>其他管理</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv=X-UA-Compatible IE=EmulateIE7>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="${path}/static/js/html5shiv.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>
    <![endif]-->
    <script>
        var path = "${path}";
    </script>
    <style type="text/css">
        hr {
            margin: 0;
        }
        /**搜索区*/
        .searchDiv {
            margin-top: 5px;
            width: 100%;
            height: 30px;
        }
    </style>
</head>
<body>
<div class="mainBody">
    <div class="main">
        <div class="row" style="margin-right: 0;">
            <div class="col-md-12">
                <div class="panel-heading"><h4>其他管理/日志管理</h4></div>
                <hr>
            </div>
            <div class="col-md-12">
                <form class="form-inline searchDiv" role="form">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="form-group">
                                <label>日志主题：</label>
                                <input type="text" class="form-control input-sm" id="logTitle" maxlength="50">
                            </div>
                            <div class="form-group">
                                <label>日志内容：</label>
                                <input type="text" class="form-control input-sm" id="logContent" maxlength="500">
                            </div>
                        </div>
                        <div class="col-md-12" style="margin-top:5px">
                            <div class="form-group">
                                <label>&emsp;操作人：</label>
                                <input type="text" class="form-control input-sm" id="creater" maxlength="8">
                            </div>
                            <div class="form-group">
                                <label>操作时间：</label>
                                <input type="text" class="form-control input-sm" id="startTime1" placeholder="开始时间"
                                       maxlength="10"
                                       autocomplete="off">
                                <div class="form-group">
                                    <input type="text" class="form-control input-sm" id="endTime1" placeholder="结束时间"
                                           maxlength="10"
                                           autocomplete="off">
                                </div>
                            </div>
                            <div class="form-group">
                                <button type="button" class="btn btn-sm btn-primary" onclick="refreshTable()">查询
                                </button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="btns">
            <pm:myPermissions permissions="/otherManage/exportExcel">
                <button type="button" class="btn btn-sm btn-primary" onclick="exportExcel()"><i class="fa fa-reply"></i>导出
                </button>
            </pm:myPermissions>
            <pm:myPermissions permissions="/otherManage/deleteLogByIds">
                <button type="button" class="btn btn-sm btn-danger" onclick="deleteLogByIds()">批量删除</button>
            </pm:myPermissions>
        </div>
        <!--数据表格-->
        <div class="tableDiv" style="margin-top:-20px">
            <input type="hidden" id="checks">
            <table id="bootstrapTable" class="table text-nowrap table-striped"></table>
        </div>
    </div>
</div>
<script type="text/javascript" src="${path}/static/js/otherManage/backupDatabase.js?t=2020-08-18"></script>
<script type="text/javascript" src="${path}/static/js/dateUtil.js"></script>
</body>
</html>
