|
|
@@ -18,6 +18,34 @@
|
|
18
|
18
|
.LY:active {
|
|
19
|
19
|
color: #fff!important;
|
|
20
|
20
|
}
|
|
|
21
|
+
|
|
|
22
|
+ #Task thead td {
|
|
|
23
|
+ color: #fff;
|
|
|
24
|
+ background-color: #1ab394;
|
|
|
25
|
+ text-align: center;
|
|
|
26
|
+ }
|
|
|
27
|
+
|
|
|
28
|
+ .table-head table thead {
|
|
|
29
|
+ width: calc( 100% - 5px);
|
|
|
30
|
+ }
|
|
|
31
|
+ /*table thead,
|
|
|
32
|
+ tbody tr {
|
|
|
33
|
+ display: table;
|
|
|
34
|
+ width: 100%;
|
|
|
35
|
+ table-layout: fixed;
|
|
|
36
|
+ text-align: center;
|
|
|
37
|
+ }*/
|
|
|
38
|
+
|
|
|
39
|
+ .table {
|
|
|
40
|
+ margin-bottom: 0;
|
|
|
41
|
+ }
|
|
|
42
|
+
|
|
|
43
|
+ .table-body {
|
|
|
44
|
+ width: 100%;
|
|
|
45
|
+ height: 515px;
|
|
|
46
|
+ overflow-y: scroll;
|
|
|
47
|
+ overflow-x: scroll;
|
|
|
48
|
+ }
|
|
21
|
49
|
</style>
|
|
22
|
50
|
</head>
|
|
23
|
51
|
|
|
|
@@ -27,8 +55,8 @@
|
|
27
|
55
|
<div class="dhLeft">
|
|
28
|
56
|
<sapn><i class="syIcon"></i>位置:
|
|
29
|
57
|
<a href="javaScript:;" id="ReIndex">首页</a>>
|
|
30
|
|
- <a href="javaScript:;">话务管理</a>>
|
|
31
|
|
- <a href="" style="color: #000;">语音留言</a>
|
|
|
58
|
+ <a href="javaScript:;">调查问卷</a>>
|
|
|
59
|
+ <a href="" style="color: #000;">调查问卷统计</a>
|
|
32
|
60
|
</sapn>
|
|
33
|
61
|
</div>
|
|
34
|
62
|
</div>
|
|
|
@@ -57,21 +85,104 @@
|
|
57
|
85
|
</div>
|
|
58
|
86
|
</div>
|
|
59
|
87
|
<div style="width: 100%;padding: 10px;">
|
|
60
|
|
- <table id="list" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
61
|
|
- <thead>
|
|
62
|
|
- <tr>
|
|
63
|
|
- <th data-field="state" data-checkbox="true"></th>
|
|
64
|
|
- <th data-field="F_CallId" data-formatter="Code" data-align="center">编号</th>
|
|
65
|
|
- <th data-field="F_Phone" data-align="center">来电号码</th>
|
|
66
|
|
- <th data-field="F_RecFileUrl" data-align="center" data-formatter="setCode" data-align="center">留言</th>
|
|
67
|
|
- <th data-field="F_LeaveTime" data-align="center">留言时间</th>
|
|
68
|
|
- <th data-field="F_UserName" data-align="center">处理人</th>
|
|
69
|
|
- <th data-field="F_DealContent" data-align="center">处理结果</th>
|
|
70
|
|
- <th data-field="F_Status" data-align="center" data-formatter="clzt">处理状态</th>
|
|
71
|
|
- <th data-field="F_DealTime" data-align="center">处理时间</th>
|
|
72
|
|
- </tr>
|
|
73
|
|
- </thead>
|
|
74
|
|
- </table>
|
|
|
88
|
+ <div class="table-head">
|
|
|
89
|
+ <table id="Task" class="table table-hover table-striped table-bordered table-condensed">
|
|
|
90
|
+ <colgroup>
|
|
|
91
|
+ <col style="width: 80px;" />
|
|
|
92
|
+ <col/>
|
|
|
93
|
+ </colgroup>
|
|
|
94
|
+ <thead>
|
|
|
95
|
+ <tr>
|
|
|
96
|
+ <td>测试测试</td>
|
|
|
97
|
+ <td colspan="4">测试测试</td>
|
|
|
98
|
+ <td>测试测试</td>
|
|
|
99
|
+ <td>测试测试</td>
|
|
|
100
|
+ <td>测试测试</td>
|
|
|
101
|
+ <td>测试测试</td>
|
|
|
102
|
+ <td>测试测试</td>
|
|
|
103
|
+ <td>测试测试</td>
|
|
|
104
|
+ <td>测试测试</td>
|
|
|
105
|
+ </tr>
|
|
|
106
|
+ </thead>
|
|
|
107
|
+ </table>
|
|
|
108
|
+ </div>
|
|
|
109
|
+ <div class="table-body">
|
|
|
110
|
+ <table class="thTable hwbb table table-hover table-striped table-bordered table-condensed">
|
|
|
111
|
+ <colgroup>
|
|
|
112
|
+ <col style="width: 80px;" />
|
|
|
113
|
+ <col/>
|
|
|
114
|
+ </colgroup>
|
|
|
115
|
+ <tbody>
|
|
|
116
|
+ <tr>
|
|
|
117
|
+ <td>测试测试</td>
|
|
|
118
|
+ <td colspan="4" style="text-align: center;">测试测试</td>
|
|
|
119
|
+ <td colspan="4" style="text-align: center;">测试测试</td>
|
|
|
120
|
+ <td colspan="4" style="text-align: center;">测试测试</td>
|
|
|
121
|
+ <td colspan="2" style="text-align: center;">测试测试</td>
|
|
|
122
|
+ <td colspan="3" style="text-align: center;">测试测试</td>
|
|
|
123
|
+
|
|
|
124
|
+ </tr>
|
|
|
125
|
+ <tr style="border:1px solid #E0EEFE" align="center">
|
|
|
126
|
+ <td ></td>
|
|
|
127
|
+ <td>A</td>
|
|
|
128
|
+ <td>B</td>
|
|
|
129
|
+ <td>B</td>
|
|
|
130
|
+ <td>D</td>
|
|
|
131
|
+ <td>A</td>
|
|
|
132
|
+ <td>B</td>
|
|
|
133
|
+ <td>B</td>
|
|
|
134
|
+ <td>D</td>
|
|
|
135
|
+ <td>测试测试</td>
|
|
|
136
|
+ <td>测试测试</td>
|
|
|
137
|
+ <td>测试测试</td>
|
|
|
138
|
+
|
|
|
139
|
+
|
|
|
140
|
+ </tr>
|
|
|
141
|
+
|
|
|
142
|
+ <tr style="border:1px solid #E0EEFE" align="center">
|
|
|
143
|
+ <td>测试测试</td>
|
|
|
144
|
+ <td>测试测试</td>
|
|
|
145
|
+ <td>测试测试</td>
|
|
|
146
|
+ <td>测试测试</td>
|
|
|
147
|
+ <td>测试测试</td>
|
|
|
148
|
+ <td>测试测试</td>
|
|
|
149
|
+ <td>测试测试</td>
|
|
|
150
|
+ <td>测试测试</td>
|
|
|
151
|
+ <td>测试测试</td>
|
|
|
152
|
+ <td>测试测试</td>
|
|
|
153
|
+ <td>测试测试</td>
|
|
|
154
|
+ </tr>
|
|
|
155
|
+
|
|
|
156
|
+ <tr style="border:1px solid #E0EEFE" align="center">
|
|
|
157
|
+ <td>测试测试</td>
|
|
|
158
|
+ <td>测试测试</td>
|
|
|
159
|
+ <td>测试测试</td>
|
|
|
160
|
+ <td>测试测试</td>
|
|
|
161
|
+ <td>测试测试</td>
|
|
|
162
|
+ <td>测试测试</td>
|
|
|
163
|
+ <td>测试测试</td>
|
|
|
164
|
+ <td>测试测试</td>
|
|
|
165
|
+ <td>测试测试</td>
|
|
|
166
|
+ <td>测试测试</td>
|
|
|
167
|
+ <td>测试测试</td>
|
|
|
168
|
+ </tr>
|
|
|
169
|
+ <tr style="border:1px solid #E0EEFE" align="center">
|
|
|
170
|
+ <td>测试测试</td>
|
|
|
171
|
+ <td>测试测试</td>
|
|
|
172
|
+ <td>测试测试</td>
|
|
|
173
|
+ <td>测试测试</td>
|
|
|
174
|
+ <td>测试测试</td>
|
|
|
175
|
+ <td>测试测试</td>
|
|
|
176
|
+ <td>测试测试</td>
|
|
|
177
|
+ <td>测试测试</td>
|
|
|
178
|
+ <td>测试测试</td>
|
|
|
179
|
+ <td>测试测试</td>
|
|
|
180
|
+ <td>测试测试</td>
|
|
|
181
|
+ </tr>
|
|
|
182
|
+
|
|
|
183
|
+ </tbody>
|
|
|
184
|
+ </table>
|
|
|
185
|
+ </div>
|
|
75
|
186
|
</div>
|
|
76
|
187
|
</div>
|
|
77
|
188
|
>
|
|
|
@@ -79,8 +190,9 @@
|
|
79
|
190
|
$(document).ready(function() {
|
|
80
|
191
|
Task();
|
|
81
|
192
|
Questionnaire();
|
|
82
|
|
- $(".sc_btn").click(function(){
|
|
83
|
|
- GetColumnList ();
|
|
|
193
|
+ $(".sc_btn").click(function() {
|
|
|
194
|
+ GetColumnList();
|
|
|
195
|
+ Number()
|
|
84
|
196
|
})
|
|
85
|
197
|
///查询条件中获取任务列表
|
|
86
|
198
|
function Task() {
|
|
|
@@ -127,20 +239,43 @@
|
|
127
|
239
|
});
|
|
128
|
240
|
}
|
|
129
|
241
|
//任务查询获取表头
|
|
130
|
|
- function GetColumnList () {
|
|
|
242
|
+ function GetColumnList() {
|
|
|
243
|
+ $("#Task thead tr").empty();
|
|
131
|
244
|
$.ajax({
|
|
132
|
245
|
type: "get",
|
|
133
|
246
|
url: huayi.config.callcenter_url + "Questionnaire/GetColumnList",
|
|
134
|
247
|
dataType: 'json',
|
|
135
|
248
|
data: {
|
|
136
|
|
- taskname:$("#cljg").val(),
|
|
137
|
|
- question:$("#Wt").val(),
|
|
|
249
|
+ taskname: $("#cljg").val(),
|
|
|
250
|
+ question: $("#Wt").val(),
|
|
138
|
251
|
token: $.cookie("token")
|
|
139
|
252
|
},
|
|
140
|
253
|
async: true,
|
|
141
|
254
|
success: function(data) {
|
|
142
|
255
|
var Count = data.data;
|
|
143
|
|
-
|
|
|
256
|
+ for(var i = 0; i < Count.length; i++) {
|
|
|
257
|
+ $('<td>' + Count[i].wenti + ' </td>').appendTo("#Task thead tr");
|
|
|
258
|
+
|
|
|
259
|
+ }
|
|
|
260
|
+ console.log(Count)
|
|
|
261
|
+ }
|
|
|
262
|
+ });
|
|
|
263
|
+ }
|
|
|
264
|
+
|
|
|
265
|
+ function Number() {
|
|
|
266
|
+ $.ajax({
|
|
|
267
|
+ type: "get",
|
|
|
268
|
+ url: huayi.config.callcenter_url + "Questionnaire/GetDataList",
|
|
|
269
|
+ dataType: 'json',
|
|
|
270
|
+ data: {
|
|
|
271
|
+ taskname: $("#cljg").val(),
|
|
|
272
|
+ question: $("#Wt").val(),
|
|
|
273
|
+ token: $.cookie("token")
|
|
|
274
|
+ },
|
|
|
275
|
+ async: true,
|
|
|
276
|
+ success: function(data) {
|
|
|
277
|
+ var Count = data.data;
|
|
|
278
|
+
|
|
144
|
279
|
console.log(Count)
|
|
145
|
280
|
}
|
|
146
|
281
|
});
|