4c1caa7d4b5702fc6bfffe3860b458664d09e778.svn-base
3.48 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
<%@ 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_regBaseFdcqxm']:checked").attr("id");
$.ajax({
url:"${ctx}/reg/base/regBaseFdcqxm/canbeused",
type:"POST",
data:{"id":idValue},
dataType:"json",
success:function(data){
if("1"==data.result){
alert(data.msg);
return;
}else{
//验证成功,继续后续操作
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="regBaseFdcqxm" action="${ctx}/reg/base/regBaseFdcqxm/guideList" 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="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
</li>
<li><label>项目名称:</label>
<form:input path="xmmc" htmlEscape="false" maxlength="200" class="input-medium"/>
</li>
<li><label>幢号:</label>
<form:input path="zh" htmlEscape="false" maxlength="200" 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-striped table-bordered table-condensed">
<thead>
<tr>
<th>选择</th>
<th>不动产单元号</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="regBaseFdcqxm">
<tr>
<td>
<input type="radio" name="radio_regBaseFdcqxm" id="${regBaseFdcqxm.id}" value=""/>
</td>
<td>
${regBaseFdcqxm.bdcdyh}
</td>
<td>
${regBaseFdcqxm.xmmc}
</td>
<td>
${regBaseFdcqxm.zh}
</td>
<td>
${regBaseFdcqxm.zcs}
</td>
<td>
${fns:getDictLabel(regBaseFdcqxm.ghyt, 'reg_bus_fwyt', '')}
</td>
<td>
${fns:getDictLabel(regBaseFdcqxm.fwjg, 'reg_bus_fwjg', '')}
</td>
<td>
${regBaseFdcqxm.jzmj}
</td>
<td>
<fmt:formatDate value="${regBaseFdcqxm.jgsj}" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
<td>
${regBaseFdcqxm.zts}
</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>