62b10713977da62c3f8cfa67e9e72eb4e0f8d062.svn-base 7.19 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(); 
		var bdcrights,bdctxtBdcqzh,bdctxtQlrmc,bdctxtBdcdyh ;
		
		$(document).ready(function() {		
			bdcrights = document.getElementById('rights').value;
			bdctxtBdcqzh= document.getElementById('txtBdcqzh').value;
			bdctxtQlrmc = document.getElementById('txtQlrmc').value;
			bdctxtBdcdyh = document.getElementById('txtBdcdyh').value;
		});
		
		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;
	       	
	       	$.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 == '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 == '421'){ 
				    	var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regCardOftdgm?id="+id;
			       	}else if(djlx == '201' || djlx == '202' || djlx == '203' || djlx== "204" || djlx== "502" || djlx== "501"
		       				|| djlx == '418' || djlx == "419" || djlx == '406' || djlx == '407' || djlx == '208' 
			       			|| djlx == '405' || djlx == '602' || djlx == '401' || djlx == '601' || djlx == '410' || djlx== "411" ){
				    	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 == "301" 
			       			|| 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 == '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 == '414' || djlx == '415' || djlx == '205'  || djlx == '304' || djlx == '417' || djlx == '610'){
			       		var url =  "${ctx}/reg/bus/regBusBdcqzsdjxx/ygzyregHousesInfoView?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>
	<form:form id="searchForm"  modelAttribute="regBusBdcqzsdjxx"  action="${ctx}/reg/bus/regBusBdcqzsdjxx/allSelectInfo?djlx=${djlx}&rightsbj=1"  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}"/>
		<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
		<table>
		<tr>
			<td>确权类型&nbsp;</td>
			<td>
				<form:select path="rights" id="rights" class="input-mini ">
					<form:option value=""  label="全部确权"/>
					<form:option value="1"  label="实所有权"/>
					<form:option value="2"  label="实他项权"/>
					<form:option value="3"  label="实使用权"/>
				<%--如果是房屋查询的话,显示虚权查询 --%>
				<c:if test="${djlx == 98}">
					<form:option value="4"  label="虚所有权"/>
					<form:option value="5"  label="虚他项权"/>
					<form:option value="6"  label="虚使用权"/>
				</c:if>
				</form:select>
			</td>
			<td>&nbsp;&nbsp;&nbsp;证号&nbsp;</td>
			<td>
				<form:input id="txtBdcqzh" path="bdcqzh" htmlEscape="false" maxlength="100" class="input-medium"/>
			</td>
			<td>&nbsp;&nbsp;&nbsp;权利人&nbsp;</td>
			<td>
				<form:input id="txtQlrmc" path="qlrmc" htmlEscape="false" maxlength="100" class="input-medium"/>
			</td>
			<td>&nbsp;&nbsp;&nbsp;不动产单元号&nbsp;</td>
			<td>
				<form:input id="txtBdcdyh" path="bdcdyh" htmlEscape="false" maxlength="28" class="input-large"/>
			</td>
			<td>&nbsp;&nbsp;&nbsp;&nbsp;<input id="btnSubmit" class="btn btn-primary"  type="submit" value="查询"/></td>
			<td class="clearfix"></td>
		</tr>
	</table>
	</form:form>
	
	<sys:message content="${message}"/>

	<div id="srcBaseInfo"  class="control-group" >
			<fieldset>
				<table id="contentTable"  class="table table-striped table-bordered table-condensed" >
					<thead>
						<tr>
							<c:if test="${not empty WO}">
								<th>选择</th>
							</c:if>
							<th class="sort-column ywh">业务号</th>
							<th class="sort-column bdcdyh">不动产单元号</th>
							<th class="sort-column bdcqzh">证号</th>
							<th>登记小类</th>
							<th>坐落</th>
							<th class="sort-column qlrmc">权利人</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}');">
									${regBusBdcqzsdjxx.ywh}
								</a>
							</td>
							<td>
								${regBusBdcqzsdjxx.bdcdyh}
							</td>
							<td>
								${regBusBdcqzsdjxx.bdcqzh}
							</td>
							<td>
								${fns:getDictLabel(regBusBdcqzsdjxx.djlx, 'reg_bus_djxl', '')}
							</td>
							<td>
								${regBusBdcqzsdjxx.zl}
							</td>
							<td>
								${regBusBdcqzsdjxx.qlrmc}
							</td>
							<td>
								${fns:getDictLabel(regBusBdcqzsdjxx.qllx, 'reg_bus_qllx', '')}
							</td>
						</tr>
					</c:forEach>
					</tbody>
				</table>
				<div class="pagination">${page}</div>
		</fieldset>
	</div>
</body>
</html>