From 7ae98571970b26158e7ad0e45cff1b3a51a99d28 Mon Sep 17 00:00:00 2001 From: sanguu Date: Thu, 25 Aug 2022 11:55:45 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=EA=B3=84=ED=9A=8D=EC=84=9C(?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EB=94=94=EC=9E=90=EC=9D=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/custom.css | 7 +++ .../basis/flight/plan/FlightPlanForm.js | 61 ++++++++++--------- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/src/assets/css/custom.css b/src/assets/css/custom.css index 523b597a..b3772b7e 100644 --- a/src/assets/css/custom.css +++ b/src/assets/css/custom.css @@ -190,6 +190,13 @@ button{border:0;background:transparent;} .tab-menu ul li.active{border-bottom:2px solid #7367f0;} .tab-content{display:none;} .tab-content.active{display:block;} + +/*비행계획서 신청 버튼 css*/ +.arcrft-del-btn{float:right;margin-top: -39px;margin-right: 70px; +} +#ownerNm{width : 250px;} +#email{width : 300px} +.pilot-del-btn{float: right;margin-top: -39px;margin-right: 140px;} /*날씨상세정보*/ .layer-weather-box{color:#bbb;} .layer-weather-box .layer-weather-table table{border:1px solid #404656;} diff --git a/src/components/basis/flight/plan/FlightPlanForm.js b/src/components/basis/flight/plan/FlightPlanForm.js index cb3f6448..2dd3f9fa 100644 --- a/src/components/basis/flight/plan/FlightPlanForm.js +++ b/src/components/basis/flight/plan/FlightPlanForm.js @@ -520,7 +520,7 @@ const AreaForm = ({data, handleChange, index}) => { const PilotForm = ({data, handleChange, index, handleDeleteArray}) => { return (
- + - +
- + - - {data.groupNm? + {data.groupNm? ( - + handleDeleteArray({ type: 'pilot', index }) } @@ -645,6 +643,9 @@ const PilotForm = ({data, handleChange, index, handleDeleteArray}) => { <> ) } + + +
) } @@ -759,6 +760,27 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { readOnly /> + {data.groupNm? + ( + + + handleDeleteArray({ type: 'arcrft', index }) + } + outline + > + + 삭제 + + + ) + : + ( + <> + ) + } {/* {index !== 0 ? @@ -780,28 +802,7 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => { : <> } */} - {data.groupNm? - ( - - - handleDeleteArray({ type: 'arcrft', index }) - } - outline - > - - 삭제 - - - ) - : - ( - <> - ) - } - + ) }