|
|
|
|
@ -543,6 +543,11 @@ const getCaseVerificationCountData = async (timeValue) => {
|
|
|
|
|
const getCaseVerificationMapData = async (timeValue) => { |
|
|
|
|
const res = await getCaseVerificationMap(timeValue); |
|
|
|
|
const mappedData = mapOrgNameMapping(res.caseVerificationMapList, "total"); |
|
|
|
|
mappedData.forEach((s)=>{ |
|
|
|
|
if(s.name == '湘江新区公安局'){ |
|
|
|
|
s.name = '湘江新区' |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
const maxItem = mappedData.reduce((max, item) => (Number(item.value) > Number(max.value) ? item : max), mappedData[0]); |
|
|
|
|
const range60Percent = maxItem.value * 0.6 // 不用取整,小数也可以 |
|
|
|
|
const range80Percent = maxItem.value * 0.8 // 不用取整,小数也可以 |
|
|
|
|
|