fcc131eeb505e6b77c2fa5931f14921f09f4777d.svn-base 6.27 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 winOpenSllm(id){
			//弹出窗口的宽度; 
			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}/reg/base/regBaseSllm/oneOfAllForm?id="+ id +"&VIEWS=1","newwindow_sllmview",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
		}

		function winOpenUpdateSllm(id){
        	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}/reg/base/regBaseSllm/oneOfAllForm?id="+id+"&qjcx=1","newwindow",
					"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
      	}
		
		  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?sllm=1&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="regBaseSllm" action="${ctx}/reg/base/regBaseSllm/alllist" 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}"/>
		<ul class="ul-form">
			<li>
				<label style="width:100px;">不动产单元号:</label> 
				<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-large"/>
			</li>
			<li>
				<label>坐落:</label>
				<form:input path="zl"  htmlEscape="false"  maxlength="200" class="input-xlarge"/>
			</li>
			<li>
				<label>状态:</label>
				<form:select path="isaudit" class="input-xlarge" style="width:75px;">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_isaudit')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</li>
			<li>
				<label>抵押:</label>
				<form:select path="isdiya" class="input-xlarge" style="width:75px;">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_isdiya')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</li>
			<li>
				<label>查封:</label>
				<form:select path="ischafeng" class="" style="width:75px;">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_ischafeng')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
				</form:select>
			</li>
			<li>
				<label>异议:</label>
				<form:select path="isyiyi" class="" style="width:75px;">
					<form:option value="" label=""/>
					<form:options items="${fns:getDictList('reg_bus_isyiyi')}" 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>
		</ul>
	</form:form> 
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>不动产单元号</th>
				<th>坐落</th>
				<th>使用权面积</th>
				<th>权利类型</th>
				<th>是否抵押</th>
				<th>是否查封</th>
				<th>是否异议</th>
				<shiro:hasPermission name="reg:base:regBaseSllm:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseSllm">
			<tr>  
				<td>
					<a href="javascript:void(0);" onclick="winOpenSllm('${regBaseSllm.id}');">
						${regBaseSllm.bdcdyh}
					</a>
				</td>
				<td>
					${regBaseSllm.zl}
				</td>
				<td>
					${regBaseSllm.syqmj}
				</td>
				<td>
					${fns:getDictLabel(regBaseSllm.qllx, 'reg_bus_qllx', '')}
				</td>
				<td>
					${fns:getDictLabel(regBaseSllm.isdiya, 'reg_bus_isdiya', '')}
				</td> 
				<td>
					<c:if test="${regBaseSllm.ischafeng eq 0}">
						${fns:getDictLabel(regBaseSllm.ischafeng, 'reg_bus_ischafeng', '')}
					</c:if>
					<c:if test="${regBaseSllm.ischafeng ne 0}">
						<span class="help-inline"><font color="red">
						查封
						</font></span>
					</c:if>
				</td>
				<td>
					<c:if test="${regBaseSllm.isyiyi eq 0}">
						${fns:getDictLabel(regBaseSllm.isyiyi, 'reg_bus_isyiyi', '')}
					</c:if>
					<c:if test="${regBaseSllm.isyiyi ne 0}">
						<span class="help-inline"><font color="red">
						${fns:getDictLabel(regBaseSllm.isyiyi, 'reg_bus_isyiyi', '')}
						</font></span>
					</c:if>
				</td>
				<td><a href="javascript:void(0);" onclick="gisMap('${regBaseSllm.id}');">GIS</a></td>
				<shiro:hasPermission name="reg:base:regBaseSllm:edit"><td>
				<c:if test="${regBaseSllm.isaudit eq '0'}">
    				<a href="javascript:void(0);" onclick="winOpenUpdateSllm('${regBaseSllm.id}');">修改</a>
					<a href="${ctx}/reg/base/regBaseSllm/delete?id=${regBaseSllm.id}&qjcx=1" onclick="return confirmx('确认要删除该森林、林木信息吗?', this.href)">删除</a>
				</c:if>
				<c:if test="${regBaseSllm.isaudit eq '1'}">
					<a href="${ctx}/reg/base/regBaseSllm/unaudit?id=${regBaseSllm.id}&qjcx=1" onclick="return confirmx('确认要反审核森林、林木信息吗?', this.href)">反审核</a>
				</c:if>
				<c:if test="${regBaseSllm.isaudit eq '2'}">
					已引用
				</c:if>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>