大气gis右上角统计
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user