|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+<!DOCTYPE html>
|
|
|
2
|
+<html>
|
|
|
3
|
+
|
|
|
4
|
+ <head>
|
|
|
5
|
+ <meta charset="utf-8">
|
|
|
6
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
7
|
+ <title>登记人情况</title>
|
|
|
8
|
+ <!--[if lt IE 9]>
|
|
|
9
|
+ <meta http-equiv="refresh" content="0;ie.html" />
|
|
|
10
|
+ <![endif]-->
|
|
|
11
|
+ <script src="../Script/Common/huayi.load.js"></script>
|
|
|
12
|
+ <script src="../Script/Common/huayi.config.js"></script>
|
|
|
13
|
+ <script src="../js/laydate/laydate.js"></script>
|
|
|
14
|
+ <link rel="stylesheet" href="../js/layui/css/layui.css" />
|
|
|
15
|
+ <link rel="stylesheet" href="../css/init.css" />
|
|
|
16
|
+ <style>
|
|
|
17
|
+ .zxt-top {
|
|
|
18
|
+ background: #fefefe;
|
|
|
19
|
+ height: 60px;
|
|
|
20
|
+ padding: 10px 20px;
|
|
|
21
|
+ }
|
|
|
22
|
+
|
|
|
23
|
+ .topCon {
|
|
|
24
|
+ float: right;
|
|
|
25
|
+ margin-right: 45px;
|
|
|
26
|
+ }
|
|
|
27
|
+
|
|
|
28
|
+ .zxt-content {
|
|
|
29
|
+ width: 90%;
|
|
|
30
|
+ margin: 20px auto 0 auto;
|
|
|
31
|
+ }
|
|
|
32
|
+ .select2-container--default .select2-selection--single{
|
|
|
33
|
+ border-color: #e5e6e7;
|
|
|
34
|
+ }
|
|
|
35
|
+ .time-box select{
|
|
|
36
|
+ height: 32px;
|
|
|
37
|
+ line-height: 32px;
|
|
|
38
|
+ }
|
|
|
39
|
+ .time-box select option{
|
|
|
40
|
+ line-height: 32px;
|
|
|
41
|
+ }
|
|
|
42
|
+ .Shows {
|
|
|
43
|
+ display: block !important;
|
|
|
44
|
+ }
|
|
|
45
|
+
|
|
|
46
|
+ .complain {
|
|
|
47
|
+ display: none;
|
|
|
48
|
+ }
|
|
|
49
|
+
|
|
|
50
|
+ .daoHang {
|
|
|
51
|
+ margin-bottom: 15px;
|
|
|
52
|
+ }
|
|
|
53
|
+
|
|
|
54
|
+
|
|
|
55
|
+ #main {
|
|
|
56
|
+ width: 788.8px;
|
|
|
57
|
+ margin: 0 auto;
|
|
|
58
|
+ margin-top: 20px;
|
|
|
59
|
+ -webkit-box-shadow: 1px 1px 9px 2px #D2D2D2;
|
|
|
60
|
+ box-shadow: 1px 1px 9px 2px #D2D2D2;
|
|
|
61
|
+ background-color: #fff;
|
|
|
62
|
+ padding: 30px 60px 80px 60px;
|
|
|
63
|
+ }
|
|
|
64
|
+
|
|
|
65
|
+ .alignC {
|
|
|
66
|
+ text-align: center;
|
|
|
67
|
+ }
|
|
|
68
|
+
|
|
|
69
|
+ .alignC h2 {
|
|
|
70
|
+ font-family: "宋体";
|
|
|
71
|
+ font-weight: bold;
|
|
|
72
|
+ font-size: 22pt;
|
|
|
73
|
+ letter-spacing: -1px;
|
|
|
74
|
+ }
|
|
|
75
|
+
|
|
|
76
|
+ .headerAlign h3 div:nth-of-type(1) {
|
|
|
77
|
+ font-size: 14pt;
|
|
|
78
|
+ padding-top: 20px;
|
|
|
79
|
+ text-align: left;
|
|
|
80
|
+ font-weight: normal;
|
|
|
81
|
+ margin-left: 48px;
|
|
|
82
|
+ }
|
|
|
83
|
+
|
|
|
84
|
+ #main table {
|
|
|
85
|
+ margin: 0 auto;
|
|
|
86
|
+ width: 600px;
|
|
|
87
|
+ border-collapse: collapse;
|
|
|
88
|
+ font-size: 13pt;
|
|
|
89
|
+ font-family: "仿宋";
|
|
|
90
|
+ }
|
|
|
91
|
+
|
|
|
92
|
+ #main table tr {
|
|
|
93
|
+ min-height: 49px;
|
|
|
94
|
+ }
|
|
|
95
|
+
|
|
|
96
|
+ tbody td {
|
|
|
97
|
+ min-width: 10%;
|
|
|
98
|
+ padding: 6px 0 6px 0;
|
|
|
99
|
+ }
|
|
|
100
|
+
|
|
|
101
|
+ .alignC .tableHead {
|
|
|
102
|
+ text-align: center;
|
|
|
103
|
+ padding-left: 10px;
|
|
|
104
|
+ font-weight: 600;
|
|
|
105
|
+ }
|
|
|
106
|
+
|
|
|
107
|
+ .btn {
|
|
|
108
|
+ margin-top: 4px;
|
|
|
109
|
+ margin-bottom: 4px;
|
|
|
110
|
+ background: #00a1cb;
|
|
|
111
|
+ color: #fff;
|
|
|
112
|
+ }
|
|
|
113
|
+
|
|
|
114
|
+ .time-box {
|
|
|
115
|
+ display: inline-block;
|
|
|
116
|
+ position: relative;
|
|
|
117
|
+ }
|
|
|
118
|
+
|
|
|
119
|
+ .toolLeft input {
|
|
|
120
|
+ padding-right: 30px;
|
|
|
121
|
+ width: 150px;
|
|
|
122
|
+ }
|
|
|
123
|
+
|
|
|
124
|
+ .tub {
|
|
|
125
|
+ position: absolute;
|
|
|
126
|
+ right: 8px;
|
|
|
127
|
+ top: 5px;
|
|
|
128
|
+ font-size: 18px;
|
|
|
129
|
+ color: #00a0ca;
|
|
|
130
|
+ }
|
|
|
131
|
+ .btnPrint{
|
|
|
132
|
+ background: #1e90ff;
|
|
|
133
|
+ }
|
|
|
134
|
+ </style>
|
|
|
135
|
+ <style media="print">
|
|
|
136
|
+ /*设置打印样式 标题宋体加黑二号*/
|
|
|
137
|
+
|
|
|
138
|
+ .headerAlign h2 {
|
|
|
139
|
+ font-family: "宋体" !important;
|
|
|
140
|
+ font-weight: bold !important;
|
|
|
141
|
+ font-size: 22pt !important;
|
|
|
142
|
+ letter-spacing: -1px !important;
|
|
|
143
|
+ }
|
|
|
144
|
+ .textCb{
|
|
|
145
|
+ color: #e84545 !important;
|
|
|
146
|
+ }
|
|
|
147
|
+ .headerAlign h3 div:nth-of-type(1) {
|
|
|
148
|
+ font-size: 14pt !important;
|
|
|
149
|
+ font-family: "宋体" !important;
|
|
|
150
|
+ font-weight: normal !important;
|
|
|
151
|
+ margin-left: 98px !important;
|
|
|
152
|
+ }
|
|
|
153
|
+
|
|
|
154
|
+ .headerAlign h3 {
|
|
|
155
|
+ width: 690px !important;
|
|
|
156
|
+ }
|
|
|
157
|
+
|
|
|
158
|
+ #main {
|
|
|
159
|
+ padding: 40px 0 0 0 !important;
|
|
|
160
|
+ }
|
|
|
161
|
+
|
|
|
162
|
+ #main table {
|
|
|
163
|
+ font-size: 13pt !important;
|
|
|
164
|
+ font-family: "仿宋" !important;
|
|
|
165
|
+ border-color: #000;
|
|
|
166
|
+ color: #000;
|
|
|
167
|
+ width: 621px !important;
|
|
|
168
|
+ /*page-break-after:avoid !important;*/
|
|
|
169
|
+ }
|
|
|
170
|
+
|
|
|
171
|
+ tbody td {
|
|
|
172
|
+ padding: 6px 0 6px 0 !important;
|
|
|
173
|
+ }
|
|
|
174
|
+
|
|
|
175
|
+ .printdz {
|
|
|
176
|
+ text-align: left;
|
|
|
177
|
+ text-indent: .3em;
|
|
|
178
|
+ padding: 4px;
|
|
|
179
|
+ }
|
|
|
180
|
+
|
|
|
181
|
+ .printdd {
|
|
|
182
|
+ text-align: justify !important;
|
|
|
183
|
+ padding: 4px 2px 4px 4px !important;
|
|
|
184
|
+ }
|
|
|
185
|
+
|
|
|
186
|
+ .printnr,
|
|
|
187
|
+ .printcb,
|
|
|
188
|
+ .printldps,
|
|
|
189
|
+ .printcljg {
|
|
|
190
|
+ text-align: justify !important;
|
|
|
191
|
+ padding: 4px !important;
|
|
|
192
|
+ text-indent: 2em !important;
|
|
|
193
|
+ }
|
|
|
194
|
+
|
|
|
195
|
+ @page {
|
|
|
196
|
+ size: A4 portrait;
|
|
|
197
|
+ }
|
|
|
198
|
+ </style>
|
|
|
199
|
+ </head>
|
|
|
200
|
+
|
|
|
201
|
+ <body class="gray-bg">
|
|
|
202
|
+ <div class="wrapper wrapper-content">
|
|
|
203
|
+ <div class="Content_box">
|
|
|
204
|
+ <div class="complain Shows">
|
|
|
205
|
+ <div class="tab-content">
|
|
|
206
|
+ <div class="tab-pane fade active in" style="text-align: center;">
|
|
|
207
|
+ <!--startprint1-->
|
|
|
208
|
+ <div id="main">
|
|
|
209
|
+ <div class="alignC headerAlign">
|
|
|
210
|
+ <br />
|
|
|
211
|
+ <h2 style="margin-bottom: 15px;">登记人情况</h2>
|
|
|
212
|
+ </div>
|
|
|
213
|
+ <table id="weeklist" class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
|
|
|
214
|
+ <tr>
|
|
|
215
|
+ <td height="50px">姓名</td>
|
|
|
216
|
+ <td id="printName" colspan="2"></td>
|
|
|
217
|
+ <td>性别</td>
|
|
|
218
|
+ <td id="printSex" colspan="2"></td>
|
|
|
219
|
+ </tr>
|
|
|
220
|
+ <tr>
|
|
|
221
|
+ <td height="50px">来访日期</td>
|
|
|
222
|
+ <td id="printDateVisit" colspan="2"></td>
|
|
|
223
|
+ <td>身份证号码</td>
|
|
|
224
|
+ <td id="printIDCard" colspan="2"></td>
|
|
|
225
|
+ </tr>
|
|
|
226
|
+ <tr>
|
|
|
227
|
+ <td height="50px">电话</td>
|
|
|
228
|
+ <td id="printPhone" colspan="2"></td>
|
|
|
229
|
+ <td>来访人数</td>
|
|
|
230
|
+ <td id="printNumberVisitors" colspan="2"></td>
|
|
|
231
|
+ </tr>
|
|
|
232
|
+ <tr>
|
|
|
233
|
+ <td height="50px">身份证住址</td>
|
|
|
234
|
+ <td id="printIDCardAddress" colspan="5"></td>
|
|
|
235
|
+ </tr>
|
|
|
236
|
+ <tr>
|
|
|
237
|
+ <td height="50px">随访人姓名</td>
|
|
|
238
|
+ <td id="printFollowerName" colspan="5"></td>
|
|
|
239
|
+ </tr>
|
|
|
240
|
+ <tr>
|
|
|
241
|
+ <td height="220px">主要诉求</td>
|
|
|
242
|
+ <td id="printMainAppeal" colspan="5"></td>
|
|
|
243
|
+ </tr>
|
|
|
244
|
+ <tr>
|
|
|
245
|
+ <td height="150px">处置情况</td>
|
|
|
246
|
+ <td id="printDisposalSituation" colspan="5"></td>
|
|
|
247
|
+ </tr>
|
|
|
248
|
+ <tr>
|
|
|
249
|
+ <td width="15%" height="130px">通知单位</td>
|
|
|
250
|
+ <td id="printNotificationUnit" width="15%"></td>
|
|
|
251
|
+ <td width="15%">被通知单位人员</td>
|
|
|
252
|
+ <td id="printNotifiedUnitPersonnel" width="15%"></td>
|
|
|
253
|
+ <td width="15%">接访人员签名</td>
|
|
|
254
|
+ <td id="printSignatureInterviewer" width="15%"></td>
|
|
|
255
|
+ </tr>
|
|
|
256
|
+ </table>
|
|
|
257
|
+ </div>
|
|
|
258
|
+ <!--endprint1-->
|
|
|
259
|
+ <input type="button" value="打印" class="btn btnPrint" onclick="preview(1)" />
|
|
|
260
|
+ </div>
|
|
|
261
|
+ </div>
|
|
|
262
|
+ </div>
|
|
|
263
|
+ </div>
|
|
|
264
|
+ </div>
|
|
|
265
|
+
|
|
|
266
|
+ <script>
|
|
|
267
|
+ var CallID = helper.request.queryString("CallID");
|
|
|
268
|
+
|
|
|
269
|
+ $(document).ready(function () {
|
|
|
270
|
+ getRegisterDetailByCallId()
|
|
|
271
|
+ })
|
|
|
272
|
+ //通过callid获取详情
|
|
|
273
|
+ function getRegisterDetailByCallId() {
|
|
|
274
|
+ $.get(huayi.config.callcenter_url + 'RegRecords/GetCallidDetails', {
|
|
|
275
|
+ callid: CallID,
|
|
|
276
|
+ "token": $.cookie("token")
|
|
|
277
|
+ }, function(result) {
|
|
|
278
|
+ result = $.parseJSON(result);
|
|
|
279
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
280
|
+ var con = result.data.model;
|
|
|
281
|
+ var conCus = result.data.cusmodel
|
|
|
282
|
+ $("#printName").text(con.F_userName); //姓名
|
|
|
283
|
+ $("#printPhone").text(con.F_userPhone); //电话
|
|
|
284
|
+ $("#printSex").text(con.F_userSex); //性别
|
|
|
285
|
+ $("#printIDCardAddress").text(con.F_userProvince + con.F_userCity + con.F_userArea + con.F_userAddress) //地址
|
|
|
286
|
+ $("#printNotificationUnit").text(con.F_Unit); //被投诉单位
|
|
|
287
|
+ $("#printMainAppeal").text(con.F_Content); //登记内容/投诉事项
|
|
|
288
|
+ $("#printSignatureInterviewer").text(con.F_CreateBy); //登记人
|
|
|
289
|
+ $("#printDateVisit").text(con.F_CreateOn); //登记时间
|
|
|
290
|
+ }
|
|
|
291
|
+ })
|
|
|
292
|
+ }
|
|
|
293
|
+ //登记类型
|
|
|
294
|
+ function formatterRegisterType(val) {
|
|
|
295
|
+ var formatterRegisterTypeArr = ["", "咨询", "投诉", "求助", "其他"]
|
|
|
296
|
+ return formatterRegisterTypeArr[val]
|
|
|
297
|
+ }
|
|
|
298
|
+
|
|
|
299
|
+ //导出
|
|
|
300
|
+ $(".export").click(function () {
|
|
|
301
|
+ var url = huayi.config.callcenter_url + "Business/MarketInformation?token=" + $.cookie("token");
|
|
|
302
|
+ url += "&sdate=" + ($('#startTime').val() ? $('#startTime').val().split('~')[0] : '') + "&edate=" + ($('#startTime').val() ? $('#startTime').val().split('~')[1] : '') + "&isdc=1";
|
|
|
303
|
+ $(".export").attr('href', url);
|
|
|
304
|
+ });
|
|
|
305
|
+ function preview(oper) {
|
|
|
306
|
+ //debugger;
|
|
|
307
|
+ if(oper < 5) {
|
|
|
308
|
+ bdhtml = window.document.body.innerHTML; //获取当前页的html代码
|
|
|
309
|
+ sprnstr = "<!--startprint" + oper + "-->"; //设置打印开始区域
|
|
|
310
|
+ eprnstr = "<!--endprint" + oper + "-->"; //设置打印结束区域
|
|
|
311
|
+ prnhtml = bdhtml.substring(bdhtml.indexOf(sprnstr) + 18); //从开始代码向后取html
|
|
|
312
|
+ print.portrait = true; //纵向打印
|
|
|
313
|
+ prnhtml = prnhtml.substring(0, prnhtml.indexOf(eprnstr)); //从结束代码向前取html
|
|
|
314
|
+ window.document.body.innerHTML = prnhtml;
|
|
|
315
|
+ window.print();
|
|
|
316
|
+ window.document.body.innerHTML = bdhtml;
|
|
|
317
|
+// parent.parent.layer.closeAll();
|
|
|
318
|
+// parent.parent.$('#orderlist').bootstrapTable('refresh');
|
|
|
319
|
+// parent.parent.layer.msg("操作成功!");
|
|
|
320
|
+ } else {
|
|
|
321
|
+ window.print();
|
|
|
322
|
+ }
|
|
|
323
|
+ }
|
|
|
324
|
+
|
|
|
325
|
+ </script>
|
|
|
326
|
+ </body>
|
|
|
327
|
+
|
|
|
328
|
+</html>
|