This commit is contained in:
Taric Xin
2022-03-09 18:01:42 +08:00
parent 4dd7acb53a
commit e7cd51ae30
2 changed files with 71 additions and 13 deletions

View File

@ -79,8 +79,6 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
initData() {
this.service.request(this.service.$api_get_getWholeBillDetail, { id: this.id }).subscribe(res => {
if (res) {
console.log(res);
this.i = res;
this.pois = [
{
@ -90,7 +88,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
title: res.startingPoint.detailedAddress
},
{
markerLabel: '',
markerLabel: '',
color: 'red',
position: [res.endPoint.longitude, res.endPoint.latitude],
title: res.endPoint.detailedAddress