Browse Source

🚀 地图设计器调整完毕

master
wangxiang 3 years ago
parent
commit
1681744981
  1. 12
      src/components/AMap/src/AMapDesigner/index.vue

12
src/components/AMap/src/AMapDesigner/index.vue

@ -705,14 +705,14 @@ @@ -705,14 +705,14 @@
childOrg = mapState.orgList.find(e => e.value == childItem.orgId);
childItem.courierUserId = mapData.courierUserId;
childHospital && Object.assign(item,{
orgin_preset_name: childHospital.label,
orgin_preset_lng: childHospital.mapLng,
orgin_preset_lat: childHospital.mapLat
orginPresetName: childHospital.label,
orginPresetLat: childHospital.mapLat,
orginPresetLng: childHospital.mapLng
});
childOrg && Object.assign(item,{
destination_preset_name: childOrg.label,
destination_preset_lng: childOrg.mapLng,
destination_preset_lat: childOrg.mapLat
destinationPresetName: childOrg.label,
destinationPresetLng: childOrg.mapLng,
destinationPresetLat: childOrg.mapLat
});
childItem.fileId = (childItem.fileId as [] || [])?.join(',');
});

Loading…
Cancel
Save