827dde2a5493ebeaad9568cae937482ab11f79fe.svn-base
3.18 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
<%@ 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 hzbzSave(){
var djlx = "${djlx}";
var oldywh = "${oldywh}";
var bdcqzh = "${bdcqzh}";
var newywh = "${newywh}";
var flag = "${flag}";
var ids="";
var trList = $("#contentTable").find("tr");
for (var i=1;i<trList.length;i++) {
var tdArr = trList.eq(i).find("td");
ids = tdArr.eq(0).text();
}
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusBdcqzsdjxx/IsTransactionhzbz",
cache: false,
data:"&YWH="+newywh+"&flag="+flag+"&bdcqzh="+bdcqzh+"&ids="+ids,
async : false,
success:function(modelmap){
successbj = modelmap.success;
if(modelmap.success != 1){
alert(modelmap.msg);
return;
}
}
});
if(successbj == 1){
//点击之后按钮置灰
document.getElementById("choiceReged").disabled="disabled";
document.getElementById("btnCancel").disabled="disabled";
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/fwbfsave?newywh="+newywh+"&bdcqzh="+bdcqzh+"&oldywh="+oldywh+"&djlx="+djlx;
window.location = url;
}
}
</script>
</head>
<body>
<form:form id="searchForm" modelAttribute="regBusBdcqzsdjxx" action="${ctx}/reg/bus/regBusBdcqzsdjxx/fwhzbzList?islogout=0&FormalMortgage=1&oldywh=${oldywh}&newywh=${newywh}&DJLX=${djlx}&bdcqzh=${bdcqzh}&flagSplit=${flagSplit}" method="post" class="">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
</form:form>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/bus/regBusBdcqzsdjxx/">房屋已登记信息列表</a></li>
</ul>
<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>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusBdcqzsdjxx">
<tr>
<td>
${regBusBdcqzsdjxx.ywh}
</td>
<td>
${regBusBdcqzsdjxx.bdcdyh}
</td>
<td>
${regBusBdcqzsdjxx.bdcqzh}
</td>
<td>
${regBusBdcqzsdjxx.qlrmc}
</td>
<td>
${regBusBdcqzsdjxx.gyqk}
</td>
<td>
${regBusBdcqzsdjxx.yt}
</td>
<td>
${regBusBdcqzsdjxx.mj}
</td>
<td>
${regBusBdcqzsdjxx.syqx}
</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
<div align="center">
<br>
<input id="choiceReged" class="btn btn-primary" type="button" onclick="hzbzSave();" value="换证/补证"/>
<input id="btnCancel" class="btn btn-primary" type="button" value="返回" onclick="history.go(-1)"/>
<br><br>
</div>
</body>
</html>