f13d10211cb981aac6a94d98cf685d547bc1b345.svn-base
7.14 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
<%@ 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">
var selItems = new Array();
$(document).ready(function() {
});
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
function winOpenDyaq(id,dyfs){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var djlx = '${djlx}';
if(djlx == '315' || djlx == '316' || djlx == '317' || djlx == '318' || djlx == '818'){
window.open("${ctx}/reg/bus/regBusDyaq/dyqZyPluralform?ids="+ id +"&VIEWS=1"+"&YWH=${YWH}&optype=update&ybbj=${ybbj}","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{
window.open("${ctx}/reg/bus/regBusDyaq/xfnextform?ids="+ id +"&VIEWS=1&isLogout=${isLogout}&optype=update&dyfs="+dyfs+"&ybbj=${ybbj}","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
function winOpenUpdateDyaq(id,dyfs){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var djlx = '${djlx}';
if(djlx == '315' || djlx == '316' || djlx == '317' || djlx == '317' || djlx == '818'){
window.open("${ctx}/reg/bus/regBusDyaq/dyqZyPluralform?ids="+ id +"&YWH=${YWH}&optype=update","newudpatewindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{
window.open("${ctx}/reg/bus/regBusDyaq/xfnextform?ids="+id+"&optype=update&dyfs="+dyfs,"newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
function reloadDyaq(){
if(window.opener) {
//更新
// window.opener.parent.document.dyaqframe.location.reload();
// window.opener.parent.document.mortgageframe.location.reload();
// window.close();
}
}
function deletexfdy(bdbzzqse,dbze,ywh,bdcdyh){
if(confirm('是否删除?')){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=400;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var djlx = '${djlx}';
if(djlx == '316' || djlx == '317' || djlx == '318' || djlx == '818'){
window.open("${ctx}/reg/bus/regBusDyaq/deletedyq?ywh="+ywh+"&bdcdyh="+bdcdyh+"&bdbzzqse="+bdbzzqse+"&dbze="+dbze+"&wo=1&bj=zy","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else if(djlx == '315'){
window.open("${ctx}/reg/bus/regBusDyaq/deleteygdy?ywh="+ywh+"&bdcdyh="+bdcdyh+"&DJLX="+djlx,"newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}else{
window.open("${ctx}/reg/bus/regBusDyaq/deletexfdy?ywh="+ywh+"&bdcdyh="+bdcdyh+"&bdbzzqse="+bdbzzqse+"&dbze="+dbze+"&wo=1","newwindow",
"height="+ iHeight +",width="+ iWidth +",top="+ iTop +",left="+ iLeft +",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
}
}
}
</script>
</head>
<body>
<form:form id="searchForm" modelAttribute="regBusDyaq" action="${ctx}/reg/bus/regBusDyaq/nextxfdyList?ywh=${regBusDyaq.ywh}&djlx=${djlx}&LISTVIEWS=${LISTVIEWS}" 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="javascript:void(0);">抵押权信息列表</a></li>
</ul>
<c:if test="${not empty WO}">
<br>
<input id="reLoadDyaq" class="btn btn-primary" type="button" onclick="reloadDyaq();" value="退出列表" />
<br>
<legend></legend>
</c:if>
<sys:message content="${message}"/>
<table id="contentTable" class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>业务号</th>
<th>不动产单元号</th>
<c:if test="${djlx eq 315}">
<th>不动产权证书</th>
</c:if>
<c:if test="${djlx eq 316 or djlx eq 315}">
<th>抵押不动产类型</th>
<th>抵押方式</th>
</c:if>
<th>抵押人</th>
<th>抵押权人</th>
<th>担保债权总额</th>
<c:if test="${djlx ne 315 and djlx ne 316}">
<th>单套担保债权数额</th>
</c:if>
<th>最高债权数额</th>
<th>债务人</th>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusDyaq:edit"><th>操作</th></shiro:hasPermission>
</c:if>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusDyaq">
<tr>
<td>
${regBusDyaq.ywh}
</td>
<td>
<shiro:hasPermission name="reg:bus:regBusDyaq:view">
<a href="javascript:void(0);" onclick="winOpenDyaq('${regBusDyaq.id}','${regBusDyaq.dyfs}');">
${regBusDyaq.bdcdyh}
</a>
</shiro:hasPermission>
</td>
<c:if test="${djlx eq 315}">
<td>
${regBusDyaq.tdzh}
</td>
</c:if>
<c:if test="${djlx eq 316 or djlx eq 315}">
<td>
${fns:getDictLabel(regBusDyaq.dybdclx, 'reg_bus_dybdclx', '')}
</td>
<td>
${fns:getDictLabel(regBusDyaq.dyfs, 'reg_bus_dyfs', '')}
</td>
</c:if>
<td>
${regBusDyaq.dyr}
</td>
<td>
${regBusDyaq.dyqr}
</td>
<td>
${regBusDyaq.dbze}
</td>
<c:if test="${djlx ne 315 and djlx ne 316}">
<td>
${regBusDyaq.bdbzzqse}
</td>
</c:if>
<td>
${regBusDyaq.zgzqse}
</td>
<td>
${regBusDyaq.zwr}
</td>
<c:if test="${empty LISTVIEWS}">
<shiro:hasPermission name="reg:bus:regBusDyaq:edit">
<td>
<a href="javascript:void(0);" onclick="winOpenUpdateDyaq('${regBusDyaq.id}','${regBusDyaq.dyfs}');">修改</a>
<a href="javascript:void(0);" onclick="deletexfdy('${regBusDyaq.bdbzzqse}','${regBusDyaq.dbze}','${regBusDyaq.ywh}','${regBusDyaq.bdcdyh}');">删除</a>
</td>
</shiro:hasPermission>
</c:if>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</body>
</html>