|
|
|
@ -226,9 +226,6 @@ export default { |
|
|
|
btgetdata() { |
|
|
|
//年客流、月、日 |
|
|
|
let that = this; |
|
|
|
that.proportionData = []; |
|
|
|
that.groupNameData = []; |
|
|
|
that.dataP = []; |
|
|
|
// console.log(type) |
|
|
|
let rqtp; |
|
|
|
switch (this.klselt) { |
|
|
|
@ -777,9 +774,6 @@ export default { |
|
|
|
|
|
|
|
getHomeBarData() { |
|
|
|
let that = this; |
|
|
|
that.proportionData = []; |
|
|
|
that.groupNameData = []; |
|
|
|
that.dataP = []; |
|
|
|
homeApi.homeBarData().then(res => { |
|
|
|
// /pass.passcc/allGroupTimeNum&granularity=daily |
|
|
|
// get allTimeData |
|
|
|
@ -886,7 +880,7 @@ export default { |
|
|
|
')' |
|
|
|
); |
|
|
|
} |
|
|
|
let color = ['#00d2ff', '#22e5d1', '#f4d64e', '#0072ff','#00d2ff', '#22e5d1', '#f4d64e', '#0072ff']; |
|
|
|
let color = ['#ff9acc', '#6666ff', '#ff6600', '#02ff00','#00ffff', '#fdff00']; |
|
|
|
let color1=[], color2=[], color3=[]; |
|
|
|
// 设置每层圆环颜色和添加间隔的透明色 |
|
|
|
color.forEach((item) => { |
|
|
|
@ -1003,7 +997,7 @@ export default { |
|
|
|
myChart.clear(); |
|
|
|
option && myChart.setOption(option); |
|
|
|
run(myChart); |
|
|
|
}, 3000); |
|
|
|
}, 4000); |
|
|
|
}, 200) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|