914ba3a26ff76b6523177ca40b9e5a4b83a8eb73.svn-base 4.45 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"/>
	 <link href="${ctxStatic}/gis/lib/jqueryEasyui/easyui.css" rel="stylesheet" type="text/css" />
    <link href="${ctxStatic}/gis/lib/jqueryEasyui/icon.css" rel="stylesheet" type="text/css" />
    <script src="${ctxStatic}/gis/lib/jqueryEasyui/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="${ctxStatic}/gis/lib/jquery-1.8.0.min.js" type="text/javascript"></script>
     <script src="${ctxStatic}/gis/lib/jquery.orbit-1.2.3.js" type="text/javascript"></script>    
	<script type="text/javascript">
		$(document).ready(function() {
		
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        } 

        function gisMap(txt){
        	var iWidth=1100; 
	       	var iHeight=600;
	       	var iTop = (window.screen.height - 30 - iHeight) / 2;
	       	var iLeft = (window.screen.width - 10 - iWidth) / 2;
			window.open("${ctx}/gis/web/gisController/GisMap?txt="+txt,"newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
            }
	</script>
</head>
<body>
	<form:form id="searchForm" modelAttribute="regBaseZdjbxx" action="${ctx}/reg/base/regBaseZdjbxx/booklist" 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  class="tit">宗地代码 &nbsp;</td>
			<td>
				<form:input path="zddm" htmlEscape="false" maxlength="19" class="input-medium"/>
			</td>
			<td  class="tit">&nbsp;&nbsp;&nbsp;权利人&nbsp;</td>
			<td>
				<form:input path="qlrxm" htmlEscape="false" maxlength="50" class="input-medium"/>
			</td>
			<td  class="tit">&nbsp;&nbsp;&nbsp;宗地面积㎡&nbsp;</td>
			<td>
				<form:input path="zdmj" htmlEscape="false" maxlength="28" class="input-medium"/>
			</td>
			<td  class="tit">&nbsp;&nbsp;&nbsp;坐落&nbsp;</td>
			<td>
				<form:input path="zl" htmlEscape="false" maxlength="200" class="input-xlarge"/>
			</td>
			
			<td class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></td>
			<td class="clearfix"></td>
		</tr>
	</table>
	</form:form>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr> 
				<th  class="sort-column zddm">宗地代码</th>
				<th  class="sort-column bdcdyh">不动产单元号</th>
				<th>坐落</th>
				<th  class="sort-column zdmj">宗地面积</th>
				<th>面积单位</th>
<!-- 				<th>价格</th> -->
				<th  class="sort-column qlrxm">权利人</th>
				<th>权利类型</th>
                <th>宗地图</th>				
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseZdjbxx">
			<tr> 
				<td>${regBaseZdjbxx.zddm}</td>
				<td>${regBaseZdjbxx.bdcdyh}</td> 
				<td>
					${regBaseZdjbxx.zl}
				</td>
				<td>
					${regBaseZdjbxx.zdmj}
				</td>
				<td>
					${fns:getDictLabel(regBaseZdjbxx.mjdw, 'reg_bus_mjdw', '')}
				</td>
<!-- 				<td> -->
<%-- 					${regBaseZdjbxx.jg} --%>
<!-- 				</td> -->
				<td>
					${regBaseZdjbxx.qlrxm}
				</td>
				
                <td>
					${fns:getDictLabel(regBaseZdjbxx.qllx, 'reg_bus_qllx', '')}
				</td>
                <td id="${regBaseZdjbxx.id}">
				<script type="text/javascript">
				
				     var zdts = '${regBaseZdjbxx.zdt}'
					 var zdt = new Array();
				     zdt = zdts.split("|");
					 var info="";
					 console.log(zdt);
					 for (var i = 0; i<zdt.length;i++){
						 if(zdt[i] != ""){
							 var link = new Array();
							 link = zdt[i].split("/");
						 var name = link[link.length-1];
						 info = info +"<a href='"+zdt[i]+"?ma=${math}' target='_blank'>"+name+"</a><br>"
					 }
					 }
				
					 document.getElementById("${regBaseZdjbxx.id}").innerHTML = info;
				
				 </script>
				 </td>				
				<td>
					<a href="${ctx}/reg/books/book?id=${regBaseZdjbxx.id}&zddm=${regBaseZdjbxx.zddm}">登记簿</a>|
					<a href="#" onclick="gisMap('${regBaseZdjbxx.id}')">GIS</a>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>