From 55137ef50f10ec4c6d57a808074c605b162a19fc Mon Sep 17 00:00:00 2001 From: junh_eee Date: Mon, 29 Aug 2022 11:11:15 +0900 Subject: [PATCH] . --- .../basis/flight/plan/FlightPlanAreaMap.js | 2 +- .../basis/flight/plan/FlightPlanForm.js | 49 +++++++++++++++++-- 2 files changed, 45 insertions(+), 6 deletions(-) diff --git a/src/components/basis/flight/plan/FlightPlanAreaMap.js b/src/components/basis/flight/plan/FlightPlanAreaMap.js index b17917b..072170a 100644 --- a/src/components/basis/flight/plan/FlightPlanAreaMap.js +++ b/src/components/basis/flight/plan/FlightPlanAreaMap.js @@ -59,7 +59,7 @@ const FlightPlanAreaMap = (props) => { bufferzoom.bufferzoom =13; } else if(areaCoordList[0].bufferZone>=2000 && areaCoordList[0].bufferZone <5000){ - bufferzoom.bufferzoom =12; + bufferzoom.bufferzoom =12; } else if(areaCoordList[0].bufferZone>=5000 && areaCoordList[0].bufferZone <=9000){ bufferzoom.bufferzoom =11; diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index 0041907..44c6bef 100644 --- a/src/components/basis/flight/plan/FlightPlanForm.js +++ b/src/components/basis/flight/plan/FlightPlanForm.js @@ -184,7 +184,7 @@ const FlightPlanForm = ({data, handleModal, handleChange, handleSave, handleDele - { + {/* { (isFlightDone) ? ( ) - } - + } */} + { + const value = moment(date[0]).format('YYYY-MM-DD HH:mm:ss') || ''; + handleChange({ + type: 'plan', + name: 'schFltStDt', + value + }) + }} + placeholder='비행 시작일자 선택(클릭)' + // {...{options:{minDate: "today"}}} + /> @@ -229,7 +248,7 @@ const FlightPlanForm = ({data, handleModal, handleChange, handleSave, handleDele - { + {/* { (isFlightDone) ? ( ) - } + } */} + { + const value = moment(date[0]).format('YYYY-MM-DD HH:mm:ss') || ''; + handleChange({ + type: 'plan', + name: 'schFltEndDt', + value + }) + }} + placeholder='비행 종료일자 선택(클릭)' + // {...{options:{minDate: "today"}}} + />