Browse Source

bug

shibei_master
zhaoyongnian 3 years ago
parent
commit
39e6708f5a
  1. 12
      src/views/modules/visual/communityParty/gridParty.vue

12
src/views/modules/visual/communityParty/gridParty.vue

@ -166,7 +166,7 @@ export default {
await this.loadOrgData() await this.loadOrgData()
// this.loadMap() // this.loadMap()
this.getMapData() this.getMapData()
await this.getWorkUserInfo() // await this.getWorkUserInfo()
// this.isfirstInit = false // this.isfirstInit = false
// end // end
}, },
@ -458,6 +458,16 @@ export default {
if (code === 0) { if (code === 0) {
this.orgData = data this.orgData = data
this.agencyInfo = data //
if (!this.agencyInfo.latitude) {
this.agencyInfo.latitude = 36.072227
}
if (!this.agencyInfo.longitude) {
this.agencyInfo.longitude = 120.389455
}
if (!this.agencyInfo.level) {
this.agencyInfo.level = 'street'
}
this.orgId = this.orgData.id this.orgId = this.orgData.id
this.orgType = this.orgData.level this.orgType = this.orgData.level
this.parentPolygon = [] this.parentPolygon = []

Loading…
Cancel
Save