745243846f67be2102855ffd3a26faaf1eec6d14.svn-base 7.63 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 choiceFwxx(bdcdyh){
			//弹出窗口的宽度; 
			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/openHouseInfoView?bdcdyh="+bdcdyh+"&hcx=1";
	       	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 hookSave(fybh){
			if(confirm ('确认要挂接当前交易房屋数据吗?'))
			{
			$.get('${ctx}/jy/qlr/jyQlr/hookSave?bdcdyh=${regBaseH.bdcdyh}&fybh='+fybh , function(data) {
				if (data.state){
		            alert("不动产单元号【${regBaseH.bdcdyh}】与房源编号【"+fybh+"】挂接成功");
		        	window.opener.page();
		            window.close();
				}else{
		        	top.$.jBox.tip('数据挂接失败');
				}
		    });
			}
		}
	</script>
	<style type="text/css">
div.border{ 
    height:100%;
    width:97%;
    padding:5px 0.5%; 
    margin: 10px 0.5%; 
}
span.title{
    display:block;
    width:100px;
    height:30px;
    position:relative;
    top:-15px;
    text-align: center;
    background: white;
}

.border-hui{
	border:2px solid #CCCCCC;
}
.right{
	float: right
}
.left{
	float: left
}
.row{
	width:100%;
	padding: 5px 20px;
}
.row div{
	display: inline-block;
}
.row label{ 
	text-align: right;
	display: inline-block;
}
</style>
</head>
<body style="overflow-x: hidden;">
	<div class="border border-hui" >  
        <span class="title">不动产信息</span>
        <div class="row" style="margin-top: -15px">
           
           <label style="width: 12%">不动产单元号:</label> 
		   <div  style="width: 20%">
		      	<a href="javascript:void(0);" onclick="choiceFwxx('${regBaseH.bdcdyh}')">
					${regBaseH.bdcdyh}
				</a>  
		   </div>  
		   <label style="width: 12%">项目名称:</label> 
		   <div  style="width: 20%"> 
					${regBaseH.xmmc} 
		   </div>  
		   <label style="width: 12%">建筑物名称:</label> 
		   <div  style="width: 20%">
		     		${regBaseH.jgzwmc} 
		   </div> 
        </div>
     	<div class="row">
           
           <label style="width: 12%">面积:</label> 
		   <div  style="width: 20%">
					${regBaseH.scjzmj}
		   </div>  
		   <label style="width: 12%">坐落:</label> 
		   <div  style="width: 52%"> 
					${regBaseH.zl} 
		   </div>   
        </div>
	</div>
	
	<div class="border border-hui" style="margin-bottom: 1px;padding-bottom: 20px;"> 
	<form:form id="searchForm" modelAttribute="jyQlr" action="${ctx}/jy/qlr/jyQlr/hookJy" method="post">
		<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
		<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
		<input id="bdcdyh" name="bdcdyh" type="hidden" value="${regBaseH.bdcdyh}">
		<span class="title">交易查询条件</span> 
			<div class="row" style="margin-top: -15px"> 
		            <label style="width: 12%">项目名称:</label> 
		            <div  style="width: 20%">
		                <input placeholder="项目名称"  name="xmmc" id="xmmc" value="${jyQlr.xmmc}"/>
		            </div>
		            <label style="width: 12%">建筑物名称:</label> 
		            <div  style="width: 20%">
		                <input placeholder="建筑物名称" name="jzwmc" id="jzwmc" value="${jyQlr.jzwmc}"/>
		            </div>
		            <label style="width: 12%">房源编号:</label>
		            <div  style="width: 20%">
		                <input placeholder="房源编号" name="fybh" id="fybh" value="${jyQlr.fybh}"/>
		            </div>
		    </div>
		    <div class="row"  > 
		            <label style="width: 12%">室号部位:</label> 
		            <div  style="width: 20%">
		                <input placeholder="室号部位" name="shbw" id="shbw" value="${jyQlr.shbw}"/>
		            </div>
		            <label style="width: 12%">单元:</label> 
		            <div  style="width: 20%">
		                <input placeholder="单元" name="dy" id="dy" value="${jyQlr.dy}"/>
		            </div>
		            <label style="width: 12%">楼栋建筑面积:</label>
		            <div  style="width: 20%">
		                <input placeholder="楼栋建筑面积" name="ldjzmj" id="ldjzmj" value="${jyQlr.ldjzmj}"/>
		            </div>
		    </div>
		    <div class="row"  > 
		            <label style="width: 12%">层号:</label> 
		            <div  style="width: 20%">
		                <input placeholder="层号" name="ch" id="ch" value="${jyQlr.ch}"/>
		            </div>
		             <label style="width: 12%">自然幢号:</label> 
		            <div  style="width: 20%">
		                <input placeholder="自然幢号" name="zrzh" id="zrzh" value="${jyQlr.zrzh}"/>
		            </div>
		            <label style="width: 12%">坐落:</label> 
		            <div  style="width: 20%">
		                <input placeholder="坐落"  name="zl" id="zl" value="${jyQlr.zl}"/>
		            </div> 
		    </div>
		     <div class="row"  > 
		            <label style="width: 12%">权利人名称:</label> 
		            <div  style="width: 20%">
		                <input placeholder="权利人名称" name="qlrmc" id="qlrmc" value="${jyQlr.qlrmc}"/>
		            </div>
		             <label style="width: 12%">权利人证件号:</label> 
		            <div  style="width: 20%">
		                <input placeholder="权利人证件号" name="qlrzjhm" id="qlrzjhm" value="${jyQlr.qlrzjhm}"/>
		            </div>
		            <label style="width: 12%"> </label> 
		            <div  style="width: 20%">
		                 
		            </div> 
		    </div>
			<div style="float:right;">
			    <input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
			    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			    <input id="btnCancel" class="btn" type="reset" value="重置 "/>
		    </div> 
	</form:form>
	</div>
	<sys:message content="${message}"/>
	
	<div class="border border-hui" style="margin-bottom: 1px;padding-bottom: 20px;"> 
	<span class="title">交易查询结果</span> 
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>&nbsp;&nbsp;&nbsp;操作&nbsp;&nbsp;&nbsp;</th>
				<th>房源编号</th>
				<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="${page.list}" var="jyQlr">
				<tr> 
					<td> 
						<a href="javascript:void(0);" onclick="hookSave('${jyQlr.fybh}')">挂接</a>
					</td>
					<td>${jyQlr.fybh}</td>
					<td>${jyQlr.xmmc}</td>
					<td>${jyQlr.jzwmc}</td>
					<td>${jyQlr.qzh}</td>
					<td>${jyQlr.dy}</td>
					<td>${jyQlr.hx}</td> 
					<td>${jyQlr.shbw}</td> 
					<td>
						${jyQlr.fwjg}
					</td>
					<td>${jyQlr.qlr}</td> 
					<td>${jyQlr.zjh}</td> 
					<td>${jyQlr.zl}</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
	</div>
</body>
</html>