|
|
@ -170,45 +170,48 @@ export default function NewFlightApprovalsReport(props) { |
|
|
|
</FormGroup> |
|
|
|
</FormGroup> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className='list-input'> |
|
|
|
{props.pageName !== 'control' && ( |
|
|
|
<div className='layer-content'> |
|
|
|
<div className='list-input'> |
|
|
|
<FormGroup> |
|
|
|
<div className='layer-content'> |
|
|
|
<Label for='searchDate'> |
|
|
|
<FormGroup> |
|
|
|
{props.pageName === 'control' ? '안전운항과' : '관제통신과'} |
|
|
|
<Label for='searchDate'> |
|
|
|
</Label> |
|
|
|
{props.pageName === 'control' ? '안전운항과' : '관제통신과'} |
|
|
|
<CustomInput |
|
|
|
</Label> |
|
|
|
type='select' |
|
|
|
<CustomInput |
|
|
|
bsSize='sm' |
|
|
|
type='select' |
|
|
|
id={ |
|
|
|
bsSize='sm' |
|
|
|
props.pageName === 'control' |
|
|
|
id={ |
|
|
|
? 'reviewedType' |
|
|
|
props.pageName === 'control' |
|
|
|
: 'reviewedProcType' |
|
|
|
? 'reviewedType' |
|
|
|
} |
|
|
|
: 'reviewedProcType' |
|
|
|
value={ |
|
|
|
} |
|
|
|
props.pageName === 'control' |
|
|
|
value={ |
|
|
|
? props.reviewedType |
|
|
|
props.pageName === 'control' |
|
|
|
: props.reviewedProcType |
|
|
|
? props.reviewedType |
|
|
|
} |
|
|
|
: props.reviewedProcType |
|
|
|
onChange={e => { |
|
|
|
} |
|
|
|
props.pageName === 'control' |
|
|
|
onChange={e => { |
|
|
|
? props.setReviewedType(e.target.value) |
|
|
|
props.pageName === 'control' |
|
|
|
: props.setReviewedProcType(e.target.value); |
|
|
|
? props.setReviewedType(e.target.value) |
|
|
|
}} |
|
|
|
: props.setReviewedProcType(e.target.value); |
|
|
|
onKeyPress={handleKeyDown} |
|
|
|
}} |
|
|
|
> |
|
|
|
onKeyPress={handleKeyDown} |
|
|
|
{Object.entries( |
|
|
|
> |
|
|
|
props.pageName === 'control' |
|
|
|
{Object.entries( |
|
|
|
? FlightCategory.Operation |
|
|
|
props.pageName === 'control' |
|
|
|
: FlightCategory.Control |
|
|
|
? FlightCategory.Operation |
|
|
|
).map(([key, value]) => ( |
|
|
|
: FlightCategory.Control |
|
|
|
<option key={key} value={key}> |
|
|
|
).map(([key, value]) => ( |
|
|
|
{value} |
|
|
|
<option key={key} value={key}> |
|
|
|
</option> |
|
|
|
{value} |
|
|
|
))} |
|
|
|
</option> |
|
|
|
</CustomInput> |
|
|
|
))} |
|
|
|
</FormGroup> |
|
|
|
</CustomInput> |
|
|
|
|
|
|
|
</FormGroup> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
|
|
|
|
|
|
|
|
<div className='list-input'> |
|
|
|
<div className='list-input'> |
|
|
|
<div className='layer-content'> |
|
|
|
<div className='layer-content'> |
|
|
|
<FormGroup> |
|
|
|
<FormGroup> |
|
|
|