be0305b900545a00924fbd5e20214a1e7abbaa5b.svn-base 12.1 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" >

		var selItems = new Array();
		
		$(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 cxfs = "${cxfs}";//查询统计--基础信息查询楼盘传入标记
			if(cxfs == null || cxfs == "" || cxfs == undefined){
		       	$.ajax({ 
					type:"POST", 
					url:"${ctx}/reg/bus/regBusBdcqzsdjxx/getInfo", 
					cache: false, 
					data:"id="+id,
				    async : false,  
					success:function(modelmap){
						var djlx = modelmap.djlx;
						if(djlx == '214' || djlx == '215' || djlx == '515' || djlx == '317' || djlx == '424' 
				       		|| djlx == '318' || djlx == '608' || djlx == '433'  || 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 == '201' || djlx == '202' || djlx == '203' || djlx== "204" 
			       				|| djlx == '418' || djlx == "419" || djlx == '401' || djlx == '601' || djlx == '208'
			       				|| djlx == '410' || djlx== "411" || djlx== "502" || djlx== "501"
				       			|| djlx == '405' || djlx == '602' || djlx == '406' || djlx == '407'){
					    	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"
				       			|| djlx == "905" || djlx == "906" || djlx == "907" || djlx == "908"){
				       		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;
				       	}else if(djlx == '429'){
				       		var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesInfoView?id="+id;
				       	}
					    window.open(url, "lpxxwindow", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
					}
				});
			}else{
				var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/selectZh?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");
			}
		}
		
	</script>
</head>

<body>
	<ul id="regBusBdcqzsdjxx" class="nav nav-tabs">
		<li><a href="#regBaseHList" data-toggle="tab">房屋基本信息</a></li>
		<c:if test="${empty isyw}">
		<li><a href="#regBusBdcqzsdjxxList" data-toggle="tab">房屋已登记业务列表</a></li>
		</c:if>
		<li><a href="#listregBusBdcqzsdjxx" data-toggle="tab">权属关系</a></li>
		<c:if test="${isfghb eq 'hb'}">
	    <li> <a href="#hbfgregBusBdcqzsdjxx" data-toggle="tab">合并前业务列表</a></li>
	    </c:if>
		<c:if test="${isfghb eq 'fg'}">
	    <li> <a href="#hbfgregBusBdcqzsdjxx" data-toggle="tab">分割前业务列表</a></li>
	    </c:if>
	    <c:if test="${not empty regBaseH.fhtImage}">
	    <li> <a href="#hxfht" data-toggle="tab">分户图</a></li>
	     </c:if>
	</ul>
	<br />
	<div id="myTabContent" class="tab-content">
		<div id="regBaseHList"  class="tab-pane fade in active" >
			<form:form id="inputForm" modelAttribute="regBaseH"  action="${ctx}/reg/bus/regBusBdcqzsdjxx/openHouseInfoView?cxfs=1&bdcdyh=${regBaseH.bdcdyh}"  method="post"  class="form-horizontal">
			<table class="table ">
				<tr>
					<td>【房屋编码】:${regBaseH.fwbm}</td>
					<td>【坐落】:${regBaseH.zl}</td>
					<td>【权属状态】:${fns:getDictLabel(regBaseH.rights, 'reg_bus_isrights', '')}</td>
				</tr>
				<tr>
					<td>【不动产单元号】:${regBaseH.bdcdyh}</td>
					<td>【户型】:${fns:getDictLabel(regBaseH.hx, 'reg_bus_hx', '')}</td>
					<td>【层高(㎡)】:${cg}</td>
				</tr>
				<tr>
					<td>【实测建筑面积(㎡) 】:${regBaseH.scjzmj}</td>
					<td>【实测套内建筑面积(㎡) 】:${regBaseH.sctnjzmj}</td>
					<td>【分摊面积(㎡) 】:${regBaseH.scftjzmj}</td>
				</tr>
				<tr>
					<td>【房屋用途】:${fns:getDictLabel(regBaseH.fwyt1, 'reg_bus_fwyt', '')}</td>
					<td>【房屋性质】:${fns:getDictLabel(regBaseH.fwxz, 'reg_bus_fwxz', '')}</td>
					<td>【分摊土地面积】:${regBaseH.fttdmj}</td>
				</tr>
				<tr>
					<td>【状态】:${fns:getDictLabel(regBaseH.zt, 'reg_bus_bdcdyzt', '')}</td>
					<td>【抵押状态】:${fns:getDictLabel(regBaseH.isdiya, 'reg_bus_isdiya', '')}</td>
					<td>【查封状态】:${fns:getDictLabel(regBaseH.ischafeng, 'reg_bus_ischafeng', '')}</td>
				</tr>
				<tr>
					<td>【异议状态】:${fns:getDictLabel(regBaseH.isyiyi, 'reg_bus_isyiyi', '')}</td>
					<td>【户型结构】:${fns:getDictLabel(regBaseH.hxjg, 'reg_bus_hxjg', '')}</td>
					<td>【建筑结构】:${fns:getDictLabel(fwjg, 'reg_bus_fwjg', '')}</td>
				</tr>
				<c:if test="${not empty cxfs}">
					<tr>
						<td>【分层分户图】:<form:hidden id="fcfht" path="fcfht" htmlEscape="false" maxlength="4000" class="input-small"/>
						<sys:ckfinder input="fcfht" type="files" ywType="fwhx" readonly="true" uploadPath="/reg/base/regBaseH/${YEAR}/${MONTH}/${ZBM_CH}" selectMultiple="true"/>
						</td>
						<td>【宗地分摊方式】:${fns:getDictLabel(zdftfs, 'reg_bus_zdftfs', '')}</td>
						<td></td>
					</tr>
				</c:if>
				</table>
				</form:form>
		</div>
		
		<div id="regBusBdcqzsdjxxList"  class="tab-pane fade" >
			<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
			<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
			<fieldset>
				<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>
						</tr>
					</thead>
					<tbody>
					<c:forEach items="${page.list}" var="regBusBdcqzsdjxx">
						<tr>
							<td>
								<a href="javascript:void(0);" onclick="winOpenBdcdjxx('${regBusBdcqzsdjxx.id}','${regBusBdcqzsdjxx.ywh}')">
								详细
								</a>
							</td>
							<td>
								${regBusBdcqzsdjxx.ywh}
							</td>
							<td>
								${regBusBdcqzsdjxx.bdcqzh}
							</td>
							<td>
								${regBusBdcqzsdjxx.djlx}
							</td>
							<td>
								${regBusBdcqzsdjxx.qlgyr}
							</td>
							<td>
								${regBusBdcqzsdjxx.bjbz}
							</td>
							<td>
								<fmt:formatDate value="${regBusBdcqzsdjxx.createDate}" pattern="yyyy-MM-dd"/>
							</td>
							<td>
								${regBusBdcqzsdjxx.updatesj}
							</td>
							<td>
								${regBusBdcqzsdjxx.creater}
							</td>
						</tr>
					</c:forEach>
					</tbody>
				</table>
			<div class="pagination">${page}</div>
		</fieldset>
	</div>
	<div id="listregBusBdcqzsdjxx"  class="tab-pane fade" >
			<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
			<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
			<fieldset>
				<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>
						</tr>
					</thead>
					<tbody>
					<c:forEach items="${page.list}" var="regBusBdcqzsdjxx">
						<tr>
							<td>
								${fwbm}
							</td>
							<td>
								${fns:getDictLabel(regBusBdcqzsdjxx.qllx, 'reg_bus_qllx', '')}
							</td>
							<td>
								${regBusBdcqzsdjxx.qqbz}
							</td>
							<td>
								${regBusBdcqzsdjxx.firstqlrlx}
							</td>
							<td>
								${regBusBdcqzsdjxx.qlrmc}
							</td>
							<td>
								${regBusBdcqzsdjxx.bdcqzh}
							</td>
							<td>
								${regBusBdcqzsdjxx['islogout']}
							</td>
							<td>
								${regBusBdcqzsdjxx.dbsj}
							</td>
						</tr>
					</c:forEach>
					</tbody>
				</table>
			<div class="pagination">${page}</div>
		</fieldset>
	</div>
	<c:if test="${isfghb eq 'hb' or isfghb eq 'fg'}">
	<div id="hbfgregBusBdcqzsdjxx"  class="tab-pane fade" >
			<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
			<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
			<fieldset>
				<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>
						</tr>
					</thead>
					<tbody>
					<c:forEach items="${hbfgregBusBdcqzsdjxxlistmap}" var="hbfgregBusBdcqzsdjxx">
						<tr>
							<td>
								<a href="javascript:void(0);" onclick="winOpenBdcdjxx('${hbfgregBusBdcqzsdjxx['id']}','${hbfgregBusBdcqzsdjxx['ywh']}')">
								详细
								</a>
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['ywh']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['bdcdyh']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['bdcqzh']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['djlx']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['qlgyr']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['bjbz']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['createDate']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['updatesj']}
							</td>
							<td>
								${hbfgregBusBdcqzsdjxx['creater']}
							</td>
						</tr>
					</c:forEach>
					</tbody>
				</table>
			<div class="pagination">${page}</div>
		</fieldset>
	</div>
	</c:if>
	
	<div id="hxfht"  class="tab-pane fade" >
		 
		<img style="text-align: center;padding: 0 10px 10px 20px;" alt="分户图" src='/ODM/userfiles/${regBaseH.fhtImage}'>
	</div>
	<legend></legend>
	<c:if test="${empty hcx}">
	<input id="btnCancel" class="btn btn-primary" type="button" value="返回" onclick="history.go(-1)"/>
	</c:if>
	<c:if test="${not empty hcx}">
	<input id="btnCancel" class="btn btn-primary" type="button" value="关闭" onclick="window.close()"/>
	</c:if>
	</div>
	<script>
	   $(function () {
	      $('#regBusBdcqzsdjxx li:eq(0) a').tab('show');
	   });
	</script>
</body>
</html>