4dbd86ca72c29a53bab074e220c358125a564ed6.svn-base
5.66 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
<%@ 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 src="${ctxStatic}/gis/js/init.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/lib/OpenLayers.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/lib/zdclient.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/lib/jquery.orbit-1.2.3.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/js/global.js" type="text/javascript"></script>
<script src="${ctxStatic}/gis/js/config.js" type="text/javascript"></script>
<script type="text/javascript">
var tempMapValue;
var selItems = new Array();
$(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 reload(){
if(window.opener) {
window.opener.location.reload();
window.close();
}
}
function auditHisDjxx(id,isaudit){
if(isaudit == '1'){
alert("已审核的数据不能重复审核!");
return;
}
}
function addHisData(){
var idValue = $("input[name='radio_Bdcqzsdjxx']:checked").attr("id");
if(idValue == undefined || idValue == null || idValue ==""){
alert("请选择土地证书信息");
return;
}else{
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusHisBdcqzsdjxx/tddyinfoquery",
cache: false,
data:"ids="+idValue,
async : false,
success:function(modelmap){
var msg = modelmap.msg;
if(modelmap.success == 0){
window.opener.addHisData(idValue);
window.close();
}
if(modelmap.success == 1){
alert(msg);
return;
}
}
});
}
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/bus/regBusHisBdcqzsdjxx/tdlslist">选择可查封的土地历史已登记信息</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBusHisBdcqzsdjxx" action="${ctx}/reg/bus/regBusHisBdcqzsdjxx/tdlslist" 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}"/>
<c:if test="${empty WO}">
<ul class="ul-form">
<li>不动产权证书号
<form:input path="bdcqzh" htmlEscape="false" maxlength="12" class="input-xlarge"/>
</li>
<li> 权利人
<form:input path="qlrmc" htmlEscape="false" maxlength="100" class="input-medium"/>
</li>
<li> 不动产单元号
<form:input path="bdcdyh" htmlEscape="false" maxlength="28" class="input-medium"/>
</li>
<!-- <li> 权利类型 -->
<%-- <form:select path="qllx" class="input-medium"> --%>
<%-- <form:option value="" label=""/> --%>
<%-- <form:options items="${fns:getDictList('reg_bus_qllx')}" itemLabel="label" itemValue="value" htmlEscape="false"/> --%>
<%-- </form:select> --%>
<!-- </li> -->
<li class="btns"><input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/></li>
<li class="clearfix"></li>
<shiro:hasPermission name="reg.bus:regBusHisBdcqzsdjxx:edit">
<li class="btns"><input id="btnAdd" class="btn btn-primary" type="button" onclick="addHisData();" value="土地证书选择"/></li>
</shiro:hasPermission>
</ul>
</c:if>
</form:form>
<sys:message content="${message}"/>
<div id="srcBaseInfo" class="control-group" >
<fieldset>
<table id="contentTable" class="table 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>
<th>状态</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusHisBdcqzsdjxx">
<tr>
<td><input type="radio" name="radio_Bdcqzsdjxx" id="${regBusHisBdcqzsdjxx.id}" value=""/></td>
<td>
<a href="#" onclick="winOpenHisDjxx('${regBusHisBdcqzsdjxx.id}');">${regBusHisBdcqzsdjxx.ywh}</a>
<input type="hidden" name="isaudit" id="${regBusHisBdcqzsdjxx.isaudit}" value=""/>
</td>
<td>
${regBusHisBdcqzsdjxx.bdcdyh}
</td>
<td>
${regBusHisBdcqzsdjxx.zddm}
</td>
<td>
${regBusHisBdcqzsdjxx.bdcqzh}
</td>
<td>
${fns:getDictLabel(regBusHisBdcqzsdjxx.qllx, 'reg_bus_qllx', '')}
</td>
<td>
${fns:getDictLabel(regBusHisBdcqzsdjxx.qlxz, 'reg_bus_qlxz', '')}
</td>
<td>
${regBusHisBdcqzsdjxx.yt}
</td>
<td>
<fmt:formatNumber value ="${regBusHisBdcqzsdjxx.zdmj}" pattern=".0"/>
</td>
<td>
${regBusHisBdcqzsdjxx.bz}
</td>
<c:if test="${regBusHisBdcqzsdjxx.isaudit eq 1}">
<shiro:hasPermission name="reg.bus:regBusHisBdcqzsdjxx:edit">
<td>
<a href="#" onclick="auditHisDjxx('${regBusHisBdcqzsdjxx.id}','${regBusHisBdcqzsdjxx.isaudit}');">已审核</a>
</td>
</shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
</fieldset>
</div>
<div class="pagination">${page}</div>
</body>
</html>