025f43192d9d17d996cf81bddc37bf3b9bb60cc2.svn-base 4.2 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){
			//弹出窗口的宽度; 
			var iWidth=1100; 
			//弹出窗口的高度;
	       	var iHeight=600;
	       	//获得窗口的垂直位置 
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	//获得窗口的水平位置 
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
       		var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesMs?ywh="+ywh+"&hid="+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.houseMsframe.location.reload();
		    	}else{ //更新 
		    		window.opener.parent.document.houseMsframe.location.reload();
		    	}
		    	window.close();
		    }
		} 
		
		function housedelete(id,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/houseMs?optype=1&YWH="+ywh+"&InsOrDel=Del&selectedIDs="+id,"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/houseMsList?WO=${WO}&ywh=${YWH}&LISTVIEWS=${LISTVIEWS}&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="${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>
				<th>坐落</th>
				<c:if test="${empty LISTVIEWS}">
					<th>操作</th>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseH">
			<tr>
				<td>
					${YWH}
				</td>
				<td>
					<a href="javascript:void(0);" onclick="winOpenBdcdjxx('${regBaseH.id}','${YWH}')">
						${regBaseH.bdcdyh}
					</a>
				</td>
<!-- 				<td> -->
<%-- 					${regBaseH.jgzwmc} --%>
<!-- 				</td> -->
<!-- 				<td> -->
<%-- 					${regBaseH.zrzh} --%>
<!-- 				</td> -->
				<td>
					${regBaseH.shbw}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.fwyt1, 'reg_bus_fwyt', '')}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.fwxz, 'reg_bus_fwxz', '')}
				</td>
				<td>
					${regBaseH.scjzmj}㎡
				</td>
				<td>
					${regBaseH.sctnjzmj}㎡
				</td>
				<td>
					${regBaseH.fttdmj}㎡
				</td>
				<td>
					${regBaseH.zl}
				</td>
				<c:if test="${empty LISTVIEWS}">
					<td>
						<a href="javascript:void(0);" onclick="housedelete('${regBaseH.id}','${YWH}')">删除</a>
					</td>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>