c7c0ec3539adf551c9b7953851e8da11eab3c5ee.svn-base 6.34 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 winOpenBdcdjxx(id,ywh,djlx){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
	       	//预告抵押
	       	if(djlx == '214' || djlx == '215' || djlx == '515' || djlx == '317' || djlx == '424' 
	       		|| djlx == '318' || djlx == '608' || djlx == '433' || djlx == '426'){
	       		var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesCardxf?ywh="+ywh+"&id="+id;
	       	}else if(djlx == '213' || djlx == '509' || djlx == '316' || djlx == '606' || djlx == '431' 
	       		|| djlx == '427' || djlx == '428'){
		    	var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesCardzjgc?ywh="+ywh+"&id="+id;
	       	}else if(djlx == '804' || djlx == '807' || djlx== "510" || djlx == "513" 
	       		 || djlx == '818' || djlx == '432' || djlx == '607' || djlx == '423'){
		    	var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesCardyg?ywh="+ywh+"&id="+id;
	       	}else if(djlx == '421'){ 
		    	var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regCardOftdgm?id="+id;
	       	}else if(djlx == '201' || djlx == '202' || djlx == '203' || djlx == "204" || djlx == '208'
       				|| djlx == '406' || djlx == '407' || djlx == '418' || djlx == "419" 
	       			|| djlx == '405' || djlx == '602' || djlx == '401' || djlx == '601'){
		    	var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regTdCardsc?ywh="+ywh+"&id="+id;
	       	}else if(djlx == '209' || djlx == '507' || djlx == '315' || djlx == '605' || djlx == '430' || djlx == '217'){
		    	var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regTdCarddy?ywh="+ywh+"&id="+id;
	       	}else if(djlx== "806" || djlx == "302" 
	       			|| djlx == "811"   || djlx == "812"   || djlx == "810"   || djlx == "609" 
	       			|| djlx == "416"   || djlx == "809"   || djlx == "819"   || djlx == "422" 
	       			|| djlx == '905' || djlx == '906' || djlx== "703" || djlx == "704" 
	       			|| djlx == '512' || djlx == '305' || djlx== "306" || djlx == "307" 
	       			|| djlx == '901' || djlx == '904' || djlx== "701" || djlx == "702"){
	       		var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/ygzyregHousesInfoView?id="+id;
	       	}else if(djlx == '803' || djlx == '207' || djlx == '511' || djlx == '505' 
	       			|| djlx == '403' || djlx == '404' || djlx == '402' || djlx == '604'){
	       		var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesInfoView?id="+id;
	       	}
	       	window.open(url, "窗口", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
		}
		
		function reloadDyaq(){
			var optype = "${optype}";
		    if(window.opener) {
		    	//新增 
		    	if(optype == undefined || optype == null || optype ==""){
		    		window.opener.mortgageframe.location.reload();
		    		window.opener.qlrframe.location.reload();
		    	}else{ //更新 
		    		window.opener.parent.document.mortgageframe.location.reload();
		    		window.opener.parent.document.qlrframe.location.reload();
		    	}
		    	window.close();
		    }
		} 
		
		function hzbzdelete(ywh){
			 if(confirm('确认要删除该换证补证信息吗?')){
				 var deleteDjlx = '${djlx}';
				//弹出窗口的宽度; 
				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/regBusBdcqzsdjxx/hzbzDelete?ywh="+ywh+"&deleteDjlx="+deleteDjlx,"newwindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			 }
		}
	
	</script>
</head>
<body>
	<form:form id="searchForm" modelAttribute="regBusBdcqzsdjxx" action="${ctx}/reg/bus/regBusBdcqzsdjxx/hzbzlist?WO=${WO}&YWH=${YWH}&LISTVIEWS=${LISTVIEWS}" method="post" class="">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
	</form:form>
	<c:if test="${empty WO}">
		<br>
			<input id="reLoadDyaq" class="btn btn-primary" type="button" onclick="reloadDyaq();" value="退出列表" />
		<br>
	</c:if>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>业务编号</th>
				<th>不动产单元号</th>
				<th>权利人</th>
				<th>共有情况</th>
<!-- 				<th>原不动产权证号</th> -->
				<th>不动产权证号</th>
				<th>坐落</th>
				<th>权利类型</th>
				<th>权利性质</th>
				<th>用途</th>
				<c:if test="${empty LISTVIEWS}">
					<th>操作</th>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusBdcqzsdjxx">
			<tr>
				<td>
					${regBusBdcqzsdjxx.ywh}
				</td>
				<td>
					<a href="javascript:void(0);" onclick="winOpenBdcdjxx('${regBusBdcqzsdjxx.id}','${regBusBdcqzsdjxx.ywh}','${regBusBdcqzsdjxx.djlx}')">
							${regBusBdcqzsdjxx.bdcdyh}
					</a>
				</td>
				<td>
					${regBusBdcqzsdjxx.qlrmc}
				</td>
				<td>
					${regBusBdcqzsdjxx.gyqk}
				</td>
<!-- 				<td> -->
<%-- 					${ybdcqzh} --%>
<!-- 				</td> -->
				<td>
					${regBusBdcqzsdjxx.bdcqzh}
				</td>
				<td>
					${regBusBdcqzsdjxx.zl}
				</td>
				<td>
					${fns:getDictLabel(regBusBdcqzsdjxx.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${regBusBdcqzsdjxx.qlxz}
				</td>
				<td>
					${regBusBdcqzsdjxx.yt}
				</td>
				<c:if test="${empty LISTVIEWS}">
					<td>
						<a href="javascript:void(0);" onclick="hzbzdelete('${regBusBdcqzsdjxx.ywh}')">删除</a>
					</td>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>