修改病案预览重新加载住院次数bug及禁用非管理加载住院次数
parent
043762a36b
commit
f4818e9357
@ -0,0 +1,58 @@
|
||||
<%@ 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}"/>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>预览PDF</title>
|
||||
<meta http-equiv=X-UA-Compatible IE=EmulateIE7>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="${path}/static/js/jquery-1.11.3.min.js"></script>
|
||||
<script src="${path}/static/js/html5shiv.js"></script>
|
||||
<script src="${path}/static/js/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="${path}/static/js/jquery-1.11.3.min.js"></script>
|
||||
<link rel="shortcut icon" href="${path}/static/js/favicon.ico">
|
||||
<script>
|
||||
var path = "${path}";
|
||||
</script>
|
||||
<style type="text/css">
|
||||
html,body{
|
||||
width:100%;
|
||||
height:100%;
|
||||
margin:0;
|
||||
padding:0;
|
||||
background-color: #F2F2F2;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body onkeydown="disabledPrint()">
|
||||
<input hidden type="hidden" id="httpFilePath" value="${httpFilePath}">
|
||||
<script type="text/javascript" src="${path}/static/js/font/showRecordIframeBloodCommom.js"></script>
|
||||
<script>
|
||||
location.href = $("#httpFilePath").val();
|
||||
//屏蔽鼠标右键
|
||||
document.oncontextmenu = function(e) {
|
||||
var e = e || window.event;
|
||||
e.returnValue = false;
|
||||
return false;
|
||||
}
|
||||
//禁止快捷键打印
|
||||
function disabledPrint(){
|
||||
if(event.keyCode==80 && event.ctrlKey){
|
||||
event.keyCode=0;
|
||||
event.returnValue=false;
|
||||
}
|
||||
if (event.ctrlKey && event.keyCode == 83) {
|
||||
event.preventDefault();
|
||||
event.returnValue = false;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
$("#buttons").remove();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in New Issue