Commit 49106f01 authored by 郭铭瑶's avatar 郭铭瑶 🤘

点击网格获取网格人员数据

parent 11bd9e05
......@@ -270,9 +270,10 @@ export default {
this.selectedGridArea = map.addPolygon({paths, fillColor: 'rgba(255,235,59,.15)'})
this.$ajax.get({
url: this.$api.DATA_URL + this.$api.GET_GRID_PERSON,
params: {street: this.currentStreetInfo.name, gridId: attributes['网格编']}
params: {street: this.currentStreetInfo.name, gridId: +attributes['网格编']},
showLoading: true,
}).then(res => {
this.gridPersonList = this.$com.confirm(res, 'data.content', [])
this.gridPersonList = res || []
this.gridPersonModal = true
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment