/*
一级大屏
*/
var img = './image/frame.png';
var numscroll = [];
var numscroll1 = [];
var trafficState = 0
var trafficData = [];
//时段话务
$('.act').html('当日数据')
$(document).ready(function() {
gettraffic() //话务量
getHotline() //热线
getHotThings() //重大事件
getKeyWord(); //热搜词
getworkOrderType() //工单类型
timeTable() //办理时限
getHotlineAccept() //热线受理
getNowFormatDate()//现在的时间
//每个三十秒刷新一次
setInterval(function () {
gettraffic() //话务量
getHotline() //热线
getHotThings() //重大事件
getKeyWord(); //热搜词
getworkOrderType() //工单类型
timeTable() //办理时限
getHotlineAccept() //热线受理
}, 30000)
})
//关闭按钮
$('.close_icon').click(function () {
$('.bulletFrame').hide();
$('.bulletFrameT').hide();
if ($('.bulletFrame').css('display') == 'none') {
$('.body').css('opacity', '1')
}
if ($('.bulletFrameT').css('display') == 'none') {
$('.body').css('opacity', '1')
}
})
//关闭按钮退回工单列表
$('.backProcedure').click(function () {
$('.workDetails').show();
$('.workDetails').siblings().hide()
})
$('.back_icon').click(function () {
$('.bulletFrameT').hide();
if ($('.bulletFrameT').css('display') == 'none') {
$('.body').css('opacity', '1')
}
})
$('.closeMap_icon').click(function(){
$('.bulletFrame').hide();
$('.bulletFrameT').hide();
if ($('.bulletFrame').css('display') == 'none') {
$('.body').css('opacity', '1')
}
if ($('.bulletFrameT').css('display') == 'none') {
$('.body').css('opacity', '1')
}
$('.type').css({
'background': 'url(./image/second/btn1.png)'
})
$('.classify').css({
'background': 'url(./image/second/btn2.png)'
})
$('.secondLevel_map .regionMap').html('');
})
//热搜词点击
document.addEventListener('mousemove', (e) => {
let t = document.getElementById('keyword'); // 最外层元素
if (!e.path.includes(t)) {
$('.keyWrap').css('display', 'none')
}
})
function getHotlineAccept() {
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/GetSourceCountBy",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
let str = ''
Object.keys(res[0]).forEach((key, n) => {
if (n == 0) {
if ($('#slw_num').text() != parseInt(res[0][key] % 100000 / 10000)) {
$('#slw_num').text(parseInt(res[0][key] % 100000 / 10000))
$('#slw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#slq_num').text() != parseInt(res[0][key] % 10000 / 1000)) {
$('#slq_num').text(parseInt(res[0][key] % 10000 / 1000))
$('#slq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#slb_num').text() != parseInt(res[0][key] % 1000 / 100)) {
$('#slb_num').text(parseInt(res[0][key] % 1000 / 100))
$('#slb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#sls_num').text() != parseInt((res[0][key] % 100) / 10)) {
$('#sls_num').text(parseInt((res[0][key] % 100) / 10))
$('#sls_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#slg_num').text() != parseInt(res[0][key] % 10)) {
$('#slg_num').text(parseInt(res[0][key] % 10))
$('#slg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
}
else if (n == 3) {
if ($('#dxw_num').text() != parseInt(res[0][key] % 100000 / 10000)) {
$('#dxw_num').text(parseInt(res[0][key] % 100000 / 10000))
$('#dxw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#dxq_num').text() != parseInt(res[0][key] % 10000 / 1000)) {
$('#dxq_num').text(parseInt(res[0][key] % 10000 / 1000))
$('#dxq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#dxb_num').text() != parseInt(res[0][key] % 1000 / 100)) {
$('#dxb_num').text(parseInt(res[0][key] % 1000 / 100))
$('#dxb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#dxs_num').text() != parseInt((res[0][key] % 100) / 10)) {
$('#dxs_num').text(parseInt((res[0][key] % 100) / 10))
$('#dxs_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#dxg_num').text() != parseInt(res[0][key] % 10)) {
$('#dxg_num').text(parseInt(res[0][key] % 10))
$('#dxg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
} else if (n == 1) {
if ($('#szw_num').text() != parseInt(res[0][key] % 100000 / 10000)) {
$('#szw_num').text(parseInt(res[0][key] % 100000 / 10000))
$('#szw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#szq_num').text() != parseInt(res[0][key] % 10000 / 1000)) {
$('#szq_num').text(parseInt(res[0][key] % 10000 / 1000))
$('#szq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#szb_num').text() != parseInt(res[0][key] % 1000 / 100)) {
$('#szb_num').text(parseInt(res[0][key] % 1000 / 100))
$('#szb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#szs_num').text() != parseInt((res[0][key] % 100) / 10)) {
$('#szs_num').text(parseInt((res[0][key] % 100) / 10))
$('#szs_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#szg_num').text() != parseInt(res[0][key] % 10)) {
$('#szg_num').text(parseInt(res[0][key] % 10))
$('#szg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
} else if (n == 5) {
if ($('#wxw_num').text() != parseInt(res[0][key] % 100000 / 10000)) {
$('#wxw_num').text(parseInt(res[0][key] % 100000 / 10000))
$('#wxw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#wxq_num').text() != parseInt(res[0][key] % 10000 / 1000)) {
$('#wxq_num').text(parseInt(res[0][key] % 10000 / 1000))
$('#wxq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#wxb_num').text() != parseInt(res[0][key] % 1000 / 100)) {
$('#wxb_num').text(parseInt(res[0][key] % 1000 / 100))
$('#wxb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#wxs_num').text() != parseInt((res[0][key] % 100) / 10)) {
$('#wxs_num').text(parseInt((res[0][key] % 100) / 10))
$('#wxs_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#wxg_num').text() != parseInt(res[0][key] % 10)) {
$('#wxg_num').text(parseInt(res[0][key] % 10))
$('#wxg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
} else if (n == 2) {
if ($('#xxw_num').text() != parseInt(res[0][key] % 100000 / 10000)) {
$('#xxw_num').text(parseInt(res[0][key] % 100000 / 10000))
$('#xxw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#xxq_num').text() != parseInt(res[0][key] % 10000 / 1000)) {
$('#xxq_num').text(parseInt(res[0][key] % 10000 / 1000))
$('#xxq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#xxb_num').text() != parseInt(res[0][key] % 1000 / 100)) {
$('#xxb_num').text(parseInt(res[0][key] % 1000 / 100))
$('#xxb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#xxs_num').text() != parseInt((res[0][key] % 100) / 10)) {
$('#xxs_num').text(parseInt((res[0][key] % 100) / 10))
$('#xxs_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#xxg_num').text() != parseInt(res[0][key] % 10)) {
$('#xxg_num').text(parseInt(res[0][key] % 10))
$('#xxg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
} else if (n == 4) {
if ($('#zww_num').text() != parseInt(res[0][key] % 100000 / 10000)) {
$('#zww_num').text(parseInt(res[0][key] % 100000 / 10000))
$('#zww_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#zwq_num').text() != parseInt(res[0][key] % 10000 / 1000)) {
$('#zwq_num').text(parseInt(res[0][key] % 10000 / 1000))
$('#zwq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#zwb_num').text() != parseInt(res[0][key] % 1000 / 100)) {
$('#zwb_num').text(parseInt(res[0][key] % 1000 / 100))
$('#zwb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#zws_num').text() != parseInt((res[0][key] % 100) / 10)) {
$('#zws_num').text(parseInt((res[0][key] % 100) / 10))
$('#zws_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if ($('#zwg_num').text() != parseInt(res[0][key] % 10)) {
$('#zwg_num').text(parseInt(res[0][key] % 10))
$('#zwg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
}
})
},
})
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/GetVisitCount",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
let visitCount = [];
let str = ''
Object.keys(res[0]).forEach((key, n) => {
if (key == 'DHCOUNT') {
visitCount.push({
name: '电话回访',
value: res[0][key]
})
} else if (key == 'DXCOUNT') {
visitCount.push({
name: '短信回访',
value: res[0][key]
})
} else {
visitCount.unshift({
name: '回访总数',
value: res[0][key]
})
}
})
visitCount.forEach(function (v, n) {
if (n == 0) {
if (parseInt(v.value % 100000 / 10000) != $('#zsw_num').text()) {
$('#zsw_num').text(parseInt(v.value % 100000 / 10000))
$('#zsw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 10000 / 1000) != $('#zsq_num').text()) {
$('#zsq_num').text(parseInt(v.value % 10000 / 1000))
$('#zsq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 1000 / 100) != $('#zsb_num').text()) {
$('#zsb_num').text(parseInt(v.value % 1000 / 100))
$('#zsb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt((v.value % 100) / 10) != $('#zss_num').text()) {
$('#zss_num').text(parseInt((v.value % 100) / 10))
$('#zss_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 10) != $('#zsg_num').text()) {
$('#zsg_num').text(parseInt(v.value % 10))
$('#zsg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
} else if (n == 1) {
if (parseInt(v.value % 100000 / 10000) != $('#hfw_num').text()) {
$('#hfw_num').text(parseInt(v.value % 100000 / 10000))
$('#hfw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 10000 / 1000) != $('#hfq_num').text()) {
$('#hfq_num').text(parseInt(v.value % 10000 / 1000))
$('#hfq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 1000 / 100) != $('#hfb_num').text()) {
$('#hfb_num').text(parseInt(v.value % 1000 / 100))
$('#hfb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt((v.value % 100) / 10) != $('#hfs_num').text()) {
$('#hfs_num').text(parseInt((v.value % 100) / 10))
$('#hfs_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 10) != $('#hfg_num').text()) {
$('#hfg_num').text(parseInt(v.value % 10))
$('#hfg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
} else if (n == 2) {
if (parseInt(v.value % 100000 / 10000) != $('#dhw_num').text()) {
$('#dhw_num').text(parseInt(v.value % 100000 / 10000))
$('#dhw_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 10000 / 1000) != $('#dhq_num').text()) {
$('#dhq_num').text(parseInt(v.value % 10000 / 1000))
$('#dhq_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 1000 / 100) != $('#dhb_num').text()) {
$('#dhb_num').text(parseInt(v.value % 1000 / 100))
$('#dhb_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt((v.value % 100) / 10) != $('#dhs_num').text()) {
$('#dhs_num').text(parseInt((v.value % 100) / 10))
$('#dhs_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
if (parseInt(v.value % 10) != $('#dhg_num').text()) {
$('#dhg_num').text(parseInt(v.value % 10))
$('#dhg_num').counterUp({
delay: 50,//每个数字动画的延迟时间,单位毫秒。
time: 500//计数动画总的持续时间。
});
}
}
})
}
});
}
function getHotThings() {
var nameData = [];
var conNum = [];
var maxNum = []
var secData = [];
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/Majorevents",
Type: 'get',
data: {
token: $.cookie("token"),
stime: '',
etime: ''
},
callBack: function (res) {
res.forEach(function (v, n) {
nameData.push(v.name.replace(/[0-9]+/g,""));
conNum.push(v.count)
secData.push({
level: v.name,
landArea: v.count
})
// }
})
console.log(nameData)
for (var i = 0; i < secData.length; i++) {
maxNum.push(Math.max.apply(null, conNum) + 200);
}
hotThingsChart('hotThings', nameData, conNum, maxNum)
}
});
}
function gettraffic() {
// let nameD = ['登陆坐席数量', '呼叫排队数量', '话务量', '呼入接通量'];
// hotThingsChart('timeTraffic', nameD, JSON.parse(localStorage.callDate), 100)
$('.btn_time').click(function (e) {
if (!e.isPropagationStopped()) {//确定stopPropagation是否被调用过
if (e.target.tagName == 'SPAN') {
if ($(e.target).attr('data-state') == '0') {
$(".hwsjtj").show()
$('.timeTraffic').css('display', 'none')
$('.daySeat').css('display', 'inline-block')
$('#traffic').css('display', 'block')
$('#timeTraffic').css('display', 'none')
$('.call_situation h2').text('话务数据统计')
$('.act').html(`
`)
new doAjax({
url: huayi.config.callcenter_url + "InfoNew/GetHWCount24ByNow",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
trafficChart(res.data.hours, res.data.hwcount[0], res.data.jtcount[0])
}
});
//话务点击
$('.dataT').click(function (e) {
if (!e.isPropagationStopped()) {//确定stopPropagation是否被调用过
if (e.target.tagName == 'LABEL') {
if ($(e.target).attr('data-pos') == '1') {
$('.month').addClass('active');
$('.day').removeClass('active')
new doAjax({
url: huayi.config.callcenter_url + "InfoNew/GetHWCount24ByNow",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
trafficChart(res.data.hours, res.data.hwcount[0], res.data.jtcount[0])
}
});
trafficState = 0;
} else if ($(e.target).attr('data-pos') == '2') {
$('.day').addClass('active');
$('.month').removeClass('active')
new doAjax({
url: huayi.config.callcenter_url + "InfoNew/GetHWCountMonthByNow",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
trafficChart(res.data.days, res.data.hwcount[0], res.data.jtcount[0])
}
});
trafficState = 1;
}
}
}
e.stopPropagation();
})
}
}
}
e.stopPropagation();
})
}
function getHotline() {
let datas = [];
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/GetHotline",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
res.data.forEach(function (v, n) {
datas.push({
value: v.count,
name: v.name,
percent: v.bili
})
})
hotlineChart(datas)
}
});
}
function getKeyWord() {
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/GetKeyCountByNow",
// url: "http://192.168.8.9:1042/InfoNew/GetKeyCountByNow",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
let str = '';
let keyName;
res.data.Date.forEach(function (v, n) {
keyName = v.KeyName.substr(0, v.KeyName.length - 2)
str += '' +
keyName + ':'
})
$('#keyword').html(str);
}
});
}
function getworkOrderType() {
let workOrderData = [];
let workOrderName = []
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/GetTypeCount",
data: {
token: $.cookie("token"),
},
callBack: function (res) {
res.data.forEach(function (v, n) {
workOrderData.push({
name: v.type,
value: v.count
})
workOrderName.push(v.type);
})
workOrderName.reverse();
workOrderChart(workOrderData, workOrderName)
}
});
}
function hotThingsChart(dom, data, count, count1) {
let hotThings = echarts.init(document.getElementById(dom));
option = {
"textStyle": {
"color": "#c0c3cd",
"fontSize": 11
},
grid: {
top: '25%',
bottom: '15%'
},
"xAxis": {
"nameTextStyle": {
"color": "#c0c3cd",
"padding": [0, 0, -10, 0],
"fontSize": 11
},
"axisLabel": {
"color": "#c0c3cd",
"fontSize": 11,
"rotate": -45,
"interval": 0,
},
"axisTick": {
"lineStyle": {
"color": "#8398c4",
"width": 1
},
"show": false
},
"minorTick": {
"length": 8
},
"splitLine": {
"show": false
},
"axisLine": {
"lineStyle": {
"color": "#8398c4",
"width": 1,
"type": "solid"
},
"show": true
},
"data": data,
"type": "category"
},
"yAxis": {
"nameTextStyle": {
"color": "#c0c3cd",
"padding": [0, 0, 10, -5],
"fontSize": 11
},
"axisLabel": {
"color": "#c0c3cd",
"fontSize": 11
},
"axisTick": {
"lineStyle": {
"color": "#8398c4",
"width": 1
},
"show": true
},
"splitLine": {
"show": true,
"lineStyle": {
"color": "#8398c4",
"type": "dashed"
}
},
"axisLine": {
"lineStyle": {
"color": "#8398c4",
"width": 1,
"type": "solid"
},
"show": true,
// "symbol":['none', 'arrow'],
"symbol": ['none', 'path://M5, 20 L5, 5 L8, 8 L5, 2 L2, 8 L5, 5 L5.3, 6 L5.3, 20'],
'symbolOffset': 5,
'symbolSize': [35, 38],
},
"name": "条"
},
"series": [{
"data": count,
"type": "bar",
"barMaxWidth": "auto",
"barWidth": 15,
"itemStyle": {
"color": {
"x": 0,
"y": 0,
"x2": 0,
"y2": 1,
"type": "linear",
"global": false,
"colorStops": [{
"offset": 0,
"color": "#ff4519"
}, {
"offset": 1,
"color": "#fff500"
}]
},
barBorderRadius: [30, 30, 0, 0]
},
"label": {
"show": true,
"position": "top",
"distance": 10,
"color": "#fff"
},
emphasis: {
itemStyle: {
color: new echarts.graphic.LinearGradient(
0, 0, 0, 1,
[{
offset: 0,
color: '#fde301'
},
{
offset: 1,
color: '#0a2f3e'
}
]
)
}
},
}, {
"data": [1, 1, 1, 1, 1, 1],
"type": "pictorialBar",
"barMaxWidth": "20",
"symbol": "none",
},
{
// "data": [1500, 1148, 756, 1395, 1750, 1148],
"type": "pictorialBar",
"barMaxWidth": "20",
"symbolPosition": "end",
"symbol": "none",
"symbolOffset": [0, "-50%"],
"symbolSize": [30, 12],
"zlevel": 1
},
{
"data": count1,
"type": "bar",
"barMaxWidth": "auto",
"barWidth": 15,
"barGap": "-100%",
"itemStyle": {
"color": '#234caf'
},
"zlevel": -1
}, {
"data": [1, 1, 1, 1, 1, 1],
"type": "pictorialBar",
"barMaxWidth": "20",
"symbol": "none",
"symbolOffset": [0, "50%"],
"symbolSize": [30, 15],
"zlevel": -2
}, {
"data": count1,
"type": "pictorialBar",
"barMaxWidth": "20",
"symbolPosition": "end",
"symbol": "circle",
"symbolOffset": [0, "-60%"],
"symbolSize": [15, 12],
"itemStyle": {
"color": '#234caf'
},
"zlevel": -1
},
]
}
hotThings.setOption(option);
}
function getKeyInfo(keyid, n) {
$('.keyInfo').html('');
new doAjax({
url: huayi.config.callcenter_url + "/InfoNew/GetKeyArea",
data: {
token: $.cookie("token"),
pid: keyid
},
callBack: function (res) {
let str = ''
res.forEach(function (v, n) {
if (n > 0) {
str += '



' + v.F_UserName + '