大气gis右上角统计

This commit is contained in:
weicw
2022-02-03 15:37:12 +08:00
parent 98248a8415
commit 535ef79624
7 changed files with 529 additions and 457 deletions

View File

@@ -286,6 +286,15 @@ export default {
statisticAll(this.where).then(res=>{
that.noiseSourceData = []
if (res.data.code == 0 && res.data.data.length > 0) {
res.data.data.sort((a,b)=>{
if(a.area == "南宁市"){
return -1
}
if(b.area == "南宁市"){
return 1
}
return 0
})
that.noiseSourceData = res.data.data
}
})