regBusHisHouseYG.jsp
6.07 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
<%@ 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 winOpenUpdateFdcq2(id){
var iWidth=1100;
var iHeight=600;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/hishouseeditForm?H=1&id="+id,"窗口",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
function reloadFdcq2(){
var optype = "${optype}";
var deletee = "${delete}";
if(window.opener) {
if(optype == undefined || optype == null || optype ==""){
window.opener.gjzwframe.location.reload();
if(deletee != null && deletee != ""){
window.opener.qlrframe.location.reload();
window.opener.ywrframe.location.reload();
}
}else{
window.opener.parent.document.gjzwframe.location.reload();
if(deletee != null && deletee != ""){
window.opener.parent.qlrframe.location.reload();
window.opener.parent.ywrframe.location.reload();
}
}
window.close();
}
}
/**
*返回本次业务相关的房屋信息到受理申请的页面
*/
function backFwxxToSlsq(){
$.ajax({
url:"${ctx}/reg/base/regBaseC/listChoicedFwInfoToSlsq",
data: { "ywh": "${YWH}" },
cache: false,
type: "POST",
dataType: "html",
success: function (data) {
//房屋信息返回到受理申请页面
//给父页面的div html()宗地基本信息的内容 通过ID
if(window.opener) {
window.opener.document.getElementById('choicedFwInfo').innerHTML = data;
}
window.close();
}
});
}
function reloadFdcq3(){
var qlxz = '${qlxz}';
var ywh = '${YWH}';
window.opener.setqlxzinfo(qlxz,ywh);
window.opener.document.gjzwframe.location="${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/hishouseyglist?YWH="+ywh;
window.close();
// window.opener.document.gjzwframe.location.reload();
}
function deletelink(id){
if(confirm('确认要删除该预告登记信息吗?')){
var iWidth=1100;
var iHeight=600;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/hishousedelete?H=1&id="+id+"&WO=1","deletewindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
//查看
function winOpenYgdj2(id){
var iWidth=1100;
var iHeight=600;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
window.open("${ctx}/reg/bus/regBusHisHouseBdcqzsdjxx/hishouseeditForm?VIEWS=1&H=1&id="+id,"11",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">预告登记信息列表</a></li>
</ul>
<form:form id="searchForm" modelAttribute="regBusHisHouseBdcqzsdjxx" action="#" 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>
<c:if test="${not empty WO}">
<br>
<input id="reLoadFdcq2" class="btn btn-primary" type="button" onclick="reloadFdcq2();" value="退出列表"/>
<br><br>
</c:if>
<c:if test="${not empty WWWO}">
<br>
<input id="reloadFdcq3" class="btn btn-primary" type="button" onclick="reloadFdcq3();" value="退出列表"/>
<br><br>
</c:if>
<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>
<c:if test="${empty LISTVIEWS}">
<c:if test="${empty xg}">
<shiro:hasPermission name="reg:bus:regBusHisHouseBdcqzsdjxx:edit"><th>操作</th></shiro:hasPermission>
</c:if>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusHisHouseBdcqzsdjxx">
<tr>
<td>
<shiro:hasPermission name="reg:bus:regBusHisHouseBdcqzsdjxx:view">
<a href="javascript:void(0);" onclick="winOpenYgdj2('${regBusHisHouseBdcqzsdjxx.id}');">
${regBusHisHouseBdcqzsdjxx.ywh}
</a>
</shiro:hasPermission>
</td>
<td>
${regBusHisHouseBdcqzsdjxx.bdcdyh}
</td>
<td>
${regBusHisHouseBdcqzsdjxx.fdzl}
</td>
<td>
${regBusHisHouseBdcqzsdjxx.ywr}
</td>
<td>
${fns:getDictLabel(regBusHisHouseBdcqzsdjxx.ygdjzl, 'reg_bus_ygdjzl', '')}
</td>
<td>
${fns:getDictLabel(regBusHisHouseBdcqzsdjxx.djlx, 'reg_bus_djlx', '')}
</td>
<!-- <td> -->
<%-- ${regBusHisHouseBdcqzsdjxx.tdsyqr} --%>
<!-- </td> -->
<td>
${fns:getDictLabel(regBusHisHouseBdcqzsdjxx.ghyt, 'reg_bus_fwyt', '')}
</td>
<c:if test="${empty LISTVIEWS}">
<c:if test="${empty xg}">
<shiro:hasPermission name="reg:bus:regBusHisHouseBdcqzsdjxx:edit"><td>
<a href="javascript:void(0);" onclick="winOpenUpdateFdcq2('${regBusHisHouseBdcqzsdjxx.id}');">修改</a>
<c:if test="${empty optype}">
<a href="javascript:void(0);" onclick="deletelink('${regBusHisHouseBdcqzsdjxx.id}');">删除</a>
</c:if>
</td></shiro:hasPermission>
</c:if>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
</body>
</html>