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

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

parent 11bd9e05
...@@ -25,4 +25,4 @@ ...@@ -25,4 +25,4 @@
<script src="./static/Plugins.min.js"></script> <script src="./static/Plugins.min.js"></script>
<script src="./static/GeoTask.min.js"></script> <script src="./static/GeoTask.min.js"></script>
</html> </html>
\ No newline at end of file
...@@ -270,9 +270,10 @@ export default { ...@@ -270,9 +270,10 @@ export default {
this.selectedGridArea = map.addPolygon({paths, fillColor: 'rgba(255,235,59,.15)'}) this.selectedGridArea = map.addPolygon({paths, fillColor: 'rgba(255,235,59,.15)'})
this.$ajax.get({ this.$ajax.get({
url: this.$api.DATA_URL + this.$api.GET_GRID_PERSON, 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 => { }).then(res => {
this.gridPersonList = this.$com.confirm(res, 'data.content', []) this.gridPersonList = res || []
this.gridPersonModal = true 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