selectInfoZhRkView.jsp
12.4 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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<%@ 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">
function openPrintView(){
//弹出窗口的宽度;
var iWidth=500;
//弹出窗口的高度;
var iHeight=250;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var isLs = "${ProcInsId}";
if(isLs == undefined || isLs == null || isLs ==""){
alert("历史数据不能打印受理通知单!");
return;
}
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/printView?ywh=${regBusBdcqzsdjxx.ywh}&BdcqzsdjxxID=${regBusBdcqzsdjxx.id}";
window.open(url, "newwindow", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
}
function printHousejfView(){
//弹出窗口的宽度;
var iWidth=500;
//弹出窗口的高度;
var iHeight=250;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/printHousejfView?ywh=${regBusBdcqzsdjxx.ywh}";
window.open(url, "newwindow", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
}
function openPrintSlsqView(){
//弹出窗口的宽度;
var iWidth=950;
//弹出窗口的高度;
var iHeight=1000;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var isLs = "${ProcInsId}";
if(isLs == undefined || isLs == null || isLs ==""){
alert("历史数据不能打印受理申请单!");
return;
}
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/printViewSqspb?ywh=${regBusBdcqzsdjxx.ywh}&djlx=${regBusBdcqzsdjxx.djlx}";
window.open(url, "newwindow", "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 printRegbooksView(){
//弹出窗口的宽度;
var iWidth=950;
//弹出窗口的高度;
var iHeight=800;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var url = "${ctx}/reg/books/orightbook?bdcdyh=${regBusBdcqzsdjxx.bdcdyh}";
window.open(url, "newwindow", "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 openHouseView(){
//弹出窗口的宽度;
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/openHouseView?ywh=${regBusBdcqzsdjxx.ywh}&DJLX=${regBusBdcqzsdjxx.djlx}&cxfs=${cxfs}";
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 openGroundView(){
//弹出窗口的宽度;
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/openGroundView?ywh=${regBusBdcqzsdjxx.ywh}&DJLX=${regBusBdcqzsdjxx.djlx}&cxfs=${cxfs}";
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 printHousejfView(){
//弹出窗口的宽度;
var iWidth=500;
//弹出窗口的高度;
var iHeight=250;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusSf/isnotsfed",
cache: false,
data:"YWH=${regBusBdcqzsdjxx.ywh}",
async : false,
success:function(modelmap){
var isnotsfed = modelmap.data;
if(isnotsfed == "0"){
alert("没有收费维护,请先维护收费信息再打印!");
return;
}else{
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/printHousejfView?ywh=${regBusBdcqzsdjxx.ywh}";
window.open(url, "newwindow", "width=" + iWidth + ", height=" + iHeight + ",top=" + iTop + ",left=" + iLeft + ",toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no,alwaysRaised=yes,depended=yes");
}
}
});
}
function winOpenBdcdjxx(){
//弹出窗口的宽度;
var iWidth=1100;
//弹出窗口的高度;
var iHeight=600;
//获得窗口的垂直位置
var iTop = (window.screen.height - 30 - iHeight) / 2;
//获得窗口的水平位置
var iLeft = (window.screen.width - 10 - iWidth) / 2;
var ywh = "${regBusBdcqzsdjxx.ywh}";
var id = "${regBusBdcqzsdjxx.id}";
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusBdcqzsdjxx/getInfo",
cache: false,
data:"id="+id,
async : false,
success:function(modelmap){
var djlx = modelmap.djlx;
if(djlx == '214' || djlx == '215' || djlx == '515' || djlx == '317' || djlx == '424'
|| djlx == '318' || djlx == '608' || djlx == '433' || djlx == '433' || djlx == '426'){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesCardxf?ywh="+ywh+"&id="+id;
}else if(djlx == '213' || djlx == '509' || djlx == '316' || djlx == '606' || djlx == '431'
|| djlx == '427' || djlx == '428'){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesCardzjgc?ywh="+ywh+"&id="+id;
}else if(djlx == '804' || djlx == '807' || djlx== "510" || djlx == "513"
|| djlx == '818' || djlx == '432' || djlx == '607' || djlx == '423'){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesCardyg?ywh="+ywh+"&id="+id;
}else if(djlx == '201' || djlx == '202' || djlx == '203' || djlx== "204"
|| djlx == '418' || djlx == "419" || djlx == '401' || djlx == '601'
|| djlx == '405' || djlx == '602' || djlx == '406' || djlx == '407' ){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regTdCardsc?ywh="+ywh+"&id="+id;
}else if(djlx == '209' || djlx == '507' || djlx == '315' || djlx == '605' || djlx == '430'){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regTdCarddy?ywh="+ywh+"&id="+id;
}else if(djlx== "806" || djlx == "302"
|| djlx == "811" || djlx == "812" || djlx == "810" || djlx == "609"
|| djlx == "416" || djlx == "809" || djlx == "819" || djlx == "422"
|| djlx == '905' || djlx == '906' || djlx == "703" || djlx == "704"
|| djlx == '512' || djlx == '305' || djlx == "306" || djlx == "307"
|| djlx == '901' || djlx == '904' || djlx == "701" || djlx == "702"
|| djlx == "905" || djlx == "906" || djlx == "907" || djlx == "908"){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/ygzyregHousesInfoView?id="+id;
}else if(djlx == '803' || djlx == '207' || djlx == '511' || djlx == '505'
|| djlx == '403' || djlx == '404' || djlx == '402' || djlx == '604'){
var url = "${ctx}/reg/bus/regBusBdcqzsdjxx/regHousesInfoView?id="+id;
}
window.open(url, "lpxxwindow", "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 openFeePrint(){
//收费缴费单凭证获取数据
var iWidth=600;
var iHeight=200;
var iTop = (window.screen.height - 30 - iHeight) / 2;
var iLeft = (window.screen.width - 10 - iWidth) / 2;
//点击打印之前,检查缮证入口是否维护
$.ajax({
type:"POST",
url:"${ctx}/reg/bus/regBusSf/isnotsfed",
cache: false,
data:"YWH=${regBusBdcqzsdjxx.ywh}",
async : false,
success:function(modelmap){
var isnotsfed = modelmap.data;
if(isnotsfed == "0"){
alert("没有收费维护,请先维护收费信息再打印!");
return;
}else{
var url = "${ctx}/reg/bus/regBusSf/printView?ywh=${regBusBdcqzsdjxx.ywh}";
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");
}
}
});
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="#">业务历史详细入口</a></li>
</ul><br/>
<form:form class="form-horizontal" modelAttribute="regBusBdcqzsdjxx">
<fieldset>
<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>
<tr>
<td>
${regBusBdcqzsdjxx.ywh}
</td>
<td>
${regBusBdcqzsdjxx.bdcqzh}
</td>
<td>
${regBusBdcqzsdjxx.djlx}
</td>
<td>
${regBusBdcqzsdjxx.qlrmc}
</td>
<td>
${isfz}
</td>
<td>
<c:choose>
<c:when test="${fn:contains(regBusBdcqzsdjxx.ywh,'L')}">
${regBusBdcqzsdjxx.fzsj}
</c:when>
<c:otherwise>
<fmt:formatDate value="${regBusBdcqzsdjxx.createDate}" pattern="yyyy-MM-dd"/>
</c:otherwise>
</c:choose>
</td>
<td>
${regBusBdcqzsdjxx.fzsj}
</td>
<td>
${regBusBdcqzsdjxx.creater}
</td>
</tr>
</tbody>
</table>
</fieldset>
<sys:message content="${message}"/>
<div align="center">
<button type="button" class="btn btn-primary" onclick="winOpenBdcdjxx();">业务详细单</button>
<button type="button" class="btn btn-primary" onclick="openPrintSlsqView();">受理申请单</button>
<button type="button" class="btn btn-primary" onclick="openPrintView();">受理通知单</button>
<button type="button" class="btn btn-primary" onclick="openFeePrint();">收费票据</button>
<button type="button" class="btn btn-primary" onclick="printHousejfView();">缴费单</button>
<button type="button" class="btn btn-primary" onclick="printRegbooksView();">登记薄</button>
<c:if test="${FwOrTd eq 'W'}">
<button type="button" class="btn btn-warning" onclick="openGroundView();">宗地</button>
</c:if>
<c:if test="${FwOrTd eq 'F'}">
<button type="button" class="btn btn-info" onclick="openHouseView();">楼盘</button>
</c:if>
<c:if test="${zhcx eq '1'}">
<input id="btnCancel" class="btn" type="button" value="关闭" onclick="window.close()"/>
</c:if>
<c:if test="${zhcx ne '1'}">
<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
</c:if>
</div>
<c:if test="${not empty ProcInsId}">
<act:histoicFlow procInsId="${ProcInsId}" />
</c:if>
</form:form>
</body>
</html>