Browse Source

css(지은대리님)

feature/auth
sanguu 2 years ago
parent
commit
511892feb6
  1. 87
      src/components/basis/flight/plan/FlightPlanForm.js

87
src/components/basis/flight/plan/FlightPlanForm.js

@ -272,27 +272,6 @@ const FlightPlanForm = ({data, handleModal, handleChange, handleSave, handleDele
조종사 조회 조종사 조회
</Button.Ripple> </Button.Ripple>
</div> </div>
{data.groupNm?
(
<Col className='pilot-del-btn' xs={12} md={2} xl={2} >
<Button.Ripple
color='danger'
className='text-nowrap px-2'
onClick={() =>
handleDeleteArray({ type: 'pilot', index })
}
outline
>
<X size={14} className='mr-50' />
<span>삭제</span>
</Button.Ripple>
</Col>
)
:
(
<></>
)
}
{pilotList {pilotList
? pilotList.map((item, i) => ? pilotList.map((item, i) =>
<PilotForm key={i} <PilotForm key={i}
@ -315,27 +294,6 @@ const FlightPlanForm = ({data, handleModal, handleChange, handleSave, handleDele
기체 조회 기체 조회
</Button.Ripple> </Button.Ripple>
</div> </div>
{data.groupNm?
(
<Col className='arcrft-del-btn' xs={12} md={2} xl={2} >
<Button.Ripple
color='danger'
className='text-nowrap px-1'
onClick={() =>
handleDeleteArray({ type: 'arcrft', index })
}
outline
>
<X size={14} className='mr-50' />
<span>삭제</span>
</Button.Ripple>
</Col>
)
:
(
<></>
)
}
{arcrftList {arcrftList
? arcrftList.map((item, i) => ? arcrftList.map((item, i) =>
<ArcrftForm key={i} <ArcrftForm key={i}
@ -664,9 +622,29 @@ const PilotForm = ({data, handleChange, index, handleDeleteArray}) => {
readOnly readOnly
/> />
</FormGroup> </FormGroup>
</Col> </Col>
{data.groupNm?
(
<Col className='pilot-del-btn' xs={12} md={2} xl={2} >
<Button.Ripple
color='danger'
className='text-nowrap px-2'
onClick={() =>
handleDeleteArray({ type: 'pilot', index })
}
outline
>
<X size={14} className='mr-50' />
<span>삭제</span>
</Button.Ripple>
</Col>
)
:
(
<></>
)
}
</Row> </Row>
</div>) </div>)
} }
@ -781,6 +759,7 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => {
readOnly readOnly
/> />
</FormGroup> </FormGroup>
</Col> </Col>
{/* {index !== 0 ? {/* {index !== 0 ?
@ -802,7 +781,27 @@ const ArcrftForm = ({data, handleChange, index, handleDeleteArray}) => {
: :
<></> <></>
} */} } */}
{data.groupNm?
(
<Col className='arcrft-del-btn' xs={12} md={2} xl={2} >
<Button.Ripple
color='danger'
className='text-nowrap px-1'
onClick={() =>
handleDeleteArray({ type: 'arcrft', index })
}
outline
>
<X size={14} className='mr-50' />
<span>삭제</span>
</Button.Ripple>
</Col>
)
:
(
<></>
)
}
</Row> </Row>
</div>) </div>)
} }

Loading…
Cancel
Save