e4ef5869e3b1560ecadd61b5f886e8b02a0845ed.svn-base 5.6 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 reloadFdcq1(){
			var optype = "${optype}";
			var regedInfoType = "${DJLX}";
		    if(window.opener) {
		    	//首次登记 
		    		if(optype == undefined || optype == null || optype ==""){
				    	window.opener.qlrframe.location.reload();
						if(window.opener.gjzwframe){
						window.opener.gjzwframe.location.reload();
						}
						if(window.opener.firstframe){
							window.opener.firstframe.location.reload();
						}
						if(window.opener.dzhousePropertbeforeframe){
						window.opener.dzhousePropertbeforeframe.location.reload();
						window.opener.dzhousePropertframe.location.reload();
						}
						
		    		}else{
			    		window.opener.parent.qlrframe.location.reload();
						if(window.opener.parent.gjzwframe){
						window.opener.parent.gjzwframe.location.reload();
						}
						if(window.opener.parent.firstframe){
							window.opener.parent.firstframe.location.reload();
						}
						if(window.opener.parent.dzhousePropertbeforeframe){
						window.opener.parent.dzhousePropertbeforeframe.location.reload();
						window.opener.parent.dzhousePropertframe.location.reload();
						}

		    		}
		    	window.close();
		    }
		}
		
		
		
		function winOpenFdcq1(id,xmid){
			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/regBusFdcq1/form?id="+ id +"&VIEWS=1&YWH=${YWH}&XMID="+xmid,"newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}
		
		function deletelink(id){
			if(confirm('确认要删除该房地产权信息和对应的已登记信息吗?')){
				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/regBusFdcq1/delete?id="+id+"&WO=1&DJLX=${DJLX}","deletewindow",
						"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
			}
		}
		
		function winOpenUpdateFdcq1(id,xmid){
			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/regBusFdcq1/form?id="+ id +"&YWH=${YWH}&optype=update&XMID="+xmid,"newwindow",
					"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="#">项目内多幢房屋权属列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBusFdcq1" action="${ctx}/reg/bus/regBusFdcq1/" method="post" class="breadcrumb form-search">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<%--
		<ul class="ul-form">
			<li><label>不动产单元号:</label>
				<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
			</li>
			<li><label>业务号:</label>
				<form:input path="ywh" htmlEscape="false" maxlength="20" class="input-medium"/>
			</li>
			<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
			<li class="clearfix"></li>
		</ul> --%>
	</form:form>
	<c:if test="${not empty WO}">
		<br>
		<input id="reLoadFdcq1" class="btn btn-primary" type="button" onclick="reloadFdcq1();" value="退出列表"/>
		<br><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>
				<c:if test="${empty LISTVIEWS}">
					<th>操作</th>
				</c:if>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBusFdcq1">
			<tr>
				<td>
					${regBusFdcq1.ywh}
				</td>
				<td>
					<a href="javascript:void(0);" onclick="winOpenFdcq1('${regBusFdcq1.id}','${regBusFdcq1.xmid}')">
					${regBusFdcq1.bdcdyh}
					</a>
				</td>
				<td>
					${regBusFdcq1.bdcqzh}
				</td>
				<td>
					${fns:getDictLabel(regBusFdcq1.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${fns:getDictLabel(regBusFdcq1.djlx, 'reg_bus_djlx', '')}
				</td>
				<td>
					${regBusFdcq1.fdzl}
				</td>
				<td>
					${regBusFdcq1.tdsyqr}
				</td>
				<!-- 
				<td>
					<fmt:formatDate value="${regBusFdcq1.djsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td> -->
				<c:if test="${empty LISTVIEWS}">
					<td>
					   <c:if test="${regBusFdcq1.djlx eq '100'}">
						<a href="javascript:void(0);" onclick="winOpenUpdateFdcq1('${regBusFdcq1.id}','${regBusFdcq1.xmid}');">修改</a>
						</c:if>
						<a href="javascript:void(0);" onclick="deletelink('${regBusFdcq1.id}');">删除</a>
					</td>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>