b795d61cc7e1c19cb3db8d5e0e2078f8e0c0dd4a.svn-base
15.1 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
<%@ 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 language="javascript" src="${ctxStatic}/lodop/LodopFuncs.js" type="text/javascript"></script>
<object id="LODOP_OB" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0>
<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0></embed>
</object>
<script type="text/javascript">
var mapinfo;
$(document).ready(function() {
$("tbody > tr").bind("click",function(){
$(this).find('input:radio').prop('checked', true);
var ywh = $("input[name='radio_szxx']:checked").parent().next().text().trim();
var ysxlh = $("input[name='radio_szxx']:checked").parent().next().next().next().next().next().next().next().next().text().trim();
$.ajax({
type:"POST", //请求方式
url:"${ctx}/reg/bus/regBusSz/getPrintJcbData", //请求路径
data:{"ywh":ywh,"ysxlh":ysxlh},
datatype:"json",
success:function(modelmap){
mapinfo = modelmap.data;
},
error:function(modelmap){
alert("初始化失败!");
}
});
})
});
function page(n,s){
$("#pageNo").val(n);
$("#pageSize").val(s);
$("#searchForm").submit();
return false;
}
var LODOP; //声明为全局变量
var LODOP1;
var LODOP2;
function closeWin(){
window.close();
}
function deleteszxx(){
if(confirm("确定要删除此业务缮证信息?")){
var bhs="";
var bhindex="";
var trList = $("#contentTable").find("tr");
for (var i=1;i<trList.length;i++) {
var tdArr = trList.eq(i).find("td");
bhindex = tdArr.eq(8).text().trim();
if(isNotNull(bhs)){
bhs += ","+bhindex;
}else{
bhs = bhindex;
}
}
url = "${ctx}/reg/bus/regBusSz/jcbdelete?ywh=${ywh}&sqzsbs=${sqzsbs}&bhs="+bhs;
window.location = url;
}
}
function isNotNull(val){
if(val != null && val != 'null' && val != undefined && val != 'undefined' && val != ''){
return true ;
}
return false;
}
function view_zs(pageindex) {
var szxxid = $("input[name='radio_szxx']:checked").val();
if(szxxid == null){
alert("请选择需要打印的缮证信息!");
return;
}
if(pageindex==0){
init_zs0();
}else{
init_zs1(pageindex);
}
LODOP.SET_SHOW_MODE("BKIMG_IN_PREVIEW",1);
LODOP.PREVIEW();
}
function init_zs1(pageindex) {
LODOP= getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
LODOP.PRINT_INIT("打印不动产权证书内容页");
LODOP.SET_PRINT_PAGESIZE(2, "910px", "1266px", "");
if(pageindex==1){
LODOP.ADD_PRINT_SETUP_BKIMG("<img border='0' src='${ctxStatic}/images/jcb01.jpg'>");
LODOP.ADD_PRINT_TEXT(135,216,383,31,mapinfo.qlr1);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(175,216,383,31,mapinfo.gyqk1);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
if(mapinfo.zl1.length <= 28){
LODOP.ADD_PRINT_TEXT(225,216,383,45,mapinfo.zl1);
}else if(mapinfo.zl1.length <= 56){
LODOP.ADD_PRINT_TEXT(215,216,383,45,mapinfo.zl1);
}else if(mapinfo.zl1.length <= 84){
LODOP.ADD_PRINT_TEXT(205,216,383,45,mapinfo.zl1);
}
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(255,216,383,31,mapinfo.qllx1);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(295,216,383,31,mapinfo.qlxz1);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(335,216,393,35,mapinfo.syqx1);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,90,383,31,mapinfo.bdcdyh11);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,230,383,31,mapinfo.yt11);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,360,383,31,mapinfo.mj11);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,430,383,31,mapinfo.bz11);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,90,383,31,mapinfo.bdcdyh12);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,230,383,31,mapinfo.yt12);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,360,383,31,mapinfo.mj12);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,430,383,31,mapinfo.bz12);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,90,383,31,mapinfo.bdcdyh13);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,230,383,31,mapinfo.yt13);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,360,383,31,mapinfo.mj13);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,430,383,31,mapinfo.bz13);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,90,383,31,mapinfo.bdcdyh14);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,230,383,31,mapinfo.yt14);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,360,383,31,mapinfo.mj14);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,430,383,31,mapinfo.bz14);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(860,370,53,25,mapinfo.yearStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(860,430,33,25,mapinfo.monthStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(860,470,33,25,mapinfo.dayStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
}else if(pageindex==2){
LODOP.ADD_PRINT_SETUP_BKIMG("<img border='0' src='${ctxStatic}/images/jcb02.jpg'>");
LODOP.ADD_PRINT_TEXT(135,216,383,31,mapinfo.qlr2);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(175,216,383,31,mapinfo.gyqk2);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(215,216,383,45,mapinfo.zl2);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(255,216,383,31,mapinfo.qllx2);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(295,216,383,31,mapinfo.qlxz2);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(335,216,393,35,mapinfo.syqx2);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,90,383,31,mapinfo.bdcdyh21);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,230,383,31,mapinfo.yt21);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,360,383,31,mapinfo.mj21);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,430,383,31,mapinfo.bz21);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,90,383,31,mapinfo.bdcdyh22);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,230,383,31,mapinfo.yt22);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,360,383,31,mapinfo.mj22);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,430,383,31,mapinfo.bz22);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,90,383,31,mapinfo.bdcdyh23);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,230,383,31,mapinfo.yt23);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,360,383,31,mapinfo.mj23);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,430,383,31,mapinfo.bz23);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,90,383,31,mapinfo.bdcdyh24);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,230,383,31,mapinfo.yt24);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,360,383,31,mapinfo.mj24);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,430,383,31,mapinfo.bz24);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(860,370,53,25,mapinfo.yearStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(860,430,33,25,mapinfo.monthStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(860,470,33,25,mapinfo.dayStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
}else{//=3
LODOP.ADD_PRINT_SETUP_BKIMG("<img border='0' src='${ctxStatic}/images/jcb03.jpg'>");
LODOP.ADD_PRINT_TEXT(135,216,383,31,mapinfo.qlr3);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(175,216,383,31,mapinfo.gyqk3);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(215,216,383,45,mapinfo.zl3);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(255,216,383,31,mapinfo.qllx3);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(295,216,383,31,mapinfo.qlxz3);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(335,216,393,35,mapinfo.syqx3);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,90,383,31,mapinfo.bdcdyh31);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,230,383,31,mapinfo.yt31);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,360,383,31,mapinfo.mj31);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(420,430,383,31,mapinfo.bz31);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,90,383,31,mapinfo.bdcdyh32);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,230,383,31,mapinfo.yt32);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,360,383,31,mapinfo.mj32);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(460,430,383,31,mapinfo.bz32);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,90,383,31,mapinfo.bdcdyh33);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,230,383,31,mapinfo.yt33);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,360,383,31,mapinfo.mj33);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(500,430,383,31,mapinfo.bz33);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,90,383,31,mapinfo.bdcdyh34);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,230,383,31,mapinfo.yt34);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,360,383,31,mapinfo.mj34);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(540,430,383,31,mapinfo.bz34);
LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
LODOP.ADD_PRINT_TEXT(860,370,53,25,mapinfo.yearStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(860,430,33,25,mapinfo.monthStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(860,470,33,25,mapinfo.dayStr);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
}
}
function init_zs0() {
LODOP= getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
LODOP.PRINT_INIT("打印不动产权证书第一页");
LODOP.SET_PRINT_PAGESIZE(2, "910px", "1266px", "");
LODOP.ADD_PRINT_SETUP_BKIMG("<img border='0' src='${ctxStatic}/images/jcb000.jpg'>");
LODOP.ADD_PRINT_TEXT(53,747,38,25,"陕");
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(53,805,64,25,mapinfo.zyear);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(53,870,90,25,mapinfo.qxdm);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
LODOP.ADD_PRINT_TEXT(53,1045,103,25,mapinfo.dh);
LODOP.SET_PRINT_STYLEA(0,"FontName","仿宋");
LODOP.SET_PRINT_STYLEA(0,"FontSize",15);
}
</script>
</head>
<body>
<ul class="nav nav-tabs">
<li class="active"><a href="${ctx}/reg/bus/regBusSz/list?ywh=${ywh}&sqzsbs=${sqzsbs}">缮证信息列表</a></li>
<c:if test="${empty LISTVIEWS}">
<c:if test="${ised ne '1'}">
<shiro:hasPermission name="reg:bus:regBusSz:edit">
<li><a href="${ctx}/reg/bus/regBusSz/jcbform?ywh=${ywh}&YSDM=2002040100&sqzsbs=${sqzsbs}">缮证信息${not empty szid?'修改':'添加'}</a></li>
</shiro:hasPermission>
</c:if>
</c:if>
</ul>
<sys:message content="${message}"/>
<div class="control-group" style="float:right;height: 25px;padding-top: 5px" >
<input id="btnClose" class="btn btn-primary" type="button" onclick="closeWin();" value="关闭"/>
<c:if test="${ised eq '1'}">
<input id="deletebtn" class="btn btn-primary" type="button" onclick="deleteszxx();" value="删除 "/>
<input id="btnPrintZs0" class="btn btn-primary" type="button" onclick="view_zs('0');" value="不动产证号页【打印】"/>
<input id="btnPrintZs1" class="btn btn-primary" type="button" onclick="view_zs('1');" value="不动产权利(一)"/>
<input id="btnPrintZs2" class="btn btn-primary" type="button" onclick="view_zs('2');" value="不动产权利(二)"/>
<input id="btnPrintZs3" class="btn btn-primary" type="button" onclick="view_zs('3');" value="不动产权利(三)"/>
</c:if>
</div>
<div class="control-group" align="center">
<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>
</tr>
</thead>
<tbody>
<c:forEach items="${page.list}" var="regBusSz">
<tr>
<td>
<input type="radio" name="radio_szxx" value="${regBusSz.id}"/>
</td>
<td>
${regBusSz.ywh}
</td>
<td>
${fns:getDictLabel(regBusSz.szmc, 'reg_bus_szmc', '')}
</td>
<td>
${fns:getDictLabel(regBusSz.isdz, 'yes_no', '')}
</td>
<td>
${regBusSz.szzh}
</td>
<td>
${regBusSz.szsl}
</td>
<td>
${regBusSz.szry}
</td>
<td>
${regBusSz.currmaxszbh}
</td>
<td>
${regBusSz.ysxlh}
</td>
<td>
<fmt:formatDate value="${regBusSz.szsj}" pattern="yyyy-MM-dd"/>
</td>
<td>
<a href="${ctx}/reg/bus/regBusSz/reviseSzxx?ywh=${ywh}&sqzsbs=${sqzsbs}&ysxlh=${regBusSz.ysxlh}">修改</a>
</td>
<%-- <c:if test="${empty LISTVIEWS}"> --%>
<%-- <shiro:hasPermission name="reg:bus:regBusSz:edit"><td> --%>
<!-- <a href="#">打印</a> -->
<%-- <a href="${ctx}/reg/bus/regBusSz/delete?ywh=${ywh}" onclick="return confirmx('确认要删除该缮证信息吗?', this.href)">删除</a> --%>
<%-- </td></shiro:hasPermission> --%>
<%-- </c:if> --%>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">${page}</div>
</div>
</body>
</html>