|
|
@ -31,7 +31,6 @@ export default function FlightApprovalsTable(props) { |
|
|
|
} else if (props.filter === '') { |
|
|
|
} else if (props.filter === '') { |
|
|
|
setSearchResults(props.data); |
|
|
|
setSearchResults(props.data); |
|
|
|
} |
|
|
|
} |
|
|
|
console.log('>>>', results); |
|
|
|
|
|
|
|
}, [props.filter]); |
|
|
|
}, [props.filter]); |
|
|
|
|
|
|
|
|
|
|
|
const handlerOpenModal = (approval, reason) => { |
|
|
|
const handlerOpenModal = (approval, reason) => { |
|
|
@ -63,7 +62,6 @@ export default function FlightApprovalsTable(props) { |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const handleRowClick = row => { |
|
|
|
const handleRowClick = row => { |
|
|
|
console.log('Clicked row: ', row); |
|
|
|
|
|
|
|
props.handlerDetail(row.planSno); |
|
|
|
props.handlerDetail(row.planSno); |
|
|
|
// 여기에 클릭 이벤트를 처리하는 코드를 작성하세요.
|
|
|
|
// 여기에 클릭 이벤트를 처리하는 코드를 작성하세요.
|
|
|
|
}; |
|
|
|
}; |
|
|
@ -202,13 +200,15 @@ export default function FlightApprovalsTable(props) { |
|
|
|
<div className='layer-ti d-flex justify-content-between align-items-center'> |
|
|
|
<div className='layer-ti d-flex justify-content-between align-items-center'> |
|
|
|
<h4>비행승인 신청 결과 목록</h4> |
|
|
|
<h4>비행승인 신청 결과 목록</h4> |
|
|
|
<span className='search-case'> |
|
|
|
<span className='search-case'> |
|
|
|
{dayjs().format('YYYY년 MM월 DD일')} 총 {results?.length} 건 |
|
|
|
{dayjs().format('YYYY년 MM월 DD일')} 총 {results?.length} 건 결과 |
|
|
|
결과 |
|
|
|
|
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className='invoice-list-wrapper'> |
|
|
|
<div className='invoice-list-wrapper'> |
|
|
|
<Card> |
|
|
|
<Card> |
|
|
|
<div className='invoice-list-dataTable flight-approval' style={{ width: '100%' }}> |
|
|
|
<div |
|
|
|
|
|
|
|
className='invoice-list-dataTable flight-approval' |
|
|
|
|
|
|
|
style={{ width: '100%' }} |
|
|
|
|
|
|
|
> |
|
|
|
{results?.length > 0 ? ( |
|
|
|
{results?.length > 0 ? ( |
|
|
|
<GridDatabase |
|
|
|
<GridDatabase |
|
|
|
title={'비행이력'} |
|
|
|
title={'비행이력'} |
|
|
|