1530fb3e22e9e9e14583119efaa5d90952fbdb57.svn-base
3.88 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<%@ 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 btnNext(){
var checkedCount = $("input[type='radio']:checked").length;
if(checkedCount == 0){
alert("必须选择一条信息!");
return;
}
var idValue = $("input[name='radio_regBaseXm']:checked").attr("id");
$.ajax({
url:"${ctx}/reg/base/regBaseXm/canbeused",
type:"POST",
data:{"id":idValue},
dataType:"json",
success:function(data){
if("1"==data.result){
alert(data.msg);
return;
}else{
// alert("验证成功");
//验证成功,继续后续操作
var url = "${ctx}/reg/bus/regBusFdcq1/form?XMID="+idValue+"&ywh=${ywh}&djlx=${DJLX}";
window.location = url;
}
},
error:function(){
alert("数据验证过程出错");
}
});
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">项目(小区)信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBaseXm" action="${ctx}/reg/base/regBaseXm/dzguideList?YWH=${ywh }&DJLX=${DJLX }" 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>项目编码 </td>
<td>
<form:input path="xmbh" htmlEscape="false" maxlength="30" class="input-medium"/>
</td>
<td> 项目名称 </td>
<td>
<form:input path="xmmc" htmlEscape="false" maxlength="80" class="input-medium"/>
</td>
<td> 建设单位 </td>
<td>
<form:input path="jsdwmc" htmlEscape="false" maxlength="100" class="input-medium"/>
</td>
<td> 说明 </td>
<td>
<form:input path="sm" htmlEscape="false" maxlength="300" class="input-medium"/>
</td>
<td class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></td>
<td class="clearfix"></td>
</tr>
</table>
</form:form>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>选择</th>
<th>项目编码</th>
<th class="sort-column xmmc">项目名称</th>
<th>建设单位名称</th>
<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>
${regBaseXm.xmbh}
</td>
<td>
${regBaseXm.xmmc}
</td>
<td>
${regBaseXm.jsdwmc}
</td>
<td>
${fns:getDictLabel(regBaseXm.zjzl, 'reg_bus_zjlx', '')}
</td>
<td>
${regBaseXm.zjh}
</td>
<td>
${regBaseXm.sm}
</td>
<td>
<fmt:formatDate value="${regBaseXm.sqsj}" pattern="yyyy-MM-dd"/>
</td>
<td>
${regBaseXm.creater}
</td>
<td>
<fmt:formatDate value="${regBaseXm.updateDate}" pattern="yyyy-MM-dd"/>
</td>
<td>
${regBaseXm.updater}
</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>