6d4d652c2bb3a2cbe9c8a1121eab5402bf98f46a.svn-base 4.73 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/fwsyqzxnextform?ids="+ id +"&VIEWS=1&YWH=${YWH}&optype=update","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 djlx = '${DJLX}';
			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/fwsyqzxnextform?ids="+ id +"&YWH=${YWH}&optype=update&djlx="+djlx,"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}";
		    if(window.opener) {
	    		if(optype == undefined || optype == null || optype ==""){
	    			window.opener.qlrframe.location.reload();
	    			window.opener.dyaqframe.location.reload();
			    	window.opener.mortgageframe.location.reload();
	    		}else{
	    			window.opener.parent.document.qlrframe.location.reload();
	    			window.opener.parent.document.dyaqframe.location.reload();
		    		window.opener.parent.document.mortgageframe.location.reload();
	    		}
	    		window.close();
		    }
		}
		
		function deletelink(id){
			if(confirm('确认要删除该房屋所有权注销信息吗?')){
			//	var djlx = '${DJLX}';//此值可用
				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/fwscdelete?id="+id+"&WO=1&zx=zx&djlx=505","deletewindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			}
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/bus/regBusFdcq2/">房地产权登记信息(独幢、层、套、间房屋)列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBusFdcq2" action="${ctx}/reg/bus/regBusFdcq2/list?ywh=${YWH}&WO=${WO}&DJLX=${DJLX}&optype=${optype}" 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="${not empty WO}">
		<br>
		<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq2();" value="退出列表"/>
		<br><br>
	</c:if>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>业务号</th>
				<c:if test="${empty WO}">
					<th>不动产单元号</th>
				</c:if>
				<th>权利类型</th>
				<th>分摊土地面积</th>
				<th>建筑面积</th>
				<th>专有面积</th>
				<th>土地使用权人</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>
					${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>
					${fns:getDictLabel(regBusFdcq2.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${regBusFdcq2.fttdmj}
				</td>
				<td>
					${regBusFdcq2.jzmj}
				</td>
				<td>
					${regBusFdcq2.zyjzmj}
				</td>
				<td>
					${regBusFdcq2.tdsyqr}
				</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="javascript:void(0);" onclick="deletelink('${regBusFdcq2.id}');">删除</a>
				</td></shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>