6b3533ea77ed63588a8c5f50e1b3534f44a658ff.svn-base 3.06 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("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 btnNext(){
			var checkedCount = $("input[type='radio']:checked").length;
			if(checkedCount == 0){
				alert("必须选择一条信息!");
				return;
			}
			var idValue = $("input[name='radio_regBaseXm']:checked").attr("id");
			var url =  "${ctx}/reg/base/regBaseZrz/guidebgListView?XMID="+idValue+"&ywh=${ywh}&djlx=${DJLX}&tz=${tz}";
			window.location = url;
		}
		
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/reg/base/regBaseXm/guideList">项目(小区)信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBaseXm" action="${ctx}/reg/base/regBaseXm/guideHousesbgList?DJLX=${DJLX}&YWH=${ywh}&djlx=${DJLX}&tz=${tz}" 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>项目编码:</label>
				<form:input path="xmbh" htmlEscape="false" maxlength="30" class="input-medium"/>
			</li>
			<li><label>项目名称:</label>
				<form:input path="xmmc" htmlEscape="false" maxlength="80" class="input-medium"/>
			</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-bordered table-condensed">
		<thead>
			<tr>
				<th>选择</th>
				<th>项目编码</th>
				<th>项目名称</th>
				<th>申请时间</th>
				<th>建设单位名称</th>
				<th>说明</th>
				<th>更新时间</th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="regBaseXm">
			<tr>
				<td>
					<input type="radio" name="radio_regBaseXm"  id="${regBaseXm.id}" value=""/>
				</td>
				<td><a href="#">
					${regBaseXm.xmbh}
				</a></td>
				<td>
					${regBaseXm.xmmc}
				</td>
				<td>
					<fmt:formatDate value="${regBaseXm.sqsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
				<td>
					${regBaseXm.jsdwmc}
				</td>
				<td>
					${regBaseXm.sm}
				</td>
				<td>
					<fmt:formatDate value="${regBaseXm.updateDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
				</td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
	<div id="btnGroup" class="control-group">
		<input id="btnNext"  class="btn btn-primary"  type="button"  onclick="btnNext();" value="下一步"/>
	</div>
</body>
</html>