|
|
@@ -88,45 +88,29 @@
|
|
88
|
88
|
|
|
89
|
89
|
</div>
|
|
90
|
90
|
</div>
|
|
91
|
|
- <div style="width: 100%;padding: 10px;">
|
|
92
|
|
- <div class="table-head">
|
|
93
|
|
- <table id="thead1" class="table table-hover table-striped table-bordered table-condensed">
|
|
94
|
|
- <colgroup>
|
|
95
|
|
- <col style="width: 80px;" />
|
|
96
|
|
- <col/>
|
|
97
|
|
- </colgroup>
|
|
|
91
|
+ <!--<div style="width: 100%;padding: 10px;">-->
|
|
|
92
|
+ <!--<div class="table-head">-->
|
|
|
93
|
+ <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
|
|
98
|
94
|
<thead>
|
|
99
|
|
- <tr>
|
|
100
|
|
- <th>工号</th>
|
|
101
|
|
- <th>姓名</th>
|
|
102
|
|
- <th>分机号</th>
|
|
103
|
|
- <th>首次签入时间</th>
|
|
104
|
|
- <th>最后签出时间</th>
|
|
105
|
|
- <th>签入总时长</th>
|
|
106
|
|
- <th>空闲时长</th>
|
|
107
|
|
- <th>通话时长</th>
|
|
108
|
|
- <th>话后处理时长</th>
|
|
109
|
|
- <th>置忙时长</th>
|
|
110
|
|
- <th>置忙次数</th>
|
|
111
|
|
- <th>登录次数</th>
|
|
112
|
|
- <th>呼入量</th>
|
|
113
|
|
- <th>呼出量</th>
|
|
114
|
|
- </tr>
|
|
|
95
|
+ <tr>
|
|
|
96
|
+ <th data-field="UserCode" data-align="center">工号</th>
|
|
|
97
|
+ <th data-field="UserName" data-align="center">姓名</th>
|
|
|
98
|
+ <th data-field="ExtNumber" data-align="center">分机号</th>
|
|
|
99
|
+ <th data-field="logintime" data-align="center" data-sortable="true">首次签入时间</th>
|
|
|
100
|
+ <th data-field="logouttime" data-align="center" data-sortable="true"> 最后签出时间</th>
|
|
|
101
|
+ <th data-field="logintimes" data-align="center"> 签入总时长</th>
|
|
|
102
|
+ <th data-field="free" data-align="center" data-sortable="true"> 空闲时长</th>
|
|
|
103
|
+ <th data-field="talking" data-align="center" data-sortable="true"> 通话时长</th>
|
|
|
104
|
+ <th data-field="postprocess" data-align="center" data-sortable="true"> 话后处理时长</th>
|
|
|
105
|
+ <th data-field="repose" data-align="center" data-sortable="true"> 置忙时长</th>
|
|
|
106
|
+ <th data-field="reposeconut" data-align="center" data-sortable="true"> 置忙次数</th>
|
|
|
107
|
+ <th data-field="logcount" data-align="center" data-sortable="true"> 登录次数</th>
|
|
|
108
|
+ <th data-field="callincount" data-align="center" data-sortable="true"> 呼入量</th>
|
|
|
109
|
+ <th data-field="calloutcount" data-align="center" data-sortable="true"> 呼出量</th>
|
|
|
110
|
+ </tr>
|
|
115
|
111
|
</thead>
|
|
116
|
112
|
</table>
|
|
117
|
|
- </div>
|
|
118
|
|
- <div class="table-body">
|
|
119
|
|
- <table id="table1" class="table table-hover table-striped table-bordered table-condensed">
|
|
120
|
|
- <colgroup>
|
|
121
|
|
- <col style="width: 80px;" />
|
|
122
|
|
- <col/>
|
|
123
|
|
- </colgroup>
|
|
124
|
|
- <tbody>
|
|
125
|
|
-
|
|
126
|
|
- </tbody>
|
|
127
|
|
- </table>
|
|
128
|
|
- </div>
|
|
129
|
|
- </div>
|
|
|
113
|
+ <!--</div>-->
|
|
130
|
114
|
</div>
|
|
131
|
115
|
<div class="two_content" style="display: none;">
|
|
132
|
116
|
<div class="toolBar clearfix">
|
|
|
@@ -143,16 +127,16 @@
|
|
143
|
127
|
<th data-field="UserCode" data-align="center">工号</th>
|
|
144
|
128
|
<th data-field="UserName" data-align="center">姓名</th>
|
|
145
|
129
|
<th data-field="ExtNumber" data-align="center">分机号</th>
|
|
146
|
|
- <th data-field="logintime" data-align="center">签入时间</th>
|
|
147
|
|
- <th data-field="logouttime" data-align="center"> 签出时间</th>
|
|
148
|
|
- <th data-field="logtimes" data-align="center"> 签入总时长</th>
|
|
149
|
|
- <th data-field="free" data-align="center"> 空闲时长</th>
|
|
150
|
|
- <th data-field="talking" data-align="center"> 通话时长</th>
|
|
151
|
|
- <th data-field="postprocess" data-align="center"> 话后处理时长</th>
|
|
152
|
|
- <th data-field="repose" data-align="center"> 置忙时长</th>
|
|
153
|
|
- <th data-field="reposeconut" data-align="center"> 置忙次数</th>
|
|
154
|
|
- <th data-field="callincount" data-align="center"> 呼入量</th>
|
|
155
|
|
- <th data-field="calloutcount" data-align="center"> 呼出量</th>
|
|
|
130
|
+ <th data-field="logintime" data-align="center" data-sortable="true">签入时间</th>
|
|
|
131
|
+ <th data-field="logouttime" data-align="center" data-sortable="true"> 签出时间</th>
|
|
|
132
|
+ <th data-field="logtimes" data-align="center" data-sortable="true"> 签入总时长</th>
|
|
|
133
|
+ <th data-field="free" data-align="center" data-sortable="true"> 空闲时长</th>
|
|
|
134
|
+ <th data-field="talking" data-align="center" data-sortable="true"> 通话时长</th>
|
|
|
135
|
+ <th data-field="postprocess" data-align="center" data-sortable="true"> 话后处理时长</th>
|
|
|
136
|
+ <th data-field="repose" data-align="center" data-sortable="true"> 置忙时长</th>
|
|
|
137
|
+ <th data-field="reposeconut" data-align="center" data-sortable="true"> 置忙次数</th>
|
|
|
138
|
+ <th data-field="callincount" data-align="center" data-sortable="true"> 呼入量</th>
|
|
|
139
|
+ <th data-field="calloutcount" data-align="center" data-sortable="true"> 呼出量</th>
|
|
156
|
140
|
</tr>
|
|
157
|
141
|
</thead>
|
|
158
|
142
|
</table>
|
|
|
@@ -227,36 +211,16 @@
|
|
227
|
211
|
},
|
|
228
|
212
|
success: function(data) {
|
|
229
|
213
|
if(data.state.toLowerCase() == 'success') {
|
|
230
|
|
- $('#table1 tbody').html('');
|
|
231
|
|
- $(data.data).each(function(i, n) {
|
|
232
|
|
- // console.log(n)
|
|
233
|
|
- $('<tr>' +
|
|
234
|
|
- '<td>' + n.UserCode + '</td>' +
|
|
235
|
|
- '<td>' + n.UserName + '</td>' +
|
|
236
|
|
- '<td>' + n.ExtNumber + '</td>' +
|
|
237
|
|
- '<td>' + n.logintime + '</td>' + //签入
|
|
238
|
|
- '<td>' + n.logouttime + '</td>' + //签出
|
|
239
|
|
- '<td>' + n.logintimes + '</td>' + //签入总时长
|
|
240
|
|
- '<td>' + n.free + '</td>' + //空闲
|
|
241
|
|
- '<td>' + n.talking + '</td>' + //通话
|
|
242
|
|
- '<td>' + n.postprocess + '</td>' + //话后处理
|
|
243
|
|
- '<td>' + n.repose + '</td>' + //置忙
|
|
244
|
|
- '<td>' + n.reposeconut + '</td>' + //置忙次数
|
|
245
|
|
- '<td>' + n.logcount + '</td>' + //登录次数
|
|
246
|
|
- '<td>' + n.callincount + '</td>' + //呼入
|
|
247
|
|
- '<td>' + n.calloutcount + '</td>' + //呼出
|
|
248
|
|
- '</tr>').appendTo('#table1 tbody')
|
|
249
|
|
- })
|
|
250
|
|
-
|
|
|
214
|
+ $('#table1').bootstrapTable('load',data.data);
|
|
251
|
215
|
}
|
|
252
|
216
|
|
|
253
|
217
|
}
|
|
254
|
218
|
|
|
255
|
219
|
});
|
|
|
220
|
+ $('#table1').bootstrapTable('destroy').bootstrapTable({striped: true});
|
|
256
|
221
|
|
|
257
|
222
|
}
|
|
258
|
223
|
var table = $("#workorderlist");
|
|
259
|
|
-
|
|
260
|
224
|
function initTable2() {
|
|
261
|
225
|
//先销毁表格
|
|
262
|
226
|
table.bootstrapTable('destroy');
|
|
|
@@ -294,7 +258,23 @@
|
|
294
|
258
|
//layer.msg("加载数据失败", { time: 1500, icon: 2 });
|
|
295
|
259
|
}
|
|
296
|
260
|
});
|
|
297
|
|
-
|
|
|
261
|
+//
|
|
|
262
|
+//
|
|
|
263
|
+// $.ajax({
|
|
|
264
|
+// type:"get",
|
|
|
265
|
+// url: huayi.config.callcenter_url+"SeatMonitoring/GetReportDetailList",
|
|
|
266
|
+// async:true,
|
|
|
267
|
+// dataType:'json',
|
|
|
268
|
+// data:{
|
|
|
269
|
+// token: $.cookie("token"),
|
|
|
270
|
+// stime: $('#startTime1').val(),
|
|
|
271
|
+// etime: $('#endTime1').val()
|
|
|
272
|
+// },
|
|
|
273
|
+// success:function(data){
|
|
|
274
|
+// table.bootstrapTable('load',data.rows);
|
|
|
275
|
+// }
|
|
|
276
|
+// });
|
|
|
277
|
+// table.bootstrapTable('destroy').bootstrapTable({striped: true});
|
|
298
|
278
|
}
|
|
299
|
279
|
//导出
|
|
300
|
280
|
$('.export').click(function() {
|