<%@ 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" %>
<%@ include file="/WEB-INF/jspf/ztreeCommom.jsp" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>预览pdfIframe页面</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">
        body{
            width:100%;
            height:100%;
            margin:0;
            padding:0;
            background-color: #F2F2F2;
        }
        .content-left{
            height:100%;
            width:19%;
            float:left;
            background-color: #FFFFFF;
        }
        .content-right{
            height:100%;
            width:80%;
            float:right;
            padding-left:1%;
            background-color: #FFFFFF;
        }
    </style>
</head>
<body style="scroll:auto" onkeydown="disabledPrint()">
<input hidden id="patientId"  value="${patientId}">
<input hidden id="assortIds">
<!--定义打印预览的图片加载完成标识-->
<input type="hidden" id="printPicLoaded">
<div class="content-left">
    <div class="form-group">
        <div class="col-sm-7">
            <select class="form-control input" id="typeId">
                <c:forEach items="${emrTypes}" var="type">
                    <option value="${type.id}">${type.typeName}</option>
                </c:forEach>
            </select>
        </div>
        <div class="col-sm-4">
            <button type="button" class="btn btn-sm btn-primary" onclick="onloadPdf()">加载PDF</button>
        </div>
        <div class="zTreeDemo">
            <ul id="ztree" class="ztree"></ul>
        </div>
    </div>
</div>
<div class="content-right">
   <%-- <shiro:hasPermission name="/commom/updateScanAssort">
        <div class="form-group">
            <label  class="control-label" style="float:left;margin-top:1%;">重新归页：</label>
            <select class="form-control" style="float:left;width:30%;" id="newAssortId">
                <option value="">选择重新归页</option>
                <c:forEach items="${zdAssorts}" var="assort">
                    <option value="${assort.assortId}">${assort.assortName}</option>
                </c:forEach>
            </select>
            <button type="button" class="btn btn-sm btn-default" style="float:left;margin-left:2%;" onclick="sure()">确定</button>
            &lt;%&ndash;<button type="button" class="btn btn-warning" style="float:right;margin-right: 1%" onclick="">笔记</button>&ndash;%&gt;
        </div>
    </shiro:hasPermission>--%>
    <iframe width="100%" height="100%" src="" id="iframe1" name="iframe1" frameborder="0" scrolling="yes" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" oallowfullscreen="true" msallowfullscreen="true"></iframe>
</div>
<script type="text/javascript" src="${path}/static/js/recordManage/commomSearch/showRecordIframe.js?t=2020-04-27"></script>
</body>
</html>
