first commit
This commit is contained in:
53
WebRoot/jsp/base/print.jsp
Normal file
53
WebRoot/jsp/base/print.jsp
Normal file
@ -0,0 +1,53 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*" pageEncoding="UTF-8"%>
|
||||
<%@page import="java.util.Date" %>
|
||||
<%@page import="java.text.SimpleDateFormat" %>
|
||||
<%@ page import="com.sipai.tools.SessionManager"%>
|
||||
<%
|
||||
SessionManager sessionManager = new SessionManager();
|
||||
%>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<jsp:include page="/jsp/inc.jsp"></jsp:include>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>数据打印</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: white;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-size: 13px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pb {
|
||||
font-size: 13px;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.pb th {
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
border: 1px solid #333333;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.pb td {
|
||||
border: 1px solid #333333;
|
||||
padding: 2px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
alert('${param.tableString}')
|
||||
document.write('${param.tableString}');
|
||||
window.print();
|
||||
//window.close();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user