e0f5124ea7fff74246ee728c4e587dd05c3bc883.svn-base
8.89 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
<%@ 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 houseAllInfo(zddm,zid,xmmc,ywh,djlx,ftfs){
var successbj = 1;
if(djlx != "905" && djlx != "907" && djlx != "901" ){
if(djlx == "207" && ftfs == 2){
successbj = 1;
}else{
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusBdcqzsdjxx/isTransactionTd",
cache: false,
data:"zddm="+zddm,
async : false,
success:function(modelmap){
successbj = modelmap.success;
if(modelmap.success != 1){
alert(modelmap.msg);
return;
}
}
});
}
}
if(successbj == 1){
var url = "${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/zchGuideListView?ZID="+zid+"&XMMC="+xmmc+"&ywh="+ywh+"&djlx="+djlx+"&tz=${tz}";
window.location = url;
}
}
</script>
<style>
.otable-form{width:100%;border-color:#dddddd;border:1px solid #ddd;}
.otable-form,.table-form td{background-color:#fdfdfd;padding:2px;}
.otable-form td.tit{background:#fafafa;text-align:right;padding-right:3px;white-space:nowrap;}
.caozuo{width:100%;text-align:right;margin-top:3px;margin-bottom:10px;}
</style>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/guideListView?XMID=${XMID}">自然幢信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBaseZrz" action="${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/guideListView?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}"/>
<input id="xmid" name="XMID" type="hidden" value="${XMID}" />
<ul class="ul-form">
<li> 不动产单元号:
<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-large"/>
</li>
<li><label>宗地代码:</label>
<form:input path="zddm" htmlEscape="false" maxlength="19" class="input-large"/>
</li>
<li><label style="width:100px;">建筑物名称:</label>
<form:input path="gzwmc" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
<li class="btns"><input id="btnCancel" class="btn" type="button" value="返回项目" onclick="history.go(-1)"/></li>
<li class="clearfix"></li>
</ul>
</form:form>
<sys:message content="${message}"/>
<div class="form-horizontal">
<div class="current_fwinfo">当前项目【${regBaseXmmc}】,一共包含【${zCount}】幢楼</div>
<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>
<shiro:hasPermission name="reg:base:regBaseZrz:edit"><th>操作</th></shiro:hasPermission>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBaseZrz">
<tr>
<td><a href="#">
${regBaseZrz.bdcdyh}
</a></td>
<td>
${regBaseZrz.zddm}
</td>
<td>
${regBaseZrz.gzwmc}
</td>
<td>
${regBaseZrz.xmmc}
</td>
<td>
${regBaseZrz.scjzmj}
</td>
<td>
${regBaseZrz.zcs}
</td>
<shiro:hasPermission name="reg:base:regBaseZrz:edit"><td>
<!-- <a href="${ctx}/reg/base/regBaseC/zchGuideListView?ZID=${regBaseZrz.id}&XMMC=${regBaseXmmc}&ywh=${ywh}&djlx=${DJLX}">楼盘整体信息</a>
-->
<a href="javascript:void(0);" onclick="houseAllInfo('${regBaseZrz.zddm}','${regBaseZrz.id}','${regBaseXmmc}','${ywh}','${DJLX}','${regBaseZrz.zdftfs}');">楼盘整体信息</a>
</td></shiro:hasPermission>
</tr>
</c:forEach>
</tbody>
</table>
<%--
<c:forEach items="${page.list}" var="regBaseZrz" varStatus="status">
<table class="otable-form" >
<tr>
<td colspan="8" align="left" style="padding:5px 5px 5px 25px;">
<a href="${ctx}/reg/base/regBaseZrz/form?id=${regBaseZrz.id}&VIEWS=1">
第 【${status.count}】 栋[幢]:
</a>
</td>
</tr>
<tr>
<td class="tit">标识码:</td>
<td><input value="${regBaseZrz.bsm}" type="text" class="input-small digits"/></td>
<td class="tit">要素代码:</td>
<td><input value="${regBaseZrz.ysdm}" type="text" maxlength="10" class="input-small "/></td>
<td class="tit">不动产单元号:</td>
<td><input value="${regBaseZrz.bdcdyh}" type="text" maxlength="28" class="input-small "/></td>
<td class="tit">宗地代码:</td>
<td><input value="${regBaseZrz.zddm}" type="text" maxlength="19" class="input-small required"/>
<span class="help-inline"><font color="red">*</font> </span></td>
</tr>
<tr>
<td class="tit">自然幢号:</td>
<td><input value="${regBaseZrz.zrzh}" type="text" maxlength="24" class="input-small required"/>
<span class="help-inline"><font color="red">*</font> </span></td>
<td class="tit">项目名称:</td>
<td><input value="${regBaseZrz.xmmc}" type="text" maxlength="100" class="input-small "/></td>
<td class="tit">构筑物名称:</td>
<td><input value="${regBaseZrz.gzwmc}" type="text" maxlength="100" class="input-small "/></td>
<td class="tit">竣工日期:</td>
<td><fmt:formatDate value="${regBaseZrz.jgrq}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
</tr>
<tr>
<td class="tit">建筑物高度:</td>
<td><input value="${regBaseZrz.jzwgd}" type="text" class="input-small number"/></td>
<td class="tit">幢占地面积:</td>
<td><input value="${regBaseZrz.zzdmj}" type="text" class="input-small number"/></td>
<td class="tit">幢用地面积:</td>
<td><input value="${regBaseZrz.zydmj}" type="text" class="input-small number"/></td>
<td class="tit">预测建筑面积:</td>
<td><input value="${regBaseZrz.ycjzmj}" type="text" class="input-small number"/></td>
</tr>
<tr>
<td class="tit">实测建筑面积:</td>
<td><input value="${regBaseZrz.scjzmj}" type="text" class="input-small number"/></td>
<td class="tit">总层数:</td>
<td><input value="${regBaseZrz.zcs}" maxlength="4" type="text" class="input-small digits"/></td>
<td class="tit">地上层数:</td>
<td><input value="${regBaseZrz.dscs}" maxlength="4" type="text" class="input-small digits"/></td>
<td class="tit">地下层数:</td>
<td><input value="${regBaseZrz.dxcs}" maxlength="4" type="text" class="input-small digits"/></td>
</tr>
<tr>
<td class="tit">地下深度:</td>
<td><input value="${regBaseZrz.dxsd}" type="text" class="input-small number"/></td>
<td class="tit">规划用途:</td>
<td><select class="input-small ">
<option value="${regBaseZrz.ghyt}">${fns:getDictLabel(regBaseZrz.ghyt, 'reg_bus_fwyt', '')}</option>
<c:forEach items="${fns:getDictList('reg_bus_fwyt')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
<select></td>
<td class="tit">房屋结构:</td>
<td><select class="input-small ">
<option value="${regBaseZrz.fwjg}">${fns:getDictLabel(regBaseZrz.fwjg, 'reg_bus_fwjg', '')}</option>
<c:forEach items="${fns:getDictList('reg_bus_fwjg')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
<select></td>
<td class="tit">总套数:</td>
<td><input value="${regBaseZrz.zts}" type="text" maxlength="6" class="input-small digits"/></td>
</tr>
<tr>
<td class="tit">建筑物基本用途:</td>
<td><textarea rows="2" maxlength="200" class="input-medium ">${regBaseZrz.jzwjbyt}</textarea></td>
<td class="tit">档案号:</td>
<td><input value="${regBaseZrz.dah}" type="text" maxlength="50" class="input-small "/></td>
<td class="tit">备注:</td>
<td><textarea rows="2" maxlength="200" class="input-medium ">${regBaseZrz.bz}</textarea></td>
<td class="tit">状态:</td>
<td><select class="input-small ">
<option value="${regBaseZrz.zt}">${fns:getDictLabel(regBaseZrz.zt, 'reg_bus_bdcdyzt', '')}</option>
<c:forEach items="${fns:getDictList('reg_bus_bdcdyzt')}" var="dict">
<option value="${dict.value}">${dict.label}</option>
</c:forEach>
<select></td>
</tr>
<tr>
<td colspan="8" align="right" style="padding:5px 25px 5px 5px;">
<a href="${ctx}/reg/base/regBaseC/zchGuideListView?ZID=${regBaseZrz.id}&XMMC=${regBaseXmmc}&ywh=${ywh}&djlx=${DJLX}">楼盘整体信息</a>
</td>
</tr>
</table>
</c:forEach>
--%>
</div>
<div class="pagination">${page}</div>
</body>
</html>