|
|
|
|
@ -979,7 +979,6 @@ const getSupervisionNotifyMapData = async () => {
|
|
|
|
|
res.superviseTempMapVoList, |
|
|
|
|
"totalPro" |
|
|
|
|
); |
|
|
|
|
console.log('mappedData',mappedData) |
|
|
|
|
const total = mappedData.reduce((sum, item) => sum + Number(item.value), 0); |
|
|
|
|
const avg = total / mappedData.length; // 计算平均值 |
|
|
|
|
const range30Percent = avg * 0.3; // 不用取整,小数也可以 |
|
|
|
|
|