edit
This commit is contained in:
@ -90,14 +90,14 @@ export class OrderManagementBulkeDetailComponent implements OnInit {
|
|||||||
markerLabel: '装',
|
markerLabel: '装',
|
||||||
color: 'blue',
|
color: 'blue',
|
||||||
position: [res.startingPoint.longitude, res.startingPoint.latitude],
|
position: [res.startingPoint.longitude, res.startingPoint.latitude],
|
||||||
title: '发货地:' + res.startingPoint.detailedAddress,
|
title: `发货地:${res.startingPoint.province}${res.startingPoint.city}${res.startingPoint.area}${res.startingPoint.detailedAddress}`,
|
||||||
time: '计划出发时间:' + res.loadPlanTime
|
time: '计划出发时间:' + res.loadPlanTime
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
markerLabel: '卸',
|
markerLabel: '卸',
|
||||||
color: 'red',
|
color: 'red',
|
||||||
position: [res.endPoint.longitude, res.endPoint.latitude],
|
position: [res.endPoint.longitude, res.endPoint.latitude],
|
||||||
title: '卸货地地:' + res.endPoint.detailedAddress,
|
title: `卸货地:${res.endPoint.province}${res.endPoint.city}${res.endPoint.area}${res.endPoint.detailedAddress}`,
|
||||||
time: '计划卸货时间:' + res.unloadPlanTime
|
time: '计划卸货时间:' + res.unloadPlanTime
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
@ -80,14 +80,14 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
markerLabel: '装',
|
markerLabel: '装',
|
||||||
color: 'blue',
|
color: 'blue',
|
||||||
position: [res.startingPoint.longitude, res.startingPoint.latitude],
|
position: [res.startingPoint.longitude, res.startingPoint.latitude],
|
||||||
title: '发货地:' + res.startingPoint.detailedAddress,
|
title: `发货地:${res.startingPoint.province}${res.startingPoint.city}${res.startingPoint.area}${res.startingPoint.detailedAddress}`,
|
||||||
time: '计划出发时间:' +res.loadPlanTime
|
time: '计划出发时间:' +res.loadPlanTime
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
markerLabel: '卸',
|
markerLabel: '卸',
|
||||||
color: 'red',
|
color: 'red',
|
||||||
position: [res.endPoint.longitude, res.endPoint.latitude],
|
position: [res.endPoint.longitude, res.endPoint.latitude],
|
||||||
title: '卸货地地:' + res.endPoint.detailedAddress,
|
title: `卸货地:${res.endPoint.province}${res.endPoint.city}${res.endPoint.area}${res.endPoint.detailedAddress}`,
|
||||||
time: '计划卸货时间:' + res.unloadPlanTime
|
time: '计划卸货时间:' + res.unloadPlanTime
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
@ -165,7 +165,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit {
|
|||||||
let list: any[] = [];
|
let list: any[] = [];
|
||||||
points?.forEach((item: any) => {
|
points?.forEach((item: any) => {
|
||||||
list.push({
|
list.push({
|
||||||
name: `${item.spd}km/h`,
|
name: `${item.spd}`,
|
||||||
lnglat: [Number((Number(item.lon) / 600000).toFixed(6)), Number((Number(item.lat) / 600000).toFixed(6))],
|
lnglat: [Number((Number(item.lon) / 600000).toFixed(6)), Number((Number(item.lat) / 600000).toFixed(6))],
|
||||||
time: item.gtm
|
time: item.gtm
|
||||||
});
|
});
|
||||||
|
|||||||
@ -175,7 +175,7 @@ export class AmapPathSimplifierComponent implements OnInit, OnChanges, OnDestroy
|
|||||||
position: info.pathData.points[info.pointIndex].lnglat,
|
position: info.pathData.points[info.pointIndex].lnglat,
|
||||||
content: `
|
content: `
|
||||||
<label style="font-weight: bold;">${result.regeocode.formattedAddress}<label/><br/>
|
<label style="font-weight: bold;">${result.regeocode.formattedAddress}<label/><br/>
|
||||||
<label style="font-weight: 400;">车速: ${info.pathData.points[info.pointIndex].name}<label/><br/>
|
<label style="font-weight: 400;">车速: ${info.pathData.points[info.pointIndex].name}km/h<label/><br/>
|
||||||
<label style="font-weight: 400;">东经: ${info.pathData.points[info.pointIndex].lnglat?.[0]}, 北纬:${
|
<label style="font-weight: 400;">东经: ${info.pathData.points[info.pointIndex].lnglat?.[0]}, 北纬:${
|
||||||
info.pathData.points[info.pointIndex].lnglat?.[1]
|
info.pathData.points[info.pointIndex].lnglat?.[1]
|
||||||
}<label/><br/>
|
}<label/><br/>
|
||||||
|
|||||||
Reference in New Issue
Block a user