126f2d26fb9c9dcb55c106325dbe324664070a71.svn-base 5.79 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() {
			$("tbody > tr").bind("click",function(){
				$("tbody > tr").each(function(i){    
		             $(this).removeClass("trBggcolor");
		        });
				$(this).find('input:radio').prop('checked', true);
				$(this).addClass("trBggcolor");
			});
		});
		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 sjgxinfo(bdcdyh){
			 if(confirm('确认要向房产交易部门推送该信息吗?')){
				 $.ajax({ 
						type:"POST",
						url:"${ctx}/reg/bus/regBusSlsq/BTServiceResultQueryInfo",
						cache: false,
						data:"bdcdyh="+bdcdyh,
					    async : false,
						success:function(modelmap){
							if(modelmap.success == "0"){
								var url = "${ctx}/reg/base/regBaseH/alllist?sjgx=1";
								window.location = url;
							}else{
								alert(modelmap.msg);
								return;
							}
						}
				 });
			 }
		}
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="#">户信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBaseH" action="${ctx}/reg/base/regBaseH/alllist?sjgx=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}"/>
			<table class="table-form">
				<tr>
					<td class="tit">坐落</td>
					<td>
						<form:input path="zl" htmlEscape="false" maxlength="28" class="input-mini"/>
					</td>
					<td class="tit">单元号 </td>
					<td>
						<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-mini"/>
					</td>
					<td class="tit">户状态</td>
					<td>
						<form:select path="rights" class="input-mini ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_isrights')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="tit">状态</td>
					<td>
						<form:select path="isaudit" class="input-mini ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_isaudit')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="tit">是否抵押</td>
					<td>
						<form:select path="isdiya" class="input-mini ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_isdiya')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="tit">是否异议</td>
					<td>
						<form:select path="isyiyi" class="input-mini ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_isyiyi')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="tit">是否查封</td>
					<td>
						<form:select path="ischafeng" class="input-mini ">
							<form:option value="" label=""/>
							<form:options items="${fns:getDictList('reg_bus_ischafeng')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
						</form:select>
					</td>
					<td class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></td>
					<td class="clearfix"></td>
				</tr>
				
				<tr>
					
				</tr>
			</table>
	</form:form>
	<sys:message content="${message}"/>
	<table id="contentTable"  class="table 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>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseH">
			<tr>
				<td><a href="javascript:void(0);" onclick="choiceFwxx('${regBaseH.bdcdyh}')">
					${regBaseH.bdcdyh}
				</a></td>
				<td>
					${regBaseH.zl}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.qlxz, 'reg_bus_qlxz', '')}
				</td>
				<td>
					${regBaseH.scjzmj}
				</td> 
				<td>
					${regBaseH.sjcs}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.isaudit, 'reg_bus_isaudit', '')}
				</td>
				<td>
					${fns:getDictLabel(regBaseH.rights, 'reg_bus_isrights', '')}
				</td> 
				<td>
					${fns:getDictLabel(regBaseH.isdiya, 'reg_bus_isdiya', '')}
				</td> 
				<td>
					<c:if test="${regBaseH.ischafeng >= 100}">
						查封
					</c:if>
					<c:if test="${regBaseH.ischafeng < 100}">
						${fns:getDictLabel(regBaseH.ischafeng, 'reg_bus_ischafeng', '')}
					</c:if>
				</td> 
				<td>
					${fns:getDictLabel(regBaseH.isyiyi, 'reg_bus_isyiyi', '')}
				</td> 
				<td>
					<a href="javascript:void(0);" onclick="sjgxinfo('${regBaseH.bdcdyh}');"><span><font color="red">推送确认</font></span></a> 
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>