|
|
@@ -14,32 +14,6 @@ var sourceCountId = [],
|
|
14
|
14
|
MajoreventsDataType = 0,
|
|
15
|
15
|
keyCountDataType = 0,
|
|
16
|
16
|
typeCountDataType = 0
|
|
17
|
|
-
|
|
18
|
|
-$(document).ready(function() {
|
|
19
|
|
- //时段话务
|
|
20
|
|
- gettraffic() //话务量
|
|
21
|
|
- getHotline() //热线
|
|
22
|
|
- getHotThings() //重大事件
|
|
23
|
|
- getKeyWord(); //热搜词
|
|
24
|
|
- getworkOrderType() //工单类型
|
|
25
|
|
- timeTable() //办理时限
|
|
26
|
|
- getHotlineAccept() //热线受理
|
|
27
|
|
- getNowFormatDateMap() //现在的时间
|
|
28
|
|
- //每个三十秒刷新一次
|
|
29
|
|
- setInterval(function() {
|
|
30
|
|
- gettraffic() //话务量
|
|
31
|
|
- getHotline() //热线
|
|
32
|
|
- getHotThings() //重大事件
|
|
33
|
|
- getKeyWord(); //热搜词
|
|
34
|
|
- getworkOrderType() //工单类型
|
|
35
|
|
- timeTable() //办理时限
|
|
36
|
|
- getHotlineAccept() //热线受理
|
|
37
|
|
- }, 30000)
|
|
38
|
|
- //热线整合
|
|
39
|
|
- //$(".hotline").on("click","li",function(){
|
|
40
|
|
- // alert("段落被点击了");
|
|
41
|
|
- //});
|
|
42
|
|
-})
|
|
43
|
17
|
//关闭按钮
|
|
44
|
18
|
$('.close_icon').click(function() {
|
|
45
|
19
|
console.log(11)
|
|
|
@@ -82,21 +56,11 @@ $('.closeMap_icon').click(function() {
|
|
82
|
56
|
})
|
|
83
|
57
|
$('.secondLevel_map .regionMap').html('');
|
|
84
|
58
|
})
|
|
85
|
|
-//
|
|
86
|
|
-//热搜词移入,移入内容以外关闭出现页面
|
|
87
|
|
-//document.addEventListener('mousemove', (e) => {
|
|
88
|
|
-// let t = document.getElementById('keyword'); // 最外层元素
|
|
89
|
|
-// let l = document.getElementById('hotline3');
|
|
90
|
|
-// if (!e.path.includes(t)) {
|
|
91
|
|
-// $('.keyWrap').css('display', 'none')
|
|
92
|
|
-// }
|
|
93
|
|
-// if (!e.path.includes(l)) {
|
|
94
|
|
-// $('.lineB').css('display', 'none')
|
|
95
|
|
-// }
|
|
96
|
|
-//})
|
|
|
59
|
+
|
|
97
|
60
|
$("#keyword").mouseleave(function() {
|
|
98
|
61
|
$('.keyWrap').css('display', 'none')
|
|
99
|
62
|
});
|
|
|
63
|
+
|
|
100
|
64
|
$("#hotline3").mouseleave(function() {
|
|
101
|
65
|
$('.lineB').css('display', 'none')
|
|
102
|
66
|
});
|
|
|
@@ -1731,7 +1695,9 @@ function getNowFormatDateMap() {
|
|
1731
|
1695
|
var temp_time = year + '-' + month + '-' + strDate + ' ' + HMS;
|
|
1732
|
1696
|
$('.dataTime').text(temp_time);
|
|
1733
|
1697
|
$('.secondLevel_map .time').text(year + '-' + month + '-' + strDate)
|
|
1734
|
|
- setInterval(getNowFormatDateMap, 1000);
|
|
|
1698
|
+ formatDateParam = setTimeout(function() {
|
|
|
1699
|
+ getNowFormatDateMap()
|
|
|
1700
|
+ },1000);
|
|
1735
|
1701
|
}
|
|
1736
|
1702
|
|
|
1737
|
1703
|
function getTimes(dom) {
|
|
|
@@ -2123,117 +2089,5 @@ $('#traffic').click(function() {
|
|
2123
|
2089
|
});
|
|
2124
|
2090
|
}
|
|
2125
|
2091
|
})
|
|
2126
|
|
-//坐席
|
|
2127
|
|
-//$('#timeTraffic').click(function (e) {
|
|
2128
|
|
-// let zxNum = Math.floor(Math.random() * 10000 + 10000)
|
|
2129
|
|
-// let user;
|
|
2130
|
|
-// $('.bulletFrame').show();
|
|
2131
|
|
-// if ($('.bulletFrame').css('display') == 'block') {
|
|
2132
|
|
-// $('.body').css('opacity', '0.4')
|
|
2133
|
|
-// }
|
|
2134
|
|
-// $('.seatMonitor').show();
|
|
2135
|
|
-// $('.seatMonitor').siblings().hide()
|
|
2136
|
|
-// //坐席列表展示 GetSeatflagList
|
|
2137
|
|
-// $.getJSON(huayi.config.callcenter_url + 'SeatMonitoring/GetSeatGroupList', {}, function (res) {
|
|
2138
|
|
-// user = res.data
|
|
2139
|
|
-// if (res.state.toLowerCase() == "success") {
|
|
2140
|
|
-// let str = ''
|
|
2141
|
|
-// res.data.forEach(function (v, n) {
|
|
2142
|
|
-// if (v.F_WorkNumber != 8071 && v.F_WorkNumber != 8069 && v.F_WorkNumber != 8062) {
|
|
2143
|
|
-//// var objSeat = {}
|
|
2144
|
|
-//// objSeat.groupID =v.F_SeartGroupID
|
|
2145
|
|
-//// objSeat.agentID =v.F_WorkNumber
|
|
2146
|
|
-//// seatData.push(objSeat)
|
|
2147
|
|
-// str +='<li>'
|
|
2148
|
|
-// if(v["坐席"]&&v["坐席"].length>0){
|
|
2149
|
|
-// str += '<div class="group_btn">'+ v.F_Value+'组</div><dl>'
|
|
2150
|
|
-// v["坐席"].forEach(function(m,n){
|
|
2151
|
|
-// str += '<dt><div><div style="margin-right: 3px;"><span class="g-num">'+m.F_UserCode+
|
|
2152
|
|
-// '</span></div><div><div class="bg_person"></div><p><span class="g-name">'+m.F_UserName+
|
|
2153
|
|
-// '</span></p><i class="lx" zx_item="0" xl_item="0"></i></div></div></dt>'
|
|
2154
|
|
-// })
|
|
2155
|
|
-// str += '</dl>'
|
|
2156
|
|
-// }
|
|
2157
|
|
-// str += '</li>'
|
|
2158
|
|
-//// str += '<li class="people_list ' + v.F_WorkNumber +
|
|
2159
|
|
-//// ' "><div><div style="margin-right: 3px;"><span class="g-num">' + v.F_WorkNumber +
|
|
2160
|
|
-//// '</span></div><div ><div class="bg_person"></div><p><span class="g-name">'
|
|
2161
|
|
-//// + v.F_UserName+'</span> </p><i class="lx" zxGroup="'+v.F_SeartGroupID+
|
|
2162
|
|
-//// '" zx_item="0" xl_item="0"></i></div></div></li>'
|
|
2163
|
|
-// }
|
|
2164
|
|
-// })
|
|
2165
|
|
-//
|
|
2166
|
|
-// $('.zx_people').html(str)
|
|
2167
|
|
-// }
|
|
2168
|
|
-// })
|
|
2169
|
|
-// //实时话务统计
|
|
2170
|
|
-// new doAjax({
|
|
2171
|
|
-// url: huayi.config.callcenter_url + "/InfoNew/GetHWTypeCount24ByNow",
|
|
2172
|
|
-// data: {},
|
|
2173
|
|
-// callBack: function (res) {
|
|
2174
|
|
-// getRealTimeTraffi(res.data.hours, res.data.hrcount[0], res.data.hccount[0])
|
|
2175
|
|
-// }
|
|
2176
|
|
-// });
|
|
2177
|
|
-// //开始坐席监控
|
|
2178
|
|
-// $('.star_btn').click(function (e) {
|
|
2179
|
|
-// obj.AgentID = zxNum;
|
|
2180
|
|
-//// var a
|
|
2181
|
|
-// $(user).each(function (i, n) {
|
|
2182
|
|
-// obj.Type = "SubScribe";
|
|
2183
|
|
-// obj.SubParmer = n.F_WorkNumber * 1;
|
|
2184
|
|
-// obj.AgentExten = 1
|
|
2185
|
|
-// obj.SubType = "0";//根据工号订阅坐席状态
|
|
2186
|
|
-// Send();
|
|
2187
|
|
-// obj.SubType = "1";//根据工号订阅线路状态
|
|
2188
|
|
-// Send();
|
|
2189
|
|
-// })
|
|
2190
|
|
-//// obj.Type = "SubScribe";
|
|
2191
|
|
-//// obj.SubParmer = 8002 * 1;
|
|
2192
|
|
-//// obj.AgentExten = 1
|
|
2193
|
|
-//// obj.SubType = "0";//根据工号订阅坐席状态
|
|
2194
|
|
-//// Send();
|
|
2195
|
|
-////// obj.SubType = "1";//根据工号订阅线路状态
|
|
2196
|
|
-////// Send();
|
|
2197
|
|
-//// obj.Type = "SubScribe";
|
|
2198
|
|
-//// obj.SubParmer = 8003 * 1;
|
|
2199
|
|
-//// obj.AgentExten = 1
|
|
2200
|
|
-//// obj.SubType = "0";//根据工号订阅坐席状态
|
|
2201
|
|
-//// Send();
|
|
2202
|
|
-//// obj.SubType = "1";//根据工号订阅线路状态
|
|
2203
|
|
-//// Send();
|
|
2204
|
|
-// e.stopPropagation()
|
|
2205
|
|
-// })
|
|
2206
|
|
-// //关闭坐席监控
|
|
2207
|
|
-// $('.stop_btn').click(function (e) {
|
|
2208
|
|
-// $(user).each(function (i, n) {
|
|
2209
|
|
-// top.obj.Type = "SubScribeCancel";
|
|
2210
|
|
-// top.obj.SubParmer = "-1";
|
|
2211
|
|
-// top.obj.SubType = "0";//根据工号取消订阅坐席状态
|
|
2212
|
|
-// top.Send();
|
|
2213
|
|
-// top.obj.SubType = "1";//根据工号取消订阅线路状态
|
|
2214
|
|
-// top.Send();
|
|
2215
|
|
-// })
|
|
2216
|
|
-// e.stopPropagation()
|
|
2217
|
|
-// })
|
|
2218
|
|
-// //关闭坐席页面时结束坐席监控
|
|
2219
|
|
-// $('.close_zxicon').click(function (e) {
|
|
2220
|
|
-// $('.bulletFrame').hide();
|
|
2221
|
|
-// $('.bulletFrameT').hide();
|
|
2222
|
|
-// if ($('.bulletFrame').css('display') == 'none') {
|
|
2223
|
|
-// $('.body').css('opacity', '1')
|
|
2224
|
|
-// }
|
|
2225
|
|
-// if ($('.bulletFrameT').css('display') == 'none') {
|
|
2226
|
|
-// $('.body').css('opacity', '1')
|
|
2227
|
|
-// }
|
|
2228
|
|
-// $(user).each(function (i, n) {
|
|
2229
|
|
-// top.obj.Type = "SubScribeCancel";
|
|
2230
|
|
-// top.obj.SubParmer = "-1";
|
|
2231
|
|
-// top.obj.SubType = "0";//根据工号取消订阅坐席状态
|
|
2232
|
|
-// top.Send();
|
|
2233
|
|
-// top.obj.SubType = "1";//根据工号取消订阅线路状态
|
|
2234
|
|
-// top.Send();
|
|
2235
|
|
-// })
|
|
2236
|
|
-// e.stopPropagation()
|
|
2237
|
|
-// })
|
|
2238
|
|
-// e.stopPropagation()
|
|
2239
|
|
-//})
|
|
|
2092
|
+
|
|
|
2093
|
+
|