Browse Source

fix/검토 결과 필터 분기 추가

master
sanguu516 4 weeks ago
parent
commit
10dcccd7f9
  1. 36
      src/components/flight/NewFlightApprovalsReport.js

36
src/components/flight/NewFlightApprovalsReport.js

@ -140,9 +140,21 @@ export default function NewFlightApprovalsReport(props) {
<CustomInput
type='select'
bsSize='sm'
id='reviewedProcType'
value={props.reviewedProcType}
onChange={e => props.setReviewedProcType(e.target.value)}
id={
props.pageName === 'control'
? 'reviewedProcType'
: 'reviewedType'
}
value={
props.pageName === 'control'
? props.reviewedProcType
: props.reviewedType
}
onChange={e => {
props.pageName === 'control'
? props.setReviewedProcType(e.target.value)
: props.setReviewedType(e.target.value);
}}
onKeyPress={handleKeyDown}
>
{Object.entries(
@ -167,9 +179,21 @@ export default function NewFlightApprovalsReport(props) {
<CustomInput
type='select'
bsSize='sm'
id='reviewedType'
value={props.reviewedType}
onChange={e => props.setReviewedType(e.target.value)}
id={
props.pageName === 'control'
? 'reviewedType'
: 'reviewedProcType'
}
value={
props.pageName === 'control'
? props.reviewedType
: props.reviewedProcType
}
onChange={e => {
props.pageName === 'control'
? props.setReviewedType(e.target.value)
: props.setReviewedProcType(e.target.value);
}}
onKeyPress={handleKeyDown}
>
{Object.entries(

Loading…
Cancel
Save