From 553c9dceb1fc6e996182af82d658bd130c087446 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 13 Apr 2022 10:02:09 +0800 Subject: [PATCH] edit --- .../components/bulk-detail/bulk-detail.component.ts | 4 ++-- .../components/vehicle-detail/vehicle-detail.component.ts | 6 +++--- .../amap-path-simplifier/amap-path-simplifier.component.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts index a03bad84..7a540849 100644 --- a/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts +++ b/src/app/routes/order-management/components/bulk-detail/bulk-detail.component.ts @@ -90,14 +90,14 @@ export class OrderManagementBulkeDetailComponent implements OnInit { markerLabel: '装', color: 'blue', 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 }, { markerLabel: '卸', color: 'red', 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 } ]; diff --git a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts index ed73f379..c2924073 100644 --- a/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts +++ b/src/app/routes/order-management/components/vehicle-detail/vehicle-detail.component.ts @@ -80,14 +80,14 @@ export class OrderManagementVehicleDetailComponent implements OnInit { markerLabel: '装', color: 'blue', 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 }, { markerLabel: '卸', color: 'red', 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 } ]; @@ -165,7 +165,7 @@ export class OrderManagementVehicleDetailComponent implements OnInit { let list: any[] = []; points?.forEach((item: any) => { 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))], time: item.gtm }); diff --git a/src/app/shared/components/amap/amap-path-simplifier/amap-path-simplifier.component.ts b/src/app/shared/components/amap/amap-path-simplifier/amap-path-simplifier.component.ts index 4bf4469b..4bda83dd 100644 --- a/src/app/shared/components/amap/amap-path-simplifier/amap-path-simplifier.component.ts +++ b/src/app/shared/components/amap/amap-path-simplifier/amap-path-simplifier.component.ts @@ -175,7 +175,7 @@ export class AmapPathSimplifierComponent implements OnInit, OnChanges, OnDestroy position: info.pathData.points[info.pointIndex].lnglat, content: `