|
|
@@ -171,8 +171,7 @@
|
|
|
<div class="form-group">
|
|
|
<label>分组名称:</label>
|
|
|
<div class="input-group col-sm-4 layui-form" style="width: 120px;">
|
|
|
- <input type="hidden" name="type1" id="type1"/>
|
|
|
- <select lay-verify="required" lay-filter="group">
|
|
|
+ <select lay-verify="required" lay-filter="group" name="type1" id="type1">
|
|
|
<option value="">全部客服组</option>
|
|
|
{if !empty($groups)}
|
|
|
{foreach name="groups" item="vo"}
|
|
|
@@ -185,8 +184,7 @@
|
|
|
<div class="form-group" style="margin-left: 40px">
|
|
|
<label>报警状态:</label>
|
|
|
<div class="input-group col-sm-4 layui-form" style="width: 120px;">
|
|
|
- <input type="hidden" name="type2" id="type2"/>
|
|
|
- <select lay-verify="required" lay-filter="alarm">
|
|
|
+ <select lay-verify="required" lay-filter="alarm" name="type2" id="type2">
|
|
|
<option value="">所有状态</option>
|
|
|
<option value="1">在线状态</option>
|
|
|
<option value="2">休息状态</option>
|
|
|
@@ -195,6 +193,16 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
+ <div class="form-group" style="display: none">
|
|
|
+ <lable> </lable>
|
|
|
+ <select name="type3" id="type3" class="form-control">
|
|
|
+ <option value="0">所有会话</option>
|
|
|
+ <option value="1">正常会话</option>
|
|
|
+ <option value="2">报警回话</option>
|
|
|
+ </select>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
<div class="form-group">
|
|
|
<lable> </lable>
|
|
|
<button class="btn btn-primary" type="button" style="margin-top:5px" id="search"><strong>搜
|
|
|
@@ -209,7 +217,7 @@
|
|
|
<table id="cusTable">
|
|
|
<thead>
|
|
|
<th data-field="uidname">客服</th>
|
|
|
- <th data-field="hhl">会话量</th>
|
|
|
+ <th data-field="hhl">当前会话量</th>
|
|
|
<th data-field="jdl">接待量</th>
|
|
|
<th data-field="pjhysc">平均会话时长</th>
|
|
|
<th data-field="cpl">参评率</th>
|
|
|
@@ -456,6 +464,19 @@
|
|
|
}
|
|
|
return newData;
|
|
|
}
|
|
|
+
|
|
|
+ function msg(id) {
|
|
|
+ layui.use('layer', function () {
|
|
|
+ layer.open({
|
|
|
+ type: 2,
|
|
|
+ title: '请输入消息内容',
|
|
|
+ area: ['500px', '600px'], //自定义文本域宽高
|
|
|
+ content:'/admin/kfnotice/add.html?uid='+id
|
|
|
+ });
|
|
|
+ }
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
// 渲染
|
|
|
function putMonitor(data) {
|
|
|
$("#allSensitive").html(data.userSensitive + data.serverSensitive);
|