|
|
@@ -0,0 +1,339 @@
|
|
|
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
|
+ </style>
|
|
|
132
|
+ </head>
|
|
|
133
|
+
|
|
|
134
|
+ <body class="gray-bg">
|
|
|
135
|
+ <div class="wrapper wrapper-content">
|
|
|
136
|
+ <div class="Content_box">
|
|
|
137
|
+ <div class="complain Shows">
|
|
|
138
|
+ <div class="tab-content">
|
|
|
139
|
+ <div class="tab-pane fade active in">
|
|
|
140
|
+ <!-- <div class="zxt-top clearfix">
|
|
|
141
|
+ <div class="topCon">
|
|
|
142
|
+ <div class="form-inline th-bar clearfix">
|
|
|
143
|
+ <div class="form-group tool_bars pull-right">
|
|
|
144
|
+ <a class="btns export">导出</a>
|
|
|
145
|
+ </div>
|
|
|
146
|
+ </div>
|
|
|
147
|
+ </div>
|
|
|
148
|
+ </div> -->
|
|
|
149
|
+ <!--startprint1-->
|
|
|
150
|
+ <div id="main">
|
|
|
151
|
+ <div class="alignC headerAlign">
|
|
|
152
|
+ <br />
|
|
|
153
|
+ <h2 style="margin-bottom: 15px;">登记人情况</h2>
|
|
|
154
|
+ </div>
|
|
|
155
|
+ <table id="weeklist" class="alignC" border="1" cellpadding="4" cellspacing="0" bordercolor="#cbcbcb">
|
|
|
156
|
+ <tr>
|
|
|
157
|
+ <td>姓名</td>
|
|
|
158
|
+ <td id="printName" colspan="2"></td>
|
|
|
159
|
+ <td>性别</td>
|
|
|
160
|
+ <td id="printSex" colspan="2"></td>
|
|
|
161
|
+ </tr>
|
|
|
162
|
+ <tr>
|
|
|
163
|
+ <td>来访日期</td>
|
|
|
164
|
+ <td id="printDateVisit" colspan="2"></td>
|
|
|
165
|
+ <td>身份证号码</td>
|
|
|
166
|
+ <td id="printIDCard" colspan="2"></td>
|
|
|
167
|
+ </tr>
|
|
|
168
|
+ <tr>
|
|
|
169
|
+ <td>电话</td>
|
|
|
170
|
+ <td id="printPhone" colspan="2"></td>
|
|
|
171
|
+ <td>来访人数</td>
|
|
|
172
|
+ <td id="printNumberVisitors" colspan="2"></td>
|
|
|
173
|
+ </tr>
|
|
|
174
|
+ <tr>
|
|
|
175
|
+ <td>身份证住址</td>
|
|
|
176
|
+ <td id="printIDCardAddress" colspan="5"></td>
|
|
|
177
|
+ </tr>
|
|
|
178
|
+ <tr>
|
|
|
179
|
+ <td>随访人姓名</td>
|
|
|
180
|
+ <td id="printFollowerName" colspan="5"></td>
|
|
|
181
|
+ </tr>
|
|
|
182
|
+ <tr>
|
|
|
183
|
+ <td>主要诉求</td>
|
|
|
184
|
+ <td id="printMainAppeal" colspan="5"></td>
|
|
|
185
|
+ </tr>
|
|
|
186
|
+ <tr>
|
|
|
187
|
+ <td>处置情况</td>
|
|
|
188
|
+ <td id="printDisposalSituation" colspan="5"></td>
|
|
|
189
|
+ </tr>
|
|
|
190
|
+ <tr>
|
|
|
191
|
+ <td width="15%">通知单位</td>
|
|
|
192
|
+ <td id="printNotificationUnit" width="15%"></td>
|
|
|
193
|
+ <td width="15%">被通知单位人员</td>
|
|
|
194
|
+ <td id="printNotifiedUnitPersonnel" width="15%"></td>
|
|
|
195
|
+ <td width="15%">接访人员签名</td>
|
|
|
196
|
+ <td id="printSignatureInterviewer" width="15%"></td>
|
|
|
197
|
+ </tr>
|
|
|
198
|
+ </table>
|
|
|
199
|
+ </div>
|
|
|
200
|
+ <!--endprint1-->
|
|
|
201
|
+ </div>
|
|
|
202
|
+ </div>
|
|
|
203
|
+ </div>
|
|
|
204
|
+ </div>
|
|
|
205
|
+ </div>
|
|
|
206
|
+
|
|
|
207
|
+ <script>
|
|
|
208
|
+ var CallID = helper.request.queryString("CallID");
|
|
|
209
|
+
|
|
|
210
|
+ $(document).ready(function () {
|
|
|
211
|
+ // initTableBrief();
|
|
|
212
|
+ getRegisterDetailByCallId()
|
|
|
213
|
+ })
|
|
|
214
|
+ //通过callid获取详情
|
|
|
215
|
+ function getRegisterDetailByCallId() {
|
|
|
216
|
+ $.get(huayi.config.callcenter_url + 'RegRecords/GetCallidDetails', {
|
|
|
217
|
+ callid: CallID,
|
|
|
218
|
+ "token": $.cookie("token")
|
|
|
219
|
+ }, function(result) {
|
|
|
220
|
+ result = $.parseJSON(result);
|
|
|
221
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
222
|
+ var con = result.data.model;
|
|
|
223
|
+ var conCus = result.data.cusmodel
|
|
|
224
|
+ $("#printName").text(conCus.F_Name); //姓名
|
|
|
225
|
+ $("#printPhone").text(conCus.F_Phone); //电话
|
|
|
226
|
+ $("#printSex").text(conCus.F_Sex); //性别
|
|
|
227
|
+ $("#printIDCardAddress").text(conCus.F_Province + conCus.F_City + conCus.F_County + conCus.F_Address)
|
|
|
228
|
+ // $("#detailProvince").text(conCus.F_Province); //省
|
|
|
229
|
+ // $("#detailCity").text(conCus.F_City); //市
|
|
|
230
|
+ // $("#detailCounty").text(conCus.F_County); //县/区
|
|
|
231
|
+ // $("#detailAddress").text(conCus.F_Address); //详细地址
|
|
|
232
|
+ $("#printNotificationUnit").text(con.F_Complained); //被投诉单位
|
|
|
233
|
+ $("#printMainAppeal").text(con.F_Content); //登记内容/投诉事项
|
|
|
234
|
+ $("#printSignatureInterviewer").text(con.F_CreateBy); //登记人
|
|
|
235
|
+ $("#printDateVisit").text(con.F_CreateOn); //登记时间
|
|
|
236
|
+ }
|
|
|
237
|
+ })
|
|
|
238
|
+ }
|
|
|
239
|
+ //登记类型
|
|
|
240
|
+ function formatterRegisterType(val) {
|
|
|
241
|
+ var formatterRegisterTypeArr = ["", "咨询", "投诉", "求助", "其他"]
|
|
|
242
|
+ return formatterRegisterTypeArr[val]
|
|
|
243
|
+ }
|
|
|
244
|
+
|
|
|
245
|
+ //表格
|
|
|
246
|
+ function initTableBrief(brieftype) {
|
|
|
247
|
+ $.getJSON(huayi.config.callcenter_url + 'Business/MarketInformation', {
|
|
|
248
|
+ token: $.cookie("token")
|
|
|
249
|
+ }, function (result) {
|
|
|
250
|
+ if (result.state.toLowerCase() == "success") {
|
|
|
251
|
+ var content = result.rows;
|
|
|
252
|
+ $('#weeklist').html('');
|
|
|
253
|
+ $("#weeklist").append(
|
|
|
254
|
+ '<tr><td colspan="8"><h3>时间:<span class="startTimeBrief">-</span><span>至</span><span class="endTimeBrief">-</span></h3></td></tr>'+
|
|
|
255
|
+ '<tr><td colspan="8" class="tableHead">产品投诉情况</td></tr>'
|
|
|
256
|
+ )
|
|
|
257
|
+ // 产品投诉
|
|
|
258
|
+ for (var i=0; i < content.product.length; i+=2) {
|
|
|
259
|
+ if(content.product[i+1] == undefined) {
|
|
|
260
|
+ $("#weeklist").append(
|
|
|
261
|
+ '<tr>'+
|
|
|
262
|
+ '<td width="20%">'+
|
|
|
263
|
+ content.product[i].name +
|
|
|
264
|
+ '</td>'+
|
|
|
265
|
+ '<td width="15%">'+
|
|
|
266
|
+ '<span>'+
|
|
|
267
|
+ content.product[i].number +
|
|
|
268
|
+ '</span>'+
|
|
|
269
|
+ '</td>'+
|
|
|
270
|
+ '<td width="15%">'+
|
|
|
271
|
+ '<span>'+
|
|
|
272
|
+ content.product[i].Proportion +
|
|
|
273
|
+ '</span>'+
|
|
|
274
|
+ '</td>'+
|
|
|
275
|
+ '<td width="20%">'+
|
|
|
276
|
+ '</td>'+
|
|
|
277
|
+ '<td width="15%">'+
|
|
|
278
|
+ '<span>'+
|
|
|
279
|
+ '</span>'+
|
|
|
280
|
+ '</td>'+
|
|
|
281
|
+ '<td width="15%">'+
|
|
|
282
|
+ '<span>'+
|
|
|
283
|
+ '</span>'+
|
|
|
284
|
+ '</td>'+
|
|
|
285
|
+ '</tr>'
|
|
|
286
|
+ )
|
|
|
287
|
+ } else {
|
|
|
288
|
+ $("#weeklist").append(
|
|
|
289
|
+ '<tr>'+
|
|
|
290
|
+ '<td width="20%">'+
|
|
|
291
|
+ content.product[i].name +
|
|
|
292
|
+ '</td>'+
|
|
|
293
|
+ '<td width="15%">'+
|
|
|
294
|
+ '<span>'+
|
|
|
295
|
+ content.product[i].number +
|
|
|
296
|
+ '</span>'+
|
|
|
297
|
+ '</td>'+
|
|
|
298
|
+ '<td width="15%">'+
|
|
|
299
|
+ '<span>'+
|
|
|
300
|
+ content.product[i].Proportion +
|
|
|
301
|
+ '</span>'+
|
|
|
302
|
+ '</td>'+
|
|
|
303
|
+ '<td width="20%">'+
|
|
|
304
|
+ content.product[i+1].name +
|
|
|
305
|
+ '</td>'+
|
|
|
306
|
+ '<td width="15%">'+
|
|
|
307
|
+ '<span>'+
|
|
|
308
|
+ content.product[i+1].number +
|
|
|
309
|
+ '</span>'+
|
|
|
310
|
+ '</td>'+
|
|
|
311
|
+ '<td width="15%">'+
|
|
|
312
|
+ '<span>'+
|
|
|
313
|
+ content.product[i+1].Proportion +
|
|
|
314
|
+ '</span>'+
|
|
|
315
|
+ '</td>'+
|
|
|
316
|
+ '</tr>'
|
|
|
317
|
+ )
|
|
|
318
|
+ }
|
|
|
319
|
+ }
|
|
|
320
|
+ $("#weeklist").append(
|
|
|
321
|
+ '<tr><td colspan="8">服务投诉情况</td></tr>'+
|
|
|
322
|
+ '<tr><td colspan="8">涉媒投诉</td></tr>'+
|
|
|
323
|
+ '<tr><td>'+ content.sediainvolved.name + '</td><td><span>'+ content.sediainvolved.number + '</span></td><td><span>'+content.sediainvolved.Proportion + '</span></td><td colspan="4"></td></tr>'+
|
|
|
324
|
+ '<tr><td colspan="8" class="tableHead">市场抽检</td></tr>'+
|
|
|
325
|
+ '<tr><td colspan="8" class="tableHead">其他信息</td></tr>'
|
|
|
326
|
+ )
|
|
|
327
|
+ }
|
|
|
328
|
+ })
|
|
|
329
|
+ }
|
|
|
330
|
+ //导出
|
|
|
331
|
+ $(".export").click(function () {
|
|
|
332
|
+ var url = huayi.config.callcenter_url + "Business/MarketInformation?token=" + $.cookie("token");
|
|
|
333
|
+ url += "&sdate=" + ($('#startTime').val() ? $('#startTime').val().split('~')[0] : '') + "&edate=" + ($('#startTime').val() ? $('#startTime').val().split('~')[1] : '') + "&isdc=1";
|
|
|
334
|
+ $(".export").attr('href', url);
|
|
|
335
|
+ });
|
|
|
336
|
+ </script>
|
|
|
337
|
+ </body>
|
|
|
338
|
+
|
|
|
339
|
+</html>
|