788a8aefaa73fca732f1b8f1fcefe33b569e5097.svn-base 3.15 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/bus/regBusHisHouseBdcqzsdjxx/guideListView?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/bus/regBusHisHouseBdcqzsdjxx/hishousecflist">项目(小区)信息列表</a></li>
	</ul>
	<form:form id="searchForm" modelAttribute="regBaseXm" action="${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/hishousecflist?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 class="sort-column xmmc">项目名称</th>
				<th>申请时间</th>
				<th class="sort-column jsdwmc">建设单位名称</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>