|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+<!DOCTYPE html>
|
|
|
2
|
+<html>
|
|
|
3
|
+
|
|
|
4
|
+ <head>
|
|
|
5
|
+ <meta charset="UTF-8">
|
|
|
6
|
+ <title>查看信息</title>
|
|
|
7
|
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
8
|
+ <script src="../Script/Common/huayi.load.js"></script>
|
|
|
9
|
+ <script src="../Script/Common/huayi.config.js"></script>
|
|
|
10
|
+ <link href="../css/Table/table1.css" rel="stylesheet" />
|
|
|
11
|
+ <link href="../css/init.css" rel="stylesheet" />
|
|
|
12
|
+ <style>
|
|
|
13
|
+ table td {
|
|
|
14
|
+ word-break: break-all;
|
|
|
15
|
+ word-wrap: break-word;
|
|
|
16
|
+ }
|
|
|
17
|
+
|
|
|
18
|
+ table th {
|
|
|
19
|
+ min-width: 120px;
|
|
|
20
|
+ }
|
|
|
21
|
+
|
|
|
22
|
+ .size-14 {
|
|
|
23
|
+ font-size: 14px!important;
|
|
|
24
|
+ }
|
|
|
25
|
+
|
|
|
26
|
+ .shark_content_title {
|
|
|
27
|
+ font-size: 14px;
|
|
|
28
|
+ height: 30px;
|
|
|
29
|
+ line-height: 20px;
|
|
|
30
|
+ border-bottom: 1px solid #CCCCCC;
|
|
|
31
|
+ margin-bottom: 5px;
|
|
|
32
|
+ margin-top: 5px;
|
|
|
33
|
+ }
|
|
|
34
|
+
|
|
|
35
|
+ .content_2 li {
|
|
|
36
|
+ width: 24%;
|
|
|
37
|
+ margin-bottom: 10px;
|
|
|
38
|
+ }
|
|
|
39
|
+
|
|
|
40
|
+ .content_3 li {
|
|
|
41
|
+ width: 24%;
|
|
|
42
|
+ margin-bottom: 10px;
|
|
|
43
|
+ }
|
|
|
44
|
+
|
|
|
45
|
+ #tbr {
|
|
|
46
|
+ border: 1px solid #ccc;
|
|
|
47
|
+ }
|
|
|
48
|
+
|
|
|
49
|
+ #tbr td {
|
|
|
50
|
+ padding: 10px;
|
|
|
51
|
+ padding: 6px 0 5px 10px;
|
|
|
52
|
+ color: #717171;
|
|
|
53
|
+ line-height: 200%;
|
|
|
54
|
+ border-top: 1px dotted #cccccc;
|
|
|
55
|
+ }
|
|
|
56
|
+
|
|
|
57
|
+ #tbr th {
|
|
|
58
|
+ border-right: 1px dotted #cccccc;
|
|
|
59
|
+ border-top: 1px dotted #cccccc;
|
|
|
60
|
+ background: #f9f9f9;
|
|
|
61
|
+ text-align: right;
|
|
|
62
|
+ }
|
|
|
63
|
+
|
|
|
64
|
+ .Back {
|
|
|
65
|
+ background-color: #f5f5f5;
|
|
|
66
|
+ }
|
|
|
67
|
+
|
|
|
68
|
+ label {
|
|
|
69
|
+ margin-right: 10px;
|
|
|
70
|
+ }
|
|
|
71
|
+
|
|
|
72
|
+ .Phone_Text ul {
|
|
|
73
|
+ padding-left: 0;
|
|
|
74
|
+ }
|
|
|
75
|
+
|
|
|
76
|
+ .Phone_Text li {
|
|
|
77
|
+ width: 50%;
|
|
|
78
|
+ }
|
|
|
79
|
+
|
|
|
80
|
+ .Phone_Text label {
|
|
|
81
|
+ width: 60px;
|
|
|
82
|
+ }
|
|
|
83
|
+
|
|
|
84
|
+ .Qus_box li {
|
|
|
85
|
+ list-style: none;
|
|
|
86
|
+ border: 1px solid #ccc;
|
|
|
87
|
+ border-bottom: none;
|
|
|
88
|
+ float: none;
|
|
|
89
|
+ }
|
|
|
90
|
+
|
|
|
91
|
+ .Qus_box {
|
|
|
92
|
+ padding-left: 0!important;
|
|
|
93
|
+ }
|
|
|
94
|
+
|
|
|
95
|
+ .Qus_box div {
|
|
|
96
|
+ padding: 10px;
|
|
|
97
|
+ border-bottom: 1px solid #ccc;
|
|
|
98
|
+ }
|
|
|
99
|
+
|
|
|
100
|
+ .title_ul {
|
|
|
101
|
+ padding-left: 0;
|
|
|
102
|
+ margin-bottom: 0;
|
|
|
103
|
+ }
|
|
|
104
|
+
|
|
|
105
|
+ .title_ul li {
|
|
|
106
|
+ border: 1px solid #ccc;
|
|
|
107
|
+ float: none;
|
|
|
108
|
+ }
|
|
|
109
|
+
|
|
|
110
|
+ .title_ul li label {
|
|
|
111
|
+ border-right: 1px solid #ccc;
|
|
|
112
|
+ line-height: 30px;
|
|
|
113
|
+ margin: 0;
|
|
|
114
|
+ padding: 10px;
|
|
|
115
|
+ }
|
|
|
116
|
+
|
|
|
117
|
+ .checkbox input[type=checkbox] {
|
|
|
118
|
+ margin-top: 0;
|
|
|
119
|
+ margin-left: 0;
|
|
|
120
|
+ position: relative;
|
|
|
121
|
+ }
|
|
|
122
|
+
|
|
|
123
|
+ .radio input[type=radio] {
|
|
|
124
|
+ margin-top: 0;
|
|
|
125
|
+ margin-left: 0;
|
|
|
126
|
+ position: relative;
|
|
|
127
|
+ }
|
|
|
128
|
+
|
|
|
129
|
+ .wrapper {
|
|
|
130
|
+ margin-bottom: 20px;
|
|
|
131
|
+ }
|
|
|
132
|
+ </style>
|
|
|
133
|
+ </head>
|
|
|
134
|
+
|
|
|
135
|
+ <body class="gray-bg">
|
|
|
136
|
+ <div class="wrapper clearfix">
|
|
|
137
|
+ <div class="content_1 clearfix">
|
|
|
138
|
+ <div class="shark_content_title clearfix">
|
|
|
139
|
+ <span>电话信息</span>
|
|
|
140
|
+
|
|
|
141
|
+ </div>
|
|
|
142
|
+ <div class="clearfix Phone_Text clearfix">
|
|
|
143
|
+ <ul class="clearfix">
|
|
|
144
|
+ <li>
|
|
|
145
|
+ <label for="">姓名:</label><span class="Name_">18839115206</span>
|
|
|
146
|
+ </li>
|
|
|
147
|
+ <li>
|
|
|
148
|
+ <label for="">电话号码:</label><span class="Phone_"></span>
|
|
|
149
|
+ </li>
|
|
|
150
|
+
|
|
|
151
|
+ </ul>
|
|
|
152
|
+ </div>
|
|
|
153
|
+ </div>
|
|
|
154
|
+ <div class="content_2 clearfix ">
|
|
|
155
|
+ <div class="shark_content_title clearfix">
|
|
|
156
|
+ <span>呼叫结果</span>
|
|
|
157
|
+
|
|
|
158
|
+ </div>
|
|
|
159
|
+ <div>
|
|
|
160
|
+ <ul class="clearfix" id="Tgetruset">
|
|
|
161
|
+
|
|
|
162
|
+ </ul>
|
|
|
163
|
+ </div>
|
|
|
164
|
+ </div>
|
|
|
165
|
+ <div class="content_3 clearfix ">
|
|
|
166
|
+ <div class="shark_content_title clearfix">
|
|
|
167
|
+ <span>用户反馈</span>
|
|
|
168
|
+
|
|
|
169
|
+ </div>
|
|
|
170
|
+ <div>
|
|
|
171
|
+ <ul class="clearfix" id="Tg">
|
|
|
172
|
+
|
|
|
173
|
+ </ul>
|
|
|
174
|
+ </div>
|
|
|
175
|
+ </div>
|
|
|
176
|
+ <div class="content_4 clearfix ">
|
|
|
177
|
+ <div class="shark_content_title clearfix">
|
|
|
178
|
+ <span>问卷信息</span>
|
|
|
179
|
+
|
|
|
180
|
+ </div>
|
|
|
181
|
+ <div>
|
|
|
182
|
+ <ul style="padding-left: 0;" class="title_ul">
|
|
|
183
|
+ <li>
|
|
|
184
|
+ <label for="">问卷名称</label><span class="Title"></span>
|
|
|
185
|
+ </li>
|
|
|
186
|
+ <li>
|
|
|
187
|
+ <label for="">问卷名称</label><span class="F_Remark"></span>
|
|
|
188
|
+ </li>
|
|
|
189
|
+ </ul>
|
|
|
190
|
+ <ul class="Qus_box">
|
|
|
191
|
+
|
|
|
192
|
+ </ul>
|
|
|
193
|
+ </div>
|
|
|
194
|
+ </div>
|
|
|
195
|
+ </div>
|
|
|
196
|
+
|
|
|
197
|
+ <script>
|
|
|
198
|
+ var wid = helper.request.queryString("Str");
|
|
|
199
|
+ console.log(wid);
|
|
|
200
|
+ $(document).ready(function() {
|
|
|
201
|
+ GetHJJG();
|
|
|
202
|
+ GetYHFK();
|
|
|
203
|
+ XQ(wid);
|
|
|
204
|
+
|
|
|
205
|
+
|
|
|
206
|
+ })
|
|
|
207
|
+
|
|
|
208
|
+ //详情查看
|
|
|
209
|
+ function XQ(wid) {
|
|
|
210
|
+ console.log(wid);
|
|
|
211
|
+ $.ajax({
|
|
|
212
|
+ type: "get",
|
|
|
213
|
+ url: huayi.config.callcenter_url + "CallOutPlan/GetTaskTelInfo",
|
|
|
214
|
+ dataType: 'json',
|
|
|
215
|
+ data: {
|
|
|
216
|
+ id: wid,
|
|
|
217
|
+ token: $.cookie("token")
|
|
|
218
|
+ },
|
|
|
219
|
+ async: true,
|
|
|
220
|
+ success: function(data) {
|
|
|
221
|
+ var Count = data.data;
|
|
|
222
|
+ console.log(Count.taskModel);
|
|
|
223
|
+ $(".Name_").text(Count.taskModel.F_CusName);
|
|
|
224
|
+ $(".Phone_").text(Count.taskModel.F_Phone);
|
|
|
225
|
+ $(' input[name="check"][value="' + Count.taskModel.F_HJJGId + '"]').prop("checked", "checked");
|
|
|
226
|
+ $(' input[name="checks"][value="' + Count.taskModel.F_YHFKId + '"]').prop("checked", "checked");
|
|
|
227
|
+ $('.Title').text(Count.paperModel.F_Title);
|
|
|
228
|
+ $(".F_Remark").text(Count.paperModel.F_Remark);
|
|
|
229
|
+ //循环填表
|
|
|
230
|
+ var html = '';
|
|
|
231
|
+ var Questions = Count.paperModel.F_Questions;
|
|
|
232
|
+
|
|
|
233
|
+ for(var i = 0; i < Questions.length; i++) {
|
|
|
234
|
+ var questype = Questions[i].questype;
|
|
|
235
|
+ var quesanswers = Questions[i].quesanswers;
|
|
|
236
|
+ var Quesid = Questions[i].quesid;
|
|
|
237
|
+ html += '<li class="" name="ltype' + Quesid + '" >';
|
|
|
238
|
+ html += '<div class="Back">';
|
|
|
239
|
+ html += '<h3 class="size-14 QuesTitle" indexs="' + Questions[i].quesid + '">' + Questions[i].questitle + ' </h3>';
|
|
|
240
|
+ html += '</div>';
|
|
|
241
|
+ //判断类型
|
|
|
242
|
+ if(questype == 2) {
|
|
|
243
|
+ //选项
|
|
|
244
|
+ if(Questions[i].quesitems.length > 0) { //单选
|
|
|
245
|
+ html += '<div class="radio" name="ltype' + Quesid + '" indexs="' + Questions[i].quesid + '">';
|
|
|
246
|
+ var quesitems = Questions[i].quesitems;
|
|
|
247
|
+ for(var j = 0; j < quesitems.length; j++) {
|
|
|
248
|
+ html += '<label style="font-weight: normal;">'
|
|
|
249
|
+ html += '' + (j + 1) + '.';
|
|
|
250
|
+ var chk='';
|
|
|
251
|
+ if(quesanswers==quesitems[j].itemid){
|
|
|
252
|
+ chk='checked="checked"';
|
|
|
253
|
+ //html += '<input type="radio" checked="checked" index_="' + quesitems[j].itemid + '" value="' + quesitems[j].itemid + '" name="ltype' + Quesid + '" style="margin-left:5px;"> <span>' + quesitems[j].itemname + '</span></label>'
|
|
|
254
|
+ }
|
|
|
255
|
+ html += '<input type="radio" '+chk+' index_="' + quesitems[j].itemid + '" value="' + quesitems[j].itemid + '" name="ltype' + Quesid + '" style="margin-left:5px;"> <span>' + quesitems[j].itemname + '</span></label>'
|
|
|
256
|
+
|
|
|
257
|
+ }
|
|
|
258
|
+ html += '</div>'
|
|
|
259
|
+ html += '</li>'
|
|
|
260
|
+ }
|
|
|
261
|
+ } else if(questype == 1) {
|
|
|
262
|
+ //问答题
|
|
|
263
|
+
|
|
|
264
|
+ html += '<div class="Wd" indexs="' + Questions[i].quesid + '">';
|
|
|
265
|
+ html += '<textarea class="Wds" "index="' + Questions[i].quesid + '"name="" rows="" cols="" style="width: 100%;">'+quesanswers+'</textarea>'
|
|
|
266
|
+ html += '</div>'
|
|
|
267
|
+
|
|
|
268
|
+ } else {
|
|
|
269
|
+ if(Questions[i].quesitems.length > 0) { //多选
|
|
|
270
|
+
|
|
|
271
|
+ html += '<div class="checkbox" name="ltype' + Quesid + '" indexs="' + Questions[i].quesid + '">';
|
|
|
272
|
+ var quesitems = Questions[i].quesitems;
|
|
|
273
|
+ for(var j = 0; j < quesitems.length; j++) {
|
|
|
274
|
+ html += '<label style="font-weight: normal;">'
|
|
|
275
|
+ html += '' + (j + 1) + '.';
|
|
|
276
|
+ var arr=quesanswers.split('|');
|
|
|
277
|
+ var chk='';
|
|
|
278
|
+ for(var k = 0; k < arr.length; k++){
|
|
|
279
|
+ chk='';
|
|
|
280
|
+ if(arr[k]==quesitems[j].itemid){
|
|
|
281
|
+ chk='checked="checked"';
|
|
|
282
|
+ break;
|
|
|
283
|
+ }
|
|
|
284
|
+ }
|
|
|
285
|
+ html += '<input type="checkbox" '+chk+' index_="' + quesitems[j].itemid + '" value="' + quesitems[j].itemid + '" name="ltype' + Quesid + '" ><span> ' + quesitems[j].itemname + '</span></label>'
|
|
|
286
|
+ //html += '<input type="checkbox" index_="' + quesitems[j].itemid + '" value="' + quesitems[j].itemid + '" name="ltype' + Quesid + '" > ' + quesitems[j].itemname + '</label>'
|
|
|
287
|
+ }
|
|
|
288
|
+ html += '</div>'
|
|
|
289
|
+
|
|
|
290
|
+ html += '</li >';
|
|
|
291
|
+ }
|
|
|
292
|
+ }
|
|
|
293
|
+
|
|
|
294
|
+ }
|
|
|
295
|
+ $(html).appendTo(".Qus_box");
|
|
|
296
|
+ }
|
|
|
297
|
+ });
|
|
|
298
|
+ }
|
|
|
299
|
+ //获取呼叫结果
|
|
|
300
|
+ function GetHJJG() {
|
|
|
301
|
+ $.ajax({
|
|
|
302
|
+ type: "get",
|
|
|
303
|
+ url: huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag",
|
|
|
304
|
+ dataType: 'json',
|
|
|
305
|
+ data: {
|
|
|
306
|
+ flag: 'HJJG',
|
|
|
307
|
+ token: $.cookie("token")
|
|
|
308
|
+ },
|
|
|
309
|
+ async: true,
|
|
|
310
|
+ success: function(data) {
|
|
|
311
|
+ var Count = data.data;
|
|
|
312
|
+ $("<option value=''>--全部--</option>").appendTo($("#selhjjg"));
|
|
|
313
|
+ for(var i = 0; i < Count.length; i++) {
|
|
|
314
|
+ $("<li><label for=''><input type='radio' name='check' value='" + Count[i].F_DictionaryValueId + "' /></label>" + Count[i].F_Name + "</li>").
|
|
|
315
|
+ appendTo($("#Tgetruset"));
|
|
|
316
|
+
|
|
|
317
|
+ }
|
|
|
318
|
+ }
|
|
|
319
|
+ });
|
|
|
320
|
+ }
|
|
|
321
|
+
|
|
|
322
|
+
|
|
|
323
|
+ //用户反馈
|
|
|
324
|
+ function GetYHFK() {
|
|
|
325
|
+ $.ajax({
|
|
|
326
|
+ type: "get",
|
|
|
327
|
+ url: huayi.config.callcenter_url + "Dictionary/GetDicValueListByFlag",
|
|
|
328
|
+ dataType: 'json',
|
|
|
329
|
+ data: {
|
|
|
330
|
+ flag: 'YHFK',
|
|
|
331
|
+ token: $.cookie("token")
|
|
|
332
|
+ },
|
|
|
333
|
+ async: true,
|
|
|
334
|
+ success: function(data) {
|
|
|
335
|
+ var Count = data.data;
|
|
|
336
|
+ $("<option value=''>--全部--</option>").appendTo($("#selhjjg"));
|
|
|
337
|
+ for(var i = 0; i < Count.length; i++) {
|
|
|
338
|
+ $("<li><label for=''><input type='radio' name='checks' value='" + Count[i].F_DictionaryValueId + "' /></label>" + Count[i].F_Name + "</li>").
|
|
|
339
|
+ appendTo($("#Tg"));
|
|
|
340
|
+ }
|
|
|
341
|
+ }
|
|
|
342
|
+ });
|
|
|
343
|
+ }
|
|
|
344
|
+ </script>
|
|
|
345
|
+
|
|
|
346
|
+ </body>
|
|
|
347
|
+
|
|
|
348
|
+</html>
|