b25f71683db6bebbf1c5e3ab8dfccbb00aad6b03.svn-base
7.71 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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<%@ 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() {
});
var data_msg = "${data_msg}";
if(data_msg){
alert(data_msg);
}
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
function choiceFwxx(bdcdyh){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/openHouseInfoView?bdcdyh="+bdcdyh+"&hcx=1";
window.open(url, "窗口", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
}
function hookSave(fybh){
if(confirm ('确认要挂接当前交易房屋数据吗?'))
{
$.get('${ctx}/jy/qlr/jyQlr/hookSave?bdcdyh=${regBaseH.bdcdyh}&fybh='+fybh , function(data) {
if (data.state){
alert("不动产单元号【${regBaseH.bdcdyh}】与房源编号【"+fybh+"】挂接成功");
window.opener.page();
window.close();
}else{
top.$.jBox.tip('数据挂接失败');
}
});
}
}
</script>
<style type="text/css">
div.border{
height:100%;
width:97%;
padding:5px 0.5%;
margin: 10px 0.5%;
}
span.title{
display:block;
width:100px;
height:30px;
position:relative;
top:-15px;
text-align: center;
background: white;
}
.border-hui{
border:2px solid #CCCCCC;
}
.right{
float: right
}
.left{
float: left
}
.row{
width:100%;
padding: 5px 20px;
}
.row div{
display: inline-block;
}
.row label{
text-align: right;
display: inline-block;
}
</style>
</head>
<body style="overflow-x: hidden;">
<div class="border border-hui" >
<span class="title">不动产信息</span>
<div class="row" style="margin-top: -15px">
<label style="width: 12%">不动产单元号:</label>
<div style="width: 20%">
<a href="javascript:void(0);" onclick="choiceFwxx('${regBaseH.bdcdyh}')">
${regBaseH.bdcdyh}
</a>
</div>
<label style="width: 12%">项目名称:</label>
<div style="width: 20%">
${regBaseH.xmmc}
</div>
<label style="width: 12%">建筑物名称:</label>
<div style="width: 20%">
${regBaseH.jgzwmc}
</div>
</div>
<div class="row">
<label style="width: 12%">面积:</label>
<div style="width: 20%">
${regBaseH.scjzmj}
</div>
<label style="width: 12%">坐落:</label>
<div style="width: 52%">
${regBaseH.zl}
</div>
</div>
</div>
<div class="border border-hui" style="margin-bottom: 1px;padding-bottom: 20px;">
<form:form id="searchForm" modelAttribute="jyQlr" action="${ctx}/jy/qlr/jyQlr/hookJy" method="post">
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
<input id="bdcdyh" name="bdcdyh" type="hidden" value="${regBaseH.bdcdyh}">
<span class="title">交易查询条件</span>
<div class="row" style="margin-top: -15px">
<label style="width: 12%">项目名称:</label>
<div style="width: 20%">
<input placeholder="项目名称" name="xmmc" id="xmmc" value="${jyQlr.xmmc}"/>
</div>
<label style="width: 12%">建筑物名称:</label>
<div style="width: 20%">
<input placeholder="建筑物名称" name="jzwmc" id="jzwmc" value="${jyQlr.jzwmc}"/>
</div>
<label style="width: 12%">房源编号:</label>
<div style="width: 20%">
<input placeholder="房源编号" name="fybh" id="fybh" value="${jyQlr.fybh}"/>
</div>
</div>
<div class="row" >
<label style="width: 12%">室号部位:</label>
<div style="width: 20%">
<input placeholder="室号部位" name="shbw" id="shbw" value="${jyQlr.shbw}"/>
</div>
<label style="width: 12%">单元:</label>
<div style="width: 20%">
<input placeholder="单元" name="dy" id="dy" value="${jyQlr.dy}"/>
</div>
<label style="width: 12%">楼栋建筑面积:</label>
<div style="width: 20%">
<input placeholder="楼栋建筑面积" name="ldjzmj" id="ldjzmj" value="${jyQlr.ldjzmj}"/>
</div>
</div>
<div class="row" >
<label style="width: 12%">层号:</label>
<div style="width: 20%">
<input placeholder="层号" name="ch" id="ch" value="${jyQlr.ch}"/>
</div>
<label style="width: 12%">自然幢号:</label>
<div style="width: 20%">
<input placeholder="自然幢号" name="zrzh" id="zrzh" value="${jyQlr.zrzh}"/>
</div>
<label style="width: 12%">坐落:</label>
<div style="width: 20%">
<input placeholder="坐落" name="zl" id="zl" value="${jyQlr.zl}"/>
</div>
</div>
<div class="row" >
<label style="width: 12%">权利人名称:</label>
<div style="width: 20%">
<input placeholder="权利人名称" name="qlrmc" id="qlrmc" value="${jyQlr.qlrmc}"/>
</div>
<label style="width: 12%">权利人证件号:</label>
<div style="width: 20%">
<input placeholder="权利人证件号" name="qlrzjhm" id="qlrzjhm" value="${jyQlr.qlrzjhm}"/>
</div>
<label style="width: 12%"> </label>
<div style="width: 20%">
</div>
</div>
<div style="float:right;">
<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
<input id="btnCancel" class="btn" type="reset" value="重置 "/>
</div>
</form:form>
</div>
<sys:message content="${message}"/>
<div class="border border-hui" style="margin-bottom: 1px;padding-bottom: 20px;">
<span class="title">交易查询结果</span>
<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>
<th>证件号</th>
<th>坐落</th>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="jyQlr">
<tr>
<td>
<a href="javascript:void(0);" onclick="hookSave('${jyQlr.fybh}')">挂接</a>
</td>
<td>${jyQlr.fybh}</td>
<td>${jyQlr.xmmc}</td>
<td>${jyQlr.jzwmc}</td>
<td>${jyQlr.qzh}</td>
<td>${jyQlr.dy}</td>
<td>${jyQlr.hx}</td>
<td>${jyQlr.shbw}</td>
<td>
${jyQlr.fwjg}
</td>
<td>${jyQlr.qlr}</td>
<td>${jyQlr.zjh}</td>
<td>${jyQlr.zl}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</div>
</body>
</html>