Browse Source

유효성 검사 모달 하드 코딩 적용

master
sanguu516 2 months ago
parent
commit
4f1aa5bc9d
  1. 6
      src/components/flight/OperationApprovalsTable.js
  2. 110
      src/components/flight/OperationModal.js

6
src/components/flight/OperationApprovalsTable.js

@ -1036,9 +1036,9 @@ export default function OperationApprovalsTable(props) {
pilotList: record.pilotList
});
if (record.droneList || record.pilotList) {
setIsModal(!ismodal);
}
// if (record.droneList || record.pilotList) {
setIsModal(!ismodal);
// }
};
return (

110
src/components/flight/OperationModal.js

@ -20,6 +20,112 @@ export default function OperationModal(props) {
유효성 검사 상세보기
</ModalHeader>
<ModalBody className='onestop-validation'>
<div className='pal-table-warp'>
<h5 className='table-ti'>
<FiFileText />
기체 정보
</h5>
<div className='pal-table'>
<Table responsive>
<thead>
<tr>
<th width='80'>No</th>
<th width='120'>유효성 검사</th>
<th>제작 번호</th>
<th>기체 용도</th>
<th>기체 중량</th>
<th>보험 가입</th>
</tr>
</thead>
<tbody>
<tr>
<td width='80'>1</td>
<td width='120' className='success'>
성공
</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td className='success'>-</td>
</tr>
<tr>
<td width='80'>2</td>
<td width='120' className='success'>
성공
</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td className='success'>-</td>
</tr>
<tr>
<td width='80'>3</td>
<td width='120' className='fail'>
실패
</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td className='fail'>-</td>
</tr>
</tbody>
</Table>
</div>
</div>
<div className='pal-table-warp'>
<h5 className='table-ti'>
<FiUsers />
조종자 정보
</h5>
<div className='pal-table'>
<Table>
<thead>
<tr>
<th width='80'>No</th>
<th width='120'>유효성 검사</th>
<th>이름</th>
<th>생년 월일</th>
<th>자격 번호</th>
<th>조종 자격</th>
</tr>
</thead>
<tbody>
<tr>
<td width='80'>1</td>
<td width='120' className='success'>
성공
</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td className='success'>-</td>
</tr>
<tr>
<td width='80'>2</td>
<td width='120' className='success'>
성공
</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td className='success'>-</td>
</tr>
<tr>
<td width='80'>3</td>
<td width='120' className='fail'>
실패
</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td className='fail'>-</td>
</tr>
</tbody>
</Table>
</div>
</div>
</ModalBody>
{/* <ModalBody className='onestop-validation'>
<div className='pal-table-warp'>
<h5 className='table-ti'>
<FiFileText />
@ -100,7 +206,7 @@ export default function OperationModal(props) {
<td width='120' className='fail'>
실패
</td>
<td>*</td>
<td>-</td>
<td>1995****</td>
<td>91-****12</td>
<td className='fail'></td>
@ -109,7 +215,7 @@ export default function OperationModal(props) {
</Table>
</div>
</div>
</ModalBody>
</ModalBody> */}
<ModalFooter>
<Button
color='primary'

Loading…
Cancel
Save