|
|
@ -290,6 +290,9 @@ export const getLaancAprvList = createAsyncThunk( |
|
|
|
...(item.droneList[xIndex]?.weightNm && { |
|
|
|
...(item.droneList[xIndex]?.weightNm && { |
|
|
|
weightNm: item.droneList[xIndex].weightNm |
|
|
|
weightNm: item.droneList[xIndex].weightNm |
|
|
|
}), |
|
|
|
}), |
|
|
|
|
|
|
|
...(item.droneList[xIndex]?.benefit && { |
|
|
|
|
|
|
|
benefit: item.droneList[xIndex].benefit |
|
|
|
|
|
|
|
}), |
|
|
|
purpose: item.purpose, |
|
|
|
purpose: item.purpose, |
|
|
|
cReviewedType: area.reviewedType |
|
|
|
cReviewedType: area.reviewedType |
|
|
|
}; |
|
|
|
}; |
|
|
@ -301,11 +304,13 @@ export const getLaancAprvList = createAsyncThunk( |
|
|
|
planAreaSno: item.areaList[0].planAreaSno, |
|
|
|
planAreaSno: item.areaList[0].planAreaSno, |
|
|
|
cReviewedType: item.reviewedType, |
|
|
|
cReviewedType: item.reviewedType, |
|
|
|
areaList: item.areaList.map((area, zIndex) => { |
|
|
|
areaList: item.areaList.map((area, zIndex) => { |
|
|
|
console.log('>>', item?.droneList[zIndex]?.weightNm); |
|
|
|
|
|
|
|
return { |
|
|
|
return { |
|
|
|
...area, |
|
|
|
...area, |
|
|
|
applyNm: item.applyNm, |
|
|
|
applyNm: item.applyNm, |
|
|
|
purpose: item.purpose, |
|
|
|
purpose: item.purpose, |
|
|
|
|
|
|
|
...(item.droneList[zIndex]?.benefit && { |
|
|
|
|
|
|
|
benefit: item.droneList[zIndex].benefit |
|
|
|
|
|
|
|
}), |
|
|
|
...(item.droneList[zIndex]?.weightNm && { |
|
|
|
...(item.droneList[zIndex]?.weightNm && { |
|
|
|
weightNm: item.droneList[zIndex].weightNm |
|
|
|
weightNm: item.droneList[zIndex].weightNm |
|
|
|
}), |
|
|
|
}), |
|
|
|