市县区域声源噪声统计
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<div id="map" ref="map" style="overflow: hidden"></div>
|
||||
<tip-tool :filedData="filed" :flag="tipFlag" :x="currentX" :y="currentY" :data="tipData"></tip-tool>
|
||||
<mapNominal :param="nominalList"></mapNominal>
|
||||
<!-- <map-table-center :rowData="pointData"></map-table-center>-->
|
||||
<map-table-center :rowData="noiseSourceData"></map-table-center>
|
||||
<map-table :rowData="pointData"></map-table>
|
||||
</div>
|
||||
</template>
|
||||
@@ -37,11 +37,12 @@
|
||||
import {
|
||||
getPlaceGis,
|
||||
getColumnOptions,
|
||||
statisticAll
|
||||
} from "@/api/ecology/noise/zone-sound";
|
||||
import tipTool from "@/views/components/tipToolZone";
|
||||
import mapNominal from "@/views/components/mapNominalZone";
|
||||
import mapTable from "@/views/components/mapTableZone";
|
||||
// import mapTableCenter from "@/views/components/mapTableCenterZone";
|
||||
import mapTableCenter from "@/views/components/mapTableCenterZone";
|
||||
|
||||
let scene = null;
|
||||
let pointLayer = null;
|
||||
@@ -52,7 +53,7 @@ export default {
|
||||
tipTool,
|
||||
mapNominal,
|
||||
mapTable,
|
||||
// mapTableCenter
|
||||
mapTableCenter
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -70,6 +71,7 @@ export default {
|
||||
tipFlag: false,
|
||||
tipData: [],
|
||||
dataSource: [],
|
||||
noiseSourceData: [],
|
||||
zoom: 13,
|
||||
filed: [
|
||||
{'text': '点位名称', 'value': 'placeName'},
|
||||
@@ -281,6 +283,12 @@ export default {
|
||||
that.addMarker()
|
||||
}
|
||||
})
|
||||
statisticAll(this.where).then(res=>{
|
||||
that.noiseSourceData = []
|
||||
if (res.data.code == 0 && res.data.data.length > 0) {
|
||||
that.noiseSourceData = res.data.data
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user