Browse Source

优化

shibei_master
zhaoyongnian 3 years ago
parent
commit
28d0e46296
  1. 22
      src/views/modules/visual/communityParty/gridParty.vue

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

@ -496,25 +496,25 @@ export default {
},
//
getMapData () {
const url = '/epmetuser/icVolunteerPoly/mapData'
async getMapData () {
const url = "/epmetuser/icVolunteerPoly/mapData"
let params = {
agencyId: this.agencyId,
code: this.eduCode
}
window.app.ajax.post(
url,
params,
(data, rspMsg) => {
const { data, code, internalMsg } = await requestPost(url, params)
if (code === 0) {
this.unitMapList = data
this.loadMap()
this.isfirstInit = false
this.$refs.map.handleClosePopup()
},
(rspMsg, data) => {
this.$message.error(rspMsg)
}
)
} else {
this.$message.error(internalMsg)
this.unitMapList = []
this.loadMap()
this.isfirstInit = false
this.$refs.map.handleClosePopup()
}
},
//
async clickProject (feature) {

Loading…
Cancel
Save