<%@ 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">
        .mainDiv{
            background-color: #fff;
        }
        /**搜索区*/
        .searchDiv {
            padding-top: 10px;
            width:100%;
            height: 30px;
        }
        .dateSearchDiv{
            width:29%;
        }
        .dateSearchInput{
            width:30%;
            margin-left:2px;
        }
        .dateLabelDiv{
            width: 30%;
            text-align: right;
        }
        .searchInput{
            width:21%;
            margin-left: 5px;
        }
        .searchElement{
            text-align: right;
            width:40%;
        }
        .searchInputElement{
            width:60%;
        }
        .labelDiv{
            padding-top:4%;
            margin-left: 2%;
        }
        /**查询按钮组*/
        .btnsDiv{
            margin-top: 0.4%;
            height:35px;
            text-align: right;
            margin-right: 25px;
        }
        .btns{
            margin-left: 2%;
        }
        /**表格div*/
        .tableDiv{
            margin-left: 1%;
            margin-right: 1%;
            margin-top: -15px;
        }
        .hidden-xs{
            max-width: 250px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    </style>
</head>
<body>
<!--类别记录标识typeTypeId:1:打印；2:下载-->
<input type="hidden" id="operType" value="1">
<input type="hidden" id="flag" value="file_path">
    <div class="main">
        <div class="headDiv">
            <div class="headSpanDiv">
                <span class="headspan">
                    浏览记录
                </span>
            </div>
        </div>
        <div class="mainDiv">
            <div class="searchDiv">
                <div class="searchInput left">
                    <div class="searchElement left">
                        <label class="labelDiv">病案号：</label>
                    </div>
                    <div class="searchInputElement left">
                        <input type="text" class="form-control input-sm" id="patientId">
                    </div>
                </div>
                <div class="searchInput left">
                    <div class="searchElement left">
                        <label class="labelDiv">姓名：</label>
                    </div>
                    <div class="searchInputElement left">
                        <input type="text" class="form-control input-sm" id="patientName">
                    </div>
                </div>
                <div class="searchInput left">
                    <div class="searchElement left">
                        <label class="labelDiv">操作人：</label>
                    </div>
                    <div class="searchInputElement left">
                        <input type="text" class="form-control input-sm" id="browseName">
                    </div>
                </div>
            </div>
            <div class="searchDiv" style="margin-top: 0.4%">
                <div class="dateSearchDiv left">
                    <div class="dateLabelDiv left">
                        <label class="labelDiv">操作时间：</label>
                    </div>
                    <div class="dateSearchInput left">
                        <input type="text" class="form-control input-sm" id="startTime1" placeholder="开始时间" maxlength="10" autocomplete="off">
                    </div>
                    <div class="dateSearchInput left">
                        <input type="text" class="form-control input-sm" id="endTime1" placeholder="结束时间" maxlength="10" autocomplete="off">
                    </div>
                </div>
                <div class="left">
                    <button type="button" class="btn btn-sm btn-primary" onclick="refreshTable()">查询</button>
                </div>
            </div>
            <div class="btnsDiv">
                <shiro:hasPermission name="/printInfoList/export">
                    <button type="button" class="btn btn-sm btn-primary btns" onclick="exportExcel()"><i class="fa fa-reply"></i>导出</button>
                </shiro:hasPermission>
            </div>
            <!--数据表格-->
            <div id="tableDiv" class="tableDiv">
                <input type="hidden" id="checks">
                <table id="mytab" class="table text-nowrap table-bordered">
                </table>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="${path}/static/js/otherManage/browseRecords.js?t=2022-01-17"></script>
<script type="text/javascript" src="${path}/static/js/dateUtil.js"></script>
</body>
</html>
