巡更人员添加轨迹

main
Tuzki 2 years ago
parent 0a649c9d95
commit ef0e53db4e
  1. 7
      ruoyi-ui/src/views/system/management/emergency-command/info/index.vue

@ -951,7 +951,7 @@
/>
</div>
<div class="m-map-box-father">
<new-map :line-type="false" :map-center="[114.54,38.05]" :path-array="checkPoint" :point-type="false"
<new-map :point-type="false" :line-type="true" :map-center="[114.54,38.05]" :path-array="checkPoint"
:show-search="false"></new-map>
</div>
</div>
@ -1656,6 +1656,7 @@ export default {
},
//
handleQuerys(val) {
debugger
if (val !== 2) {
this.getGroupingUsersPath(val)
} else {
@ -1668,6 +1669,10 @@ export default {
},
getGroupingUsersPath(val) {
getGroupingUsersPath(val).then(response => {
response.rows.forEach(item => {
this.checkPoint.push([item.longitude, item.dimension])
})
console.log(response,'路线')
this.patrolRecordList = response.rows
this.totals = response.total
})

Loading…
Cancel
Save