|
|
@ -204,15 +204,14 @@ export default {
|
|
|
|
tabListChange: false,
|
|
|
|
tabListChange: false,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
statistical,
|
|
|
|
statistical,
|
|
|
|
enterpriseList,
|
|
|
|
enterpriseList,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.querParams.parkProfileId = this.$route.query.id
|
|
|
|
this.querParams.parkProfileId = this.$route.query.id
|
|
|
|
// this.headerName = this.$route.query.name
|
|
|
|
|
|
|
|
this.loading = Toast.loading('加载中...')
|
|
|
|
this.loading = Toast.loading('加载中...')
|
|
|
|
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.$nextTick(() => {
|
|
|
|
this.getList()
|
|
|
|
this.getList()
|
|
|
|
this.initMap()
|
|
|
|
this.initMap()
|
|
|
@ -298,8 +297,8 @@ export default {
|
|
|
|
this.mapLayer.mapLayer1.clearLayers() //清除该图层中数据
|
|
|
|
this.mapLayer.mapLayer1.clearLayers() //清除该图层中数据
|
|
|
|
this.parkName = name
|
|
|
|
this.parkName = name
|
|
|
|
let mapObj = mapJson.filter((item) => item.parkName == name)
|
|
|
|
let mapObj = mapJson.filter((item) => item.parkName == name)
|
|
|
|
console.log(mapObj);
|
|
|
|
console.log(mapObj)
|
|
|
|
console.log(name);
|
|
|
|
console.log(name)
|
|
|
|
if (mapObj.length == 0) {
|
|
|
|
if (mapObj.length == 0) {
|
|
|
|
this.$message.error('暂无该工业园面数据...')
|
|
|
|
this.$message.error('暂无该工业园面数据...')
|
|
|
|
return
|
|
|
|
return
|
|
|
|