|
|
|
@ -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 |
|
|
|
|
}) |
|
|
|
|