|
|
|
@ -495,6 +495,9 @@ const getGlobalMapData = async (timeValue = time.value) => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ gte: range80Percent, label: "高于最大问题80%", color: "#D34343" }, |
|
|
|
{ gte: range80Percent, label: "高于最大问题80%", color: "#D34343" }, |
|
|
|
]; |
|
|
|
]; |
|
|
|
|
|
|
|
clearInterval(globalMapIntervalId); |
|
|
|
|
|
|
|
globalMapIntervalId = setInterval(mapAnimation, 2000); |
|
|
|
|
|
|
|
mapAnimationStop(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
const getGlobalTrendData = async (year = selectedYear.value) => { |
|
|
|
const getGlobalTrendData = async (year = selectedYear.value) => { |
|
|
|
const res = await getGlobalTrend(year); |
|
|
|
const res = await getGlobalTrend(year); |
|
|
|
@ -573,8 +576,6 @@ const mapAnimation = () => { |
|
|
|
dataIndex: randomNum, |
|
|
|
dataIndex: randomNum, |
|
|
|
}); |
|
|
|
}); |
|
|
|
}; |
|
|
|
}; |
|
|
|
// 启动定时器,每隔 2 秒执行一次 |
|
|
|
|
|
|
|
globalMapIntervalId = setInterval(mapAnimation, 2000); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 趋势动画 |
|
|
|
// 趋势动画 |
|
|
|
const globalTrendAnimation = () => { |
|
|
|
const globalTrendAnimation = () => { |
|
|
|
@ -653,7 +654,6 @@ const handleClick = (params) => { |
|
|
|
const setupEventListeners = () => { |
|
|
|
const setupEventListeners = () => { |
|
|
|
cartProRankAnimtionStop(); |
|
|
|
cartProRankAnimtionStop(); |
|
|
|
ywlxzbAnimationStop(); |
|
|
|
ywlxzbAnimationStop(); |
|
|
|
mapAnimationStop(); |
|
|
|
|
|
|
|
trendAnimationStop(); |
|
|
|
trendAnimationStop(); |
|
|
|
wtlxzbAnimationStop(); |
|
|
|
wtlxzbAnimationStop(); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|