e804e6eabf36c0595f48677e02d3cba023d60d70.svn-base
3.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<%@ 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/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/base/regBaseXm/guideList">项目(小区)信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBaseXm" action="${ctx}/reg/base/regBaseXm/guideList?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}"/>
<sys:tableSort id="orderBy" name="orderBy" value="${page.orderBy}" callback="page();"/>
<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>