4dbd86ca72c29a53bab074e220c358125a564ed6.svn-base 5.66 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 src="${ctxStatic}/gis/js/init.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/OpenLayers.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/zdclient.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/jquery.orbit-1.2.3.js" type="text/javascript"></script>    
    <script src="${ctxStatic}/gis/js/global.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/js/config.js" type="text/javascript"></script>
   
	<script type="text/javascript">
	    var tempMapValue;
	    var selItems = new Array(); 
		$(document).ready(function() {
			$("tbody > tr").bind("click",function(){
				$("tbody > tr").each(function(i){    
		             $(this).removeClass("trBgcolor");
		        });
				$(this).find('input:radio').prop('checked', true);
				$(this).addClass("trBgcolor");
			});
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
		
		function reload(){
		    if(window.opener) {		
		    	window.opener.location.reload();	
		    	window.close();	
		    }
		}
		
		function auditHisDjxx(id,isaudit){
			 if(isaudit == '1'){
				  alert("已审核的数据不能重复审核!");
				  return;
			  }
		}
		
		function addHisData(){
			var idValue = $("input[name='radio_Bdcqzsdjxx']:checked").attr("id");
			if(idValue == undefined || idValue == null || idValue ==""){
				alert("请选择土地证书信息");
				return;
			}else{
				$.ajax({
					type:"POST", 
					url:"${ctx}/reg/bus/regBusHisBdcqzsdjxx/tddyinfoquery", 
					cache: false, 
					data:"ids="+idValue,
				    async : false,  
					success:function(modelmap){
						var msg = modelmap.msg;
						if(modelmap.success == 0){
							window.opener.addHisData(idValue);
					       	window.close();
						}
						if(modelmap.success == 1){
							alert(msg);
							return;
						}
					}
				});
			}
		}
		
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/bus/regBusHisBdcqzsdjxx/tdlslist">选择可查封的土地历史已登记信息</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBusHisBdcqzsdjxx" action="${ctx}/reg/bus/regBusHisBdcqzsdjxx/tdlslist" 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}"/>
		<c:if test="${empty WO}">
		<ul class="ul-form">
			<li>不动产权证书号&nbsp;&nbsp;&nbsp;
				<form:input path="bdcqzh" htmlEscape="false" maxlength="12" class="input-xlarge"/>
			</li>
			<li>&nbsp;&nbsp;&nbsp;权利人&nbsp;&nbsp;&nbsp;
				<form:input path="qlrmc" htmlEscape="false" maxlength="100" class="input-medium"/>
			</li>
			<li>&nbsp;&nbsp;&nbsp;不动产单元号&nbsp;&nbsp;&nbsp;
				<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
			</li>
<!-- 			<li>&nbsp;&nbsp;&nbsp;权利类型&nbsp;&nbsp;&nbsp; -->
<%-- 				<form:select path="qllx" class="input-medium"> --%>
<%-- 					<form:option value="" label=""/> --%>
<%-- 					<form:options items="${fns:getDictList('reg_bus_qllx')}" itemLabel="label" itemValue="value" htmlEscape="false"/> --%>
<%-- 				</form:select> --%>
<!-- 			</li> -->
			<li class="btns"><input id="btnSubmit" class="btn btn-primary"  type="submit" value="查询"/></li>
			<li class="clearfix"></li>
			<shiro:hasPermission name="reg.bus:regBusHisBdcqzsdjxx:edit">
				<li class="btns"><input id="btnAdd"  class="btn btn-primary"  type="button"  onclick="addHisData();"  value="土地证书选择"/></li>
			</shiro:hasPermission>
			
		</ul>
		</c:if>
	</form:form>
	<sys:message content="${message}"/>
	
	<div id="srcBaseInfo"  class="control-group" >
	<fieldset>
		<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="regBusHisBdcqzsdjxx">
			<tr>
				<td><input type="radio" name="radio_Bdcqzsdjxx"  id="${regBusHisBdcqzsdjxx.id}" value=""/></td>
				<td>
					<a href="#"  onclick="winOpenHisDjxx('${regBusHisBdcqzsdjxx.id}');">${regBusHisBdcqzsdjxx.ywh}</a>
					<input type="hidden"  name="isaudit"  id="${regBusHisBdcqzsdjxx.isaudit}"  value=""/>
				</td>
				<td>
					${regBusHisBdcqzsdjxx.bdcdyh}
				</td>
				<td>
					${regBusHisBdcqzsdjxx.zddm}
				</td>
				<td>
					${regBusHisBdcqzsdjxx.bdcqzh}
				</td>
				<td>
					${fns:getDictLabel(regBusHisBdcqzsdjxx.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${fns:getDictLabel(regBusHisBdcqzsdjxx.qlxz, 'reg_bus_qlxz', '')}
				</td>
				<td>
					${regBusHisBdcqzsdjxx.yt}
				</td>
				<td>
					<fmt:formatNumber value ="${regBusHisBdcqzsdjxx.zdmj}" pattern=".0"/>
				</td>
				<td>
					${regBusHisBdcqzsdjxx.bz}
				</td>
				<c:if test="${regBusHisBdcqzsdjxx.isaudit eq 1}">
					<shiro:hasPermission name="reg.bus:regBusHisBdcqzsdjxx:edit">
						<td>
		    				<a href="#" onclick="auditHisDjxx('${regBusHisBdcqzsdjxx.id}','${regBusHisBdcqzsdjxx.isaudit}');">已审核</a>
						</td>
					</shiro:hasPermission>
				</c:if>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	</fieldset>
	</div>
	<div class="pagination">${page}</div>
</body>
</html>