|
|
@ -120,47 +120,57 @@ export default function DroneFlightSchedule({ |
|
|
|
const { dronOperationList } = useSelector(state => state.mainDashState); |
|
|
|
const { dronOperationList } = useSelector(state => state.mainDashState); |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Card> |
|
|
|
<div className='invoice-list-wrapper'> |
|
|
|
<CardHeader className=''> |
|
|
|
<Card> |
|
|
|
<div className='w-100 d-flex justify-content-between'> |
|
|
|
<div className='invoice-list-dataTable'> |
|
|
|
<CardTitle tag='h4'>드론 별 비행운항 목록</CardTitle> |
|
|
|
<CardHeader className=''> |
|
|
|
<div className='d-flex align-items-center'> |
|
|
|
<div className='w-100 d-flex justify-content-between'> |
|
|
|
{user?.cptAuthCode === 'KAC' || |
|
|
|
<CardTitle tag='h4'>드론 별 비행운항 목록</CardTitle> |
|
|
|
(user?.authId === 'SUPER' && ( |
|
|
|
<div className='d-flex align-items-center'> |
|
|
|
<Input |
|
|
|
{user?.cptAuthCode === 'KAC' || |
|
|
|
id='groupSelect' |
|
|
|
(user?.authId === 'SUPER' && ( |
|
|
|
type='select' |
|
|
|
<Input |
|
|
|
size='sm' |
|
|
|
id='groupSelect' |
|
|
|
style={{ minWidth: '120px' }} |
|
|
|
type='select' |
|
|
|
s |
|
|
|
size='sm' |
|
|
|
onChange={e => { |
|
|
|
style={{ minWidth: '120px' }} |
|
|
|
const { value } = e.target; |
|
|
|
s |
|
|
|
handlerDronOperationChange(value); |
|
|
|
onChange={e => { |
|
|
|
}} |
|
|
|
const { value } = e.target; |
|
|
|
> |
|
|
|
handlerDronOperationChange(value); |
|
|
|
<option value='all'>그룹선택</option> |
|
|
|
}} |
|
|
|
{competentAgency?.map(i => ( |
|
|
|
> |
|
|
|
<option value={i.value}>{i.text}</option> |
|
|
|
<option value='all'>그룹선택</option> |
|
|
|
|
|
|
|
{competentAgency?.map(i => ( |
|
|
|
|
|
|
|
<option value={i.value}>{i.text}</option> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
</Input> |
|
|
|
))} |
|
|
|
))} |
|
|
|
</Input> |
|
|
|
|
|
|
|
))} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<button |
|
|
|
<button |
|
|
|
onClick={() => handlerMovePage('/basis/flight/schedule/index')} |
|
|
|
onClick={() => |
|
|
|
style={{ marginLeft: '8px' }} |
|
|
|
handlerMovePage('/basis/flight/schedule/index') |
|
|
|
> |
|
|
|
} |
|
|
|
<Plus /> |
|
|
|
style={{ marginLeft: '8px' }} |
|
|
|
</button> |
|
|
|
> |
|
|
|
</div> |
|
|
|
<Plus /> |
|
|
|
|
|
|
|
</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</CardHeader> |
|
|
|
|
|
|
|
<CardBody> |
|
|
|
|
|
|
|
<GridDatabase |
|
|
|
|
|
|
|
data={dronOperationList || []} |
|
|
|
|
|
|
|
paginationPerPage={8} |
|
|
|
|
|
|
|
paginationRowsPerPageOptions={[]} |
|
|
|
|
|
|
|
rowsPerPageText={'noText'} |
|
|
|
|
|
|
|
total={dronOperationList?.length || 0} |
|
|
|
|
|
|
|
columns={columns} |
|
|
|
|
|
|
|
pagination |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</CardBody> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</CardHeader> |
|
|
|
</Card> |
|
|
|
<CardBody> |
|
|
|
</div> |
|
|
|
<GridDatabase |
|
|
|
|
|
|
|
data={dronOperationList || []} |
|
|
|
|
|
|
|
count={dronOperationList?.length || 0} |
|
|
|
|
|
|
|
columns={columns} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</CardBody> |
|
|
|
|
|
|
|
</Card> |
|
|
|
|
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|