|
|
@ -715,7 +715,7 @@ |
|
|
|
isArray(mapData.fileId) && (mapData.fileId = mapData.fileId.join(',')); |
|
|
|
isArray(mapData.fileId) && (mapData.fileId = mapData.fileId.join(',')); |
|
|
|
mapData.mapTask.forEach(item => { |
|
|
|
mapData.mapTask.forEach(item => { |
|
|
|
const hospital = item.hospitalId && mapState.hospitalList.find(e => e.value == item.hospitalId), |
|
|
|
const hospital = item.hospitalId && mapState.hospitalList.find(e => e.value == item.hospitalId), |
|
|
|
org = item.orgId && mapState.orgList.find(e => e.value == item.orgId); |
|
|
|
org = item.orgId && mapState.orgList.find(e => e.value == item.orgId); |
|
|
|
item.courierUserId = mapData.courierUserId; |
|
|
|
item.courierUserId = mapData.courierUserId; |
|
|
|
hospital && Object.assign(item,{ |
|
|
|
hospital && Object.assign(item,{ |
|
|
|
hospitalName: hospital.label, |
|
|
|
hospitalName: hospital.label, |
|
|
@ -731,7 +731,7 @@ |
|
|
|
if (~~item.taskType == 1) { |
|
|
|
if (~~item.taskType == 1) { |
|
|
|
item?.mapTaskPreset?.forEach(childItem => { |
|
|
|
item?.mapTaskPreset?.forEach(childItem => { |
|
|
|
const childHospital = childItem.orginPresetId && mapState.hospitalList.find(e => e.value == childItem.orginPresetId), |
|
|
|
const childHospital = childItem.orginPresetId && mapState.hospitalList.find(e => e.value == childItem.orginPresetId), |
|
|
|
childOrg = childItem.destinationPresetId && mapState.orgList.find(e => e.value == childItem.destinationPresetId); |
|
|
|
childOrg = childItem.destinationPresetId && mapState.orgList.find(e => e.value == childItem.destinationPresetId); |
|
|
|
childHospital && Object.assign(childItem,{ |
|
|
|
childHospital && Object.assign(childItem,{ |
|
|
|
orginPresetName: childHospital.label, |
|
|
|
orginPresetName: childHospital.label, |
|
|
|
orginPresetLat: childHospital.mapLat, |
|
|
|
orginPresetLat: childHospital.mapLat, |
|
|
|