|
@@ -385,11 +385,11 @@
|
|
|
that.connectList.push(latlng)
|
|
|
}
|
|
|
setTimeout(() => {
|
|
|
- // that.$refs.supermap.clearC()
|
|
|
- that.$refs.supermap.setConnectList(that.connectList, '#f40')
|
|
|
+ that.$refs.supermap.clearCTwo()
|
|
|
+ that.$refs.supermap.setConnectTwoList(that.connectList, '#f40')
|
|
|
}, 1000)
|
|
|
} else {
|
|
|
- that.$refs.supermap.clearC()
|
|
|
+ that.$refs.supermap.clearCTwo()
|
|
|
}
|
|
|
},
|
|
|
setConnectList(points, planName) {
|
|
@@ -410,7 +410,7 @@
|
|
|
let point = this.zxrs
|
|
|
myChart.setOption({
|
|
|
title: [{
|
|
|
- text: '总人数:' + handred + '人' + '\n' + '\n' + '在线人数:' + point + '人',
|
|
|
+ text: '总人数:' + handred + '人',
|
|
|
x: '48%',
|
|
|
y: '25%',
|
|
|
textStyle: {
|
|
@@ -442,7 +442,7 @@
|
|
|
}
|
|
|
},
|
|
|
data: [{
|
|
|
- value: point,
|
|
|
+ value: handred,
|
|
|
name: '当前在线',
|
|
|
label: {
|
|
|
show: true, //单独显示该数据项
|
|
@@ -475,7 +475,7 @@
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
- value: handred - point,
|
|
|
+ value: 0,
|
|
|
itemStyle: {
|
|
|
color: '#666'
|
|
|
}
|