acceptNotice.jsp
13.2 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
<%@ 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>
<script type="text/javascript" src="${ctxStatic}/jquery/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="${ctxStatic}/jquery/qrcode.js"></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">
$(document).ready(function() {});
</script>
<script type="text/javascript">
var LODOP; //声明为全局变量
//直接打印
function print() {
createPrintPage();
LODOP.PRINT();
};
//选择打印机
function printA() {
createPrintPage();
LODOP.PRINTA();
};
//打印预览
function preview() {
createPrintPage();
LODOP.SET_SHOW_MODE("BKIMG_IN_PREVIEW",1);
LODOP.PREVIEW();
};
//打印维护
function setup() {
createPrintPage();
LODOP.PRINT_SETUP();
};
//打印设计
function design() {
createPrintPage();
LODOP.PRINT_DESIGN();
};
//创建打印数据
function createPrintPage() {
//生成二维码
var info="${YWH}";
var content = utf16to8(info);
var qr = qrcode(7, 'M');
qr.addData(content);
qr.make();
LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
LODOP.PRINT_INIT("不动产登记受理通知单");
LODOP.PRINT_INITA(0,-20,900,800,"套打登记受理通知单的模板");
LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4");
LODOP.ADD_PRINT_TEXT(20, 240, 500, 30, "不动产登记受理通知单")
LODOP.SET_PRINT_STYLEA(1, "ItemType", 1);
LODOP.SET_PRINT_STYLEA(1, "FontSize", 20);
LODOP.ADD_PRINT_TEXT(71,160,70,20,"登记种类:");
LODOP.ADD_PRINT_TEXT(128,160,70,20,"业务细类:");
LODOP.ADD_PRINT_TEXT(100,160,70,20,"业务编号:");
LODOP.ADD_PRINT_TEXT(71,230,85,20,"${DJDL}");//登记大类
LODOP.ADD_PRINT_TEXT(128,230,195,20,"${DJXL}");//登记小类
LODOP.ADD_PRINT_TEXT(100,230,100,20,"${YWH}");//业务编号
LODOP.ADD_PRINT_IMAGE(41,580,110,110,qr.createImgTag());//二维码
LODOP.ADD_PRINT_TABLE(160, 65, 900, 800, $("#printsltzdiv").html());
}
function closeWin(){
window.close();
}
function utf16to8(str) {
var out, i, len, c;
out = "";
len = str.length;
for (i = 0; i < len; i++) {
c = str.charCodeAt(i);
if ((c >= 0x0001) && (c <= 0x007F)) {
out += str.charAt(i);
} else if (c > 0x07FF) {
out += String.fromCharCode(0xE0 | ((c >> 12) & 0x0F));
out += String.fromCharCode(0x80 | ((c >> 6) & 0x3F));
out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F));
} else {
out += String.fromCharCode(0xC0 | ((c >> 6) & 0x1F));
out += String.fromCharCode(0x80 | ((c >> 0) & 0x3F));
}
}
return out;
}
// function erweima()
// {
// //参数1表示图像大小,取值范围1-10;参数2表示质量,取值范围'L','M','Q','H'
// var IP = "http://www.hzbdcdj.com";
// var info="YWH=${YWH}&IP="+IP;
// var content = utf16to8(info);
// var qr = qrcode(8, 'M');
// qr.addData(content);
// qr.make();
// $("#qrcode").html(qr.createImgTag());
// }
</script>
</head>
<body>
<div class="control-group" align="center">
<fieldset>
<legend><div align="center" style="font-size:14px;font-weight: bold">${DJXL}</div></legend>
<table width="400" border="1" cellpadding="3" cellspacing="0" style="font-family:宋体">
<tr>
<td height="25"><div align="center">业务号</div></td>
<td height="25" colspan="3"> ${YWH}</td>
</tr>
<tr>
<td height="25"><div align="center">申请人</div></td>
<td height="25" colspan="3"> ${TZRXM}</td>
</tr>
<tr>
<td height="25"><div align="center">受托人</div></td>
<td height="25" > ${STR}</td>
<td height="25"><div align="center">联系电话</div></td>
<td height="25"> ${TZRYDDH}</td>
</tr>
<tr>
<td height="28"><div align="center">受理日期</div></td>
<td height="28" colspan="3">
${SLSJ}
</td>
</tr>
</table>
</fieldset>
</div>
<div class="control-group" style="height: 25px;padding-top: 5px" align="center">
<input id="btnClose" class="btn btn-primary" type="button" onclick="closeWin();" value="关闭"/>
<input id="btnPreview" class="btn btn-primary" type="button" onclick="preview();" value="打印预览"/>
<input id="btnPrint" class="btn btn-primary" type="button" onclick="print();" value="打印"/>
</div>
<div id="printsltzdiv" style="display: none">
<table width="700" border="1" cellpadding="3" cellspacing="0" style="font-family:宋体">
<tr>
<td width="180" height="25"><div align="center">申请人</div></td>
<td height="25" colspan="4"> ${TZRXM}</td>
</tr>
<tr>
<td height="25"><div align="center">坐落</div></td>
<td height="25" colspan="4"> ${ZL}</td>
</tr>
<tr>
<td height="25"><div align="center">受托人</div></td>
<td height="25" colspan="2"> ${STR}</td>
<td width="160" height="25"><div align="center">联系电话</div></td>
<td width="170" height="25"> ${TZRYDDH}</td>
</tr>
<tr>
<td height="25" colspan="5"><div align="center">受理情况</div></td>
</tr>
<tr>
<td height="25" colspan="5"> 已受理申请人提交材料 ${SJSL} 件;其中原件${YJSL}件。材料清单如下:</td>
</tr>
<tr>
<td height="25"><div align="center">序号</div></td>
<td height="25" colspan="2"><div align="center">证件名称</div></td>
<td height="25"><div align="center">证件类别</div></td>
<td height="25"><div align="center">份数</div></td>
</tr>
<c:forEach items="${regBusSjlist}" var="regBusSj" varStatus="currentSj">
<tr>
<td height="25"><div align="center">${currentSj.index + 1 }</div></td>
<c:if test="${DJLXCODE ne '207' and DJLXCODE ne '209' and DJLXCODE ne '213' and DJLXCODE ne '214' and DJLXCODE ne '215' and DJLXCODE ne '220'
and DJLXCODE ne '302' and DJLXCODE ne '509' and DJLXCODE ne '510' and DJLXCODE ne '513' and DJLXCODE ne '515'
and DJLXCODE ne '402' and DJLXCODE ne '403' and DJLXCODE ne '404' and DJLXCODE ne '416' and DJLXCODE ne '429'
and DJLXCODE ne '604' and DJLXCODE ne '305' and DJLXCODE ne '306' and DJLXCODE ne '307' and DJLXCODE ne '433'
and DJLXCODE ne '803' and DJLXCODE ne '804' and DJLXCODE ne '806' and DJLXCODE ne '807' and DJLXCODE ne '608'
and DJLXCODE ne '905' and DJLXCODE ne '901' and DJLXCODE ne '904' and DJLXCODE ne '907' and DJLXCODE ne '810'
and DJLXCODE ne '811' and DJLXCODE ne '812' and DJLXCODE ne '609' and DJLXCODE ne '1003' and DJLXCODE ne '1004'
and DJLXCODE ne '512' and DJLXCODE ne '432' and DJLXCODE ne '607' and DJLXCODE ne '818' and DJLXCODE ne '507'
and DJLXCODE ne '511' and DJLXCODE ne '430' and DJLXCODE ne '315' and DJLXCODE ne '605' and DJLXCODE ne '427'
and DJLXCODE ne '428' and DJLXCODE ne '606' and DJLXCODE ne '316' and DJLXCODE ne '605' and DJLXCODE ne '427' }">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_sjmc', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '207'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_cs', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '416'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_bg_sjmc', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '512' or DJLXCODE eq '511'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_ygzx', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '209' or DJLXCODE eq '430' or DJLXCODE eq '315' or DJLXCODE eq '605'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_tdsjmc_tddy', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '507'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_tdsjmc_tddyzx', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '213' or DJLXCODE eq '427' or DJLXCODE eq '428' or DJLXCODE eq '431'
or DJLXCODE eq '606' or DJLXCODE eq '316'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_zjgc', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '302'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_zy', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '1003' or DJLXCODE eq '1004'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_bhz', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '905' or DJLXCODE eq '901' or DJLXCODE eq '907' or DJLXCODE eq '904'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_cf', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '305'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_tdsjmc_gyjssyqzy', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '306'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_tdsjmc_jtjssyqzy', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '307'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_tdsjmc_zjdsyqzy', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '604'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_gz', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '803'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_ygyg', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '804' or DJLXCODE eq '807' or DJLXCODE eq '432' or DJLXCODE eq '607' or DJLXCODE eq '818'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_ygdyyg', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '806'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_zyyg', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '214' or DJLXCODE eq '215' or DJLXCODE eq '433' or DJLXCODE eq '608'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_ybzgedy', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '509' or DJLXCODE eq '510' or DJLXCODE eq '513' or DJLXCODE eq '515'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_dyzx', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '402' or DJLXCODE eq '403' or DJLXCODE eq '404'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_fwjzwsyqbg', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '429'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_qzxbg_sjmc', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '810'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_ygfg', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '811'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_yghb', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '812' or DJLXCODE eq '609'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_ygbg', '')}</td>
</c:if>
<c:if test="${DJLXCODE eq '220'}">
<td height="25" colspan="2">${fns:getDictLabel(regBusSj.sjmc, 'reg_bus_fwsjmc_cs', '')}</td>
</c:if>
<td height="25">${fns:getDictLabel(regBusSj.sjlx, 'reg_bus_sjlxyf', '')}</td>
<td height="25"><div align="center">${regBusSj.sjsl }</div></td>
</tr>
</c:forEach>
<tr>
<td height="40"><div align="center">申请人(签字)</div></td>
<td width="255" height="40"> </td>
<td width="180"><div align="center">受理人(签字)</div></td>
<td height="40" colspan="2"> ${SLRMC}</td>
</tr>
<tr>
<td height="28"><div align="center">受理日期</div></td>
<td height="28" colspan="4">
${SLSJ}
</td>
</tr>
<tr>
<td height="100"><div align="center">告知内容</div></td>
<td height="100" colspan="4">
请于 年 月
日后,由领证人持有有效身份证件和本受理通知单,缴费后领取证书(证明)。 </td>
</tr>
</table>
</div>
</body>
</html>