djxxPrint.jsp 3.86 KB
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>缮证证书打印</title>
	<meta name="decorator" content="default"/>
	<script src="${ctxStatic}/jquery/jquery.print-preview.js" type="text/javascript"></script>
	<script src="${ctxStatic}/jquery/jQuery.print.min.js" type="text/javascript"></script>

	<script type="text/javascript">
		var mapinfo;
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		
		/*         打印预览        */        
      function toPrintView(){          
         execPrint('page1','Preview');        
             }
           /*打印或预览print--打印,Preview--预览*/       
       function execPrint(myDiv,type){                    
          var isCanPreview = (!-[1,]);                   
          if(isCanPreview){ /*这个条件满足说明可以打印预览*/                    
            document.all.WebBrowser.ExecWB(7,1);             
          }else{                            
            var newstr = document.getElementById(myDiv).innerHTML;
            var oldstr = document.body.innerHTML;
            document.body.innerHTML = newstr;
            window.print();   
            document.body.innerHTML = oldstr;            
            return false;              
            }         
     } 
	</script>
	<style type="text/css" media="print">
      .noprint { display:none;}
    </style>
</head>
<body>
<div>
    <input id="btnPreview" class="btn btn-primary noprint" type="button" onclick="toPrintView();" value="打印" /> 
	<div id='page1'>
	<div align="center" style="font-size: 26px; font-weight: bold;padding-top:30px;" style="font-family:宋体">
					汉中市不动产登记信息查询结果证明
	</div>
	<br>
	
	<div  style="font-size: 20px;padding-left:10px;">
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》有关
			规定,经系统查询,查询申请人:${qlrmc}(身份证号:${zjh})
			名下不动产登记信息查询结果如下:
					
	</div>
	<br>
	<div id='data'>
		   <table   border="1" cellpadding="3" cellspacing="0">
				<thead>
					<tr>
						<th>权利人</th>
						<th>证书(证明)编号</th>
						<th>不动产坐落</th>
						<th>面积</th>
						<th>状态标记</th>
					</tr>
				</thead>
				<tbody>
			<c:forEach items="${list}" var="mapinfo">
			   <tr>
			    <td>${qlrmc}</td>
				<td>${mapinfo['BDCQZH']}</td>
				<td>${mapinfo['ZL']}</td>
				<td>${mapinfo['MJ']}</td>
				<td>${mapinfo['zt']}</td>
			</tr>
		  </c:forEach>
		  </tbody>
		  </table>
		  </div>
	</div>
	
	<div style="font-size:15px;padding-left:10px;bottom:30px;position:absolute;" id="footer">
	查询说明:
	<br>
	   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、该查询结果仅显示查询申请人在查询时点个人不动产(房产)登记有关情况。如存在共有人,则需要另行办理查询;<br>
	   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   2、该查询结果包含查询申请人不动产预告登记信息;<br>
	   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   3、本次查询由系统终端自助完成并打印结果,可能存在数据采集和处理的误差,如查询结果与实际情况不符,请及时向我中心提出;<br>
	   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   4、查询人应当妥善保管好个人证件,因证件遗失或被他人不当利用所造成的不动产登记查询结果泄露,有关责任概由查询人承担。
	   
	   <br>
	   <div style="padding-right:50px" align="right">
	    查询时点:${date}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</div>
	</div>
</div>
</body>
</html>