fab7e72192eed77bb09c8c8ee93f913df7d8300a.svn-base 14.4 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 type="text/javascript">
	    var bdcdyhtext;
		$(document).ready(function(){
			bdcdyhtext = $("#bdcdyhtext").val();		
		   if(("${bdcdyhtext}"!=null)&&("${bdcdyhtext}"!=undefined)&&("${bdcdyhtext}"!="")){
			   $("#bdcdyhtext").val("${bdcdyhtext}");
			   booksquerys();
			} 
		});
		function choiceZdjbxxs(){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度; 
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/base/regBaseZdjbxx/listView?tdbook=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenZdjbxxBook(id){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/base/regBaseZdjbxx/form?id="+ id +"&VIEWS=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenJsydsyqBook(bdcdyh){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/bus/regBusJsydsyq/list?bdcdyh="+ bdcdyh +"&LISTVIEWS=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenTdsyqBook(bdcdyh){
			//弹出窗口的宽度; 
			var iWidth=1100;
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/reg/bus/regBusTdsyq/list?bdcdyh="+ bdcdyh +"&LISTVIEWS=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function gobackbooklist(){
			var url = "${ctx}/reg/base/regBaseZdjbxx/booklist";
			window.location = url;
		}

		function winOpenZd(bdcdyh,zdid,zddm){
			var url = "${ctx}/reg/books/orightbook?bdcdyh="+bdcdyh+"&zdid="+zdid+"&zddm="+zddm+"&bdcdyhtext="+bdcdyhtext;
			window.location = url;
		}
		function winOpenFw(bdcdyh){
			var url = "${ctx}/reg/books/orightbook?bdcdyh="+bdcdyh+"&zddm="+bdcdyh.substr(0,19)+"&bdcdyhtext="+bdcdyhtext;
			window.location = url;
		}
		function winOpenDzFw(bdcdyh){
			var url = "${ctx}/reg/books/orightbook?bdcdyh="+bdcdyh+"&zddm="+bdcdyh.substr(0,19)+"&bdcdyhtext="+bdcdyhtext;
			window.location = url;
		}
	
		function booksquerys(){
		    bdcdyhtext = $("#bdcdyhtext").val();
			//发一个请求查询新的数据list 
			$.ajax({ 
				type:"POST", 
				url:"${ctx}/reg/books/bookquery", 
				cache: false,
				data:"bdcdyh="+bdcdyhtext+"&zddm=${regBaseZdjbxx.zddm}",
			    async : false,
				success:function(modelmap){
				    $("#tbbookquerys").html(modelmap.fwbdcdyhListinfo);
				}
			});
		}
		
		function printPage(){
// 			var fwListSize = $('#status').val();
// 			var Zdbdcdyh = $('#Zdbdcdyh').text();
// 			var fwbdcdyh = "";
// 			for(var i = 0;i < fwListSize;i ++){
// 				fwbdcdyh = $('#fwbdcdyh').val();
				
// 				alert(i);
// 				alert(fwbdcdyh);
// 			}
			//$('#Zdbdcdyh a').remove();
			//$('#tdfwbdcdyh a').remove();
			window.print();
		}
	</script>
</head>
<body>
	<ul id="regBookTab" class="nav nav-tabs">
	   <li class="active">
	      	<a href="#regbook" data-toggle="tab">不动产登记簿</a>
	   </li>
	   <li><a href="#bookzdjbxx" data-toggle="tab">宗地基本信息</a>
	   </li>
	   <li><a href="#bookbdcqml" data-toggle="tab">不动产权利登记目录</a>
	   </li>
	</ul>
	<div id="myTabContent" class="tab-content">
	   <div class="tab-pane fade in active" id="regbook">
	   		<br><br><br><br>
	      	<div class="bookofindex">
				<h1>不动产登记簿 </h1>
			</div>
			<br><br><br>
			<div style="text-align:center;"><span style="font-size:18px;">${regBaseZdjbxx.zddm}</span></div>
			<br><br><br><br><br><br>
			<div style=""><span style="font-size:14px;">                                                                                                                                                                                                      
				登记机构:    ${fns:getDictLabel(QXCODE, 'reg_bus_xq', '')}不动产登记局</span>                                                                                                                                                                                                     
				<input id="btnCancel" class="btn" type="button" value="返回登记簿" onclick="gobackbooklist();"/></div>
	   </div>
	   <!-- 宗地基本信息 -->
	   <div class="tab-pane fade" id="bookzdjbxx">
	      <table cellspacing="0" width="800px" border="1" cellpadding="3" style="font-family:宋体"> 
			  <tr height="44">
			    <td colspan="5" height="44"><div align="center"><h1>宗地基本信息 </h1></div></td>
			  </tr>
			  <tr height="37">
			    <td colspan="5" height="37">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="dbtablelabe">单位:</span> ■ ${fns:getDictLabel(regBaseZdjbxx.mjdw, 'reg_bus_mjdw', '')}</td>
			  </tr>
			  <tr height="37">
			    <td colspan="2" height="37"><div align="center" class="dbtablelabe">不动产类型</div></td>
			    <td colspan="3">${bdclx}</td>
			  </tr>
			  <tr height="37">
			    <td width="10%" height="37"><div align="center" class="dbtablelabe">坐落</div></td>
			    <td width="30%" colspan="4">${regBaseZdjbxx.zl}</td>
			  </tr>
			  <tr height="37">
			    <td rowspan="5" height="185" width="10%"><div align="center" class="dbtablelabe">土  地<br />
			    	状  况</div></td>
			    <td height="40" width="30%"><div align="center" class="dbtablelabe">宗地面积</div></td>
			    <td width="20%">
				    <fmt:formatNumber value="${regBaseZdjbxx.zdmj}"   pattern="#0.##"  var="formattedNumber"/>
			    	${formattedNumber}
			    </td>
			    <td width="10%"><div align="center" class="dbtablelabe">用途</div></td>
			    <td width="20%">${regBaseZdjbxx.yt}</td>
			  </tr>
			  <tr height="37">
			    <td height="37"><div align="center" class="dbtablelabe">等级</div></td>
			    <td>${fns:getDictLabel(regBaseZdjbxx.dj, 'reg_bus_tddj', '')}</td>
			    <td><div align="center" class="dbtablelabe">价格</div></td>
			    <td>${regBaseZdjbxx.jg}</td>
			  </tr>
			  <tr height="37">
			    <td height="37"><div align="center" class="dbtablelabe">权利类型</div></td>
			    <td>${fns:getDictLabel(regBaseZdjbxx.qllx, 'reg_bus_qllx', '')}</td>
			    <td><div align="center" class="dbtablelabe">权利性质</div></td>
			    <td>${fns:getDictLabel(regBaseZdjbxx.qlxz, 'reg_bus_qlxz', '')}</td>
			  </tr>
			  <tr height="37">
			    <td height="37"><div align="center" class="dbtablelabe">权利设定方式</div></td>
			    <td>${fns:getDictLabel(regBaseZdjbxx.qlsdfs, 'reg_bus_qlsdfs', '')}</td>
			    <td><div align="center" class="dbtablelabe">容积率</div></td>
			    <td>${regBaseZdjbxx.rjl}</td>
			  </tr>
			  <tr height="37">
			    <td height="37"><div align="center" class="dbtablelabe">建筑密度</div></td>
			    <td>${regBaseZdjbxx.jzmd}</td>
			    <td><div align="center" class="dbtablelabe">建筑限高</div></td>
			    <td>${regBaseZdjbxx.jzxg}</td>
			  </tr>
			  <tr height="37">
			    <td colspan="5" height="37"><div align="center" class="dbtablelabe">空间坐标、位置说明或者四至描述</div></td>
			  </tr>
			  <tr height="113">
			    <td colspan="5" height="113">
			    	${regBaseZdjbxx.zb}<br>
			    	${regBaseZdjbxx.zdszd}<br>
			    	${regBaseZdjbxx.zdszn}<br>
			    	${regBaseZdjbxx.zdszx}<br>
			    	${regBaseZdjbxx.zdszb}<br>
			    </td>
			  </tr>
			  <tr height="37">
			    <td height="37"><div align="center" class="dbtablelabe">登记时间</div></td>
			    <td><fmt:formatDate value="${zddjsj}" pattern="yyyy-MM-dd"/></td>
			    <td><div align="center" class="dbtablelabe">登簿人</div></td>
			    <td colspan="2">${zddbr}</td>
			  </tr>
			  <tr height="75">
			    <td height="75"><div align="center" class="dbtablelabe">附记</div></td>
			    <td colspan="4">${zdfj}</td>
			  </tr>
			  <tr height="37">
			    <td rowspan="${regBaseZdbhqkCount}" height="185"><div align="center" class="dbtablelabe">变  化<br />
					    情  况</div></td>
			    <td><div align="center" class="dbtablelabe">变化原因</div></td>
			    <td><div align="center" class="dbtablelabe">变化内容</div></td>
			    <td><div align="center" class="dbtablelabe">登记时间</div></td>
			    <td><div align="center" class="dbtablelabe">登簿人</div></td>
			  </tr>
			  <c:forEach items="${regBaseZdbhqkList}" var="regBaseZdbhqk" varStatus="status">
				  <tr height="37">
				    <td height="37">${regBaseZdbhqk.bhyy}</td>
				    <td>${regBaseZdbhqk.bhnr}</td>
				    <td><fmt:formatDate value="${regBaseZdbhqk.djsj}" pattern="yyyy-MM-dd"/></td>
				    <td>${regBaseZdbhqk.dbr}</td>
				  </tr>
			  </c:forEach>
		    </table>
		    <br>
	   </div>
	   
	   <!-- 不动产权利登记目录  -->
	   <div class="tab-pane fade" id="bookbdcqml">
	   	  <div>
				<label>不动产单元号</label>
				<input name="bdcdyh" id="bdcdyhtext" class="input-xxlager"/>
				<input id="btnSubmit" class="btn btn-primary" type="button" onclick="booksquerys();" value="查询"/></li>
	   	  </div>
	   	  <br>
	      <table cellspacing="0" width="800px" border="1" cellpadding="3" style="font-family:宋体">
			  <col width="72" />
			  <col width="194" />
			  <col width="124" />
			  <col width="92" />
			  <col width="98" /> 
			  <tr height="44">
			    <td colspan="5" height="44" width="580"><div align="center"><h1>不动产权利登记目录 </h1></div></td>
			  </tr>
			  <tr height="37">
			    <td height="37"><span class="dbtablelabe">序号</span></td>
			    <td><span class="dbtablelabe">不动产单元号</span></td>
			    <td><span class="dbtablelabe">不动产类型 </span></td>
			    <td><span class="dbtablelabe">所在本数</span></td>
			    <td><span class="dbtablelabe">备注</span></td>
			  </tr>
			  <tr height="37" id="wtrbdcdyh">
			    <td height="37"><span class="dbtablelabe">1</span></td>
			    <td id="Zdbdcdyh"><a href="javascript:void(0);" onclick="winOpenZd('${regBaseZdjbxx.bdcdyh}','${regBaseZdjbxx.id}','${regBaseZdjbxx.zddm}');">
			    		${regBaseZdjbxx.bdcdyh}
			    	</a>
			    </td>
			    <td>土地登记</td>
			    <td>1</td>
			    <td></td>
			  </tr>
			  <c:if test="${not empty ISDZ }">
			  	<tr height="37" id="dzfwbdcdyh">
				    <td height="37"><span class="dbtablelabe">1</span></td>
				    <td id="dzbdcdyh"><a href="javascript:void(0);" onclick="winOpenDzFw('${dzbdcdyh}');">
				    		${dzbdcdyh}
				    	</a>
				    </td>
				    <td>多幢登记</td>
				    <td>2</td>
				    <td></td>
			  	</tr>
			  </c:if>
			  <c:if test="${empty ISDZ }">
			  <tr>
			  	<td colspan="5">
			  		<table cellspacing="0" id="tbbookquerys" width="100%" border="1" cellpadding="3" style="font-family:宋体">
			  		  <col width="72" />
					  <col width="194" />
					  <col width="124" />
					  <col width="92" />
					  <col width="98" /> 
			  			<c:forEach items="${requestScope.fwbdcdyhList}" var="regBaseFwinfo" varStatus="status">
						  <tr height="37">
						    <td height="37">
						    	<input id="status" type="hidden" value="${requestScope.fwbdcdyhListSize}"/>
						    	<span class="dbtablelabe">${status.index + 2}</span>
						    </td>
						    <td id="tdfwbdcdyh">
						    	<input id="fwbdcdyh" type="hidden" value="${regBaseFwinfo.bdcdyh}"/>
						    	<a href="javascript:void(0);" onclick="winOpenFw('${regBaseFwinfo.bdcdyh}');">
					    			${regBaseFwinfo.bdcdyh}
					    		</a>
					    	</td>
						    <td>房屋登记 </td>
						    <td>${status.index + 2}</td>
						    <td> </td>
						  </tr>
						</c:forEach>
			  		</table>
			  	</td>
			  </tr>
			   <tr>
			  	<td colspan="5">
			  		<table cellspacing="0" id="tbbookquerys" width="100%" border="1" cellpadding="3" style="font-family:宋体">
			  		  <col width="72" />
					  <col width="194" />
					  <col width="124" />
					  <col width="92" />
					  <col width="98" /> 
			  			<c:forEach items="${requestScope.lmList}" var="regBaseLminfo" varStatus="status">
						  <tr height="37">
						    <td height="37">
						    	<input id="status" type="hidden" value="${requestScope.lmListSize}"/>
						    	<span class="dbtablelabe">${status.index + 2}</span>
						    </td>
						    <td id="tdfwbdcdyh">
						    	<input id="fwbdcdyh" type="hidden" value="${regBaseLminfo.bdcdyh}"/>
						    	<a href="${ctx}/reg/books/orightbook?bdcdyh=${regBaseLminfo.bdcdyh}">
					    			${regBaseLminfo.bdcdyh}
					    		</a>
					    	</td>
						    <td>森林林木登记 </td>
						    <td>${status.index + 2}</td>
						    <td> </td>
						  </tr>
						</c:forEach>
			  		</table>
			  	</td>
			  </tr>
			  </c:if>
			</table>
	   		<br>
	   </div>
	</div>
	<script>
	   $(function () {
	      $('#regBookTab li:eq(0) a').tab('show');
	   });
	</script>
	<style type="text/css" media=print>.noprint {display : none }</style>
	<div width="800" class="noprint" align="center">
		<input type=button name=show value="打印" onclick="printPage(); ">
		<br>
	</div>
</body>
</html>