|
@@ -242,8 +242,9 @@ const setOtherData = function (type,data) {
|
|
|
$('#keyWordsEacthsNone').hide();
|
|
|
},
|
|
|
id:'keyWordsEacths',
|
|
|
- color:'#e15616',
|
|
|
series:{
|
|
|
+ name:'搜索关键词',
|
|
|
+ color:'#e15616',
|
|
|
yAxisData:data.behavior.name,
|
|
|
seriesData:data.behavior.value
|
|
|
},
|
|
@@ -254,8 +255,9 @@ const setOtherData = function (type,data) {
|
|
|
$('#serviceEacthsNone').hide();
|
|
|
},
|
|
|
id:'serviceEacths',
|
|
|
- color:'#36cbcb',
|
|
|
series:{
|
|
|
+ name:'咨询记录',
|
|
|
+ color:'#36cbcb',
|
|
|
yAxisData:data.remarks.name,
|
|
|
seriesData:data.remarks.value
|
|
|
},
|
|
@@ -266,14 +268,15 @@ const setOtherData = function (type,data) {
|
|
|
$('#visitEacthsNone').hide();
|
|
|
},
|
|
|
id:'visitEacths',
|
|
|
- color:'#3aa0ff',
|
|
|
series:{
|
|
|
+ name:'访问记录',
|
|
|
+ color:'#3aa0ff',
|
|
|
yAxisData:data.pageType.name,
|
|
|
seriesData:data.pageType.value
|
|
|
},
|
|
|
}
|
|
|
}
|
|
|
- getOtherEacths(dataMap[type].fn,dataMap[type].id,dataMap[type].series,dataMap[type].color);
|
|
|
+ getOtherEacths(dataMap[type].fn,dataMap[type].id,dataMap[type].series);
|
|
|
}
|
|
|
// 其他三个图表
|
|
|
const getOtherEacths = function (handleFn,id,data,color) {
|
|
@@ -310,10 +313,10 @@ const getOtherEacths = function (handleFn,id,data,color) {
|
|
|
series: [
|
|
|
{
|
|
|
type: 'bar',
|
|
|
- name: '2023',
|
|
|
+ name: data.name,
|
|
|
data: data.seriesData,
|
|
|
itemStyle:{
|
|
|
- color:color,
|
|
|
+ color:data.color,
|
|
|
fontSize: 14,
|
|
|
}
|
|
|
}
|