b0026cee4f54c11f24d708b48dc7ecd1294ae68f.svn-base 6.66 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">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		function winOpenFdcq2(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/bus/regBusFdcq2/nextHouseeditzydjForm?id="+ id +"&VIEWS=1&ywh=${YWH}","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function winOpenUpdateFdcq2(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/bus/regBusFdcq2/nextHouseeditzydjForm?id="+ id,"newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		/*
		function reloadFdcq2(){
			var optype = "${optype}";
			$.ajax({
				url:"${ctx}/reg/base/regBaseC/listChoicedFwInfoToSlsq",
				data: { "ywh": "${YWH}" },
				cache: false,
			    type: "POST",
			    dataType: "html",
				success: function (data) {
					//房屋信息返回到受理申请页面 
					//给父页面的div html()宗地基本信息的内容 通过ID 
					if(window.opener) {
						window.opener.document.getElementById('choicedFwInfo').innerHTML = data;
				    	//新增 
				    	if(optype == undefined || optype == null || optype ==""){
			    			window.opener.document.gjzwframe.location.reload();
				    	}else{ //更新 
		 		    		window.opener.parent.document.gjzwframe.location.reload();
				    	}
				    	window.close();
				    }
			    }
			});
		}*/
		function reloadFdcq2(){
	    	
			window.opener.document.gjzwframe.location.reload();
	    	window.opener.document.forenoticeframe.location.reload();
	    	window.opener.document.qlrframe.location.reload();
			window.opener.document.sjframe.location.reload();
			window.close();
		}
		function reloadFdcq3(){
			
			window.opener.parent.document.gjzwframe.location.reload();
	    	window.opener.parent.document.forenoticeframe.location.reload();
	    	window.opener.parent.document.qlrframe.location.reload();
			window.opener.parent.document.sjframe.location.reload();
			window.close();
		}
		/**
		*返回本次业务相关的房屋信息到受理申请的页面 
		*/
		function backFwxxToSlsq(){
			$.ajax({
				url:"${ctx}/reg/base/regBaseC/listChoicedFwInfoToSlsq",
				data: { "ywh": "${YWH}" },
				cache: false,
			    type: "POST",
			    dataType: "html",
				success: function (data) {
					//房屋信息返回到受理申请页面 
					//给父页面的div html()宗地基本信息的内容 通过ID 
					if(window.opener) {
						window.opener.document.getElementById('choicedFwInfo').innerHTML = data;
					}
					window.close();
			    }
			});
		}
		
		function winOpendeleteYgdj(id,dyh){
			 if(confirm('是否删除?')){
					//弹出窗口的宽度; 
					var iWidth=1100; 
					//弹出窗口的高度;
			       	var iHeight=400;
			       	//获得窗口的垂直位置 
			       	var iTop = (window.screen.height - 30 - iHeight) / 2;
			       	//获得窗口的水平位置 
			       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
					window.open("${ctx}/reg/bus/regBusFdcq2/ygzydelete?id="+ id +"&YWH=${YWH}&dyh="+dyh,"newwindow",
							"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			 }
		}
		
		function reloadYgdj(){
	    	window.close();
	    	window.opener.parent.document.gjzwframe.location.reload();
	    	window.opener.parent.document.forenoticeframe.location.reload();
	    	
	}
		
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="javascript:void(0);">房地产权登记信息列表</a></li>
	</ul>
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq2();" value="退出列表"/>
		<br><br>
	</c:if>
	<c:if test="${not empty WWO}">
		<br>
		<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq3();" value="退出列表"/>
		<br><br>
	</c:if>
	
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				
				<th hidden="hidden">要素代码</th>
				<th>业务号</th>
				<c:if test="${empty WO}">
				<th>不动产单元号</th>
				</c:if>
				<th>交易价格</th>
				<th>房屋结构</th>
				<th>登记原因</th>
<!-- 				<th>土地使用权人</th> -->
				<th>权利类型</th>
				<th>分摊土地面积</th>
				<th>建筑面积</th>
				<th hidden="hidden">区县代码</th>
				<th hidden="hidden">登记机构</th>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusFdcq2:edit"><th>操作</th></shiro:hasPermission>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusFdcq2">
			<tr>
				
				<td hidden="hidden">
					${regBusFdcq2.ysdm}
				</td>
				<td>
					${regBusFdcq2.ywh}
				</td>
				
				<c:if test="${empty WO}">
				<td>
				<a href="javascript:void(0);" onclick="winOpenFdcq2('${regBusFdcq2.id}');">
					${regBusFdcq2.bdcdyh}
				</a>
				</td>
				</c:if>
				
				
				<td>
					${regBusFdcq2.fdcjyjg}
				</td>
				<td>
					${fns:getDictLabel(regBusFdcq2.fwjg, 'reg_bus_fwjg', '')}
				</td>
				<td>
					${regBusFdcq2.djyy}
				</td>
<!-- 				<td> -->
<%-- 					${regBusFdcq2.tdsyqr} --%>
<!-- 				</td> -->
				<td>
					${fns:getDictLabel(regBusFdcq2.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${regBusFdcq2.fttdmj}
				</td>
				<td>
					${regBusFdcq2.jzmj}
				</td>
				<td hidden="hidden">
					${regBusFdcq2.fdcjyjg}
				</td>
				<td hidden="hidden">
					${fns:getDictLabel(regBusFdcq2.qxdm, 'reg_bus_xq', '')}
				</td>
				<td hidden="hidden">
					${regBusFdcq2.djjg}
				</td>
				<c:if test="${empty LISTVIEWS}">
				<shiro:hasPermission name="reg:bus:regBusFdcq2:edit"><td>
					<a href="javascript:void(0);" onclick="winOpenUpdateFdcq2('${regBusFdcq2.id}');">修改</a>
					<a href="#" onclick="winOpendeleteYgdj('${regBusFdcq2.id}','${regBusFdcq2.bdcdyh}')">删除</a>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
</body>
</html>