|
|
@ -3,7 +3,7 @@ import {Button, Card, CardBody, Col, CustomInput, Row, FormGroup, Input, Label} |
|
|
|
import {Search} from 'react-feather'; |
|
|
|
import {Search} from 'react-feather'; |
|
|
|
import {GridDatabase} from '../../../crud/grid/GridDatatable'; |
|
|
|
import {GridDatabase} from '../../../crud/grid/GridDatatable'; |
|
|
|
|
|
|
|
|
|
|
|
const FlightPlanPilot = ({ pilotList, handleSelectPilot }) => { |
|
|
|
const FlightPlanPilot = ({ pilotList, handleSelectPilot, returnPilot, onClickEvent, setInputVal }) => { |
|
|
|
const columns = [ |
|
|
|
const columns = [ |
|
|
|
{id: 'groupNm', name: '그룹 명', cell: row => (<div>{row.groupNm}</div>)}, |
|
|
|
{id: 'groupNm', name: '그룹 명', cell: row => (<div>{row.groupNm}</div>)}, |
|
|
|
{id: 'memberName', name: '성명', cell: row => (<div>{row.memberName}</div>)}, |
|
|
|
{id: 'memberName', name: '성명', cell: row => (<div>{row.memberName}</div>)}, |
|
|
@ -33,7 +33,7 @@ const FlightPlanPilot = ({ pilotList, handleSelectPilot }) => { |
|
|
|
<Button.Ripple |
|
|
|
<Button.Ripple |
|
|
|
color='primary' |
|
|
|
color='primary' |
|
|
|
size='sm' |
|
|
|
size='sm' |
|
|
|
// onClick={handleClickSearch}
|
|
|
|
onClick={onClickEvent} |
|
|
|
> |
|
|
|
> |
|
|
|
<Search size={16}/> |
|
|
|
<Search size={16}/> |
|
|
|
검색 |
|
|
|
검색 |
|
|
@ -57,7 +57,7 @@ const FlightPlanPilot = ({ pilotList, handleSelectPilot }) => { |
|
|
|
id='memberName' |
|
|
|
id='memberName' |
|
|
|
name='memberName' |
|
|
|
name='memberName' |
|
|
|
// value={props.params.groupNm}
|
|
|
|
// value={props.params.groupNm}
|
|
|
|
// onChange={props.handlerInput}
|
|
|
|
onChange={(e) => {setInputVal(e.target.value)}} |
|
|
|
bsSize='sm' |
|
|
|
bsSize='sm' |
|
|
|
// onKeyPress={props.onKeyPress}
|
|
|
|
// onKeyPress={props.onKeyPress}
|
|
|
|
placeholder='성명을 입력하세요' |
|
|
|
placeholder='성명을 입력하세요' |
|
|
@ -82,7 +82,7 @@ const FlightPlanPilot = ({ pilotList, handleSelectPilot }) => { |
|
|
|
<div className='cont-ti d-flex justify-content-between align-items-sm-center align-items-start flex-sm-row'> |
|
|
|
<div className='cont-ti d-flex justify-content-between align-items-sm-center align-items-start flex-sm-row'> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<h4>조종사 목록</h4> |
|
|
|
<h4>조종사 목록</h4> |
|
|
|
<span className='search-case'>검색결과 총 {!!pilotList ? pilotList.length : 0}건</span> |
|
|
|
<span className='search-case'>검색결과 총 {!!returnPilot ? [returnPilot].length : 0}건</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className='d-flex align-items-center'></div> |
|
|
|
<div className='d-flex align-items-center'></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -90,8 +90,8 @@ const FlightPlanPilot = ({ pilotList, handleSelectPilot }) => { |
|
|
|
<Card> |
|
|
|
<Card> |
|
|
|
<div className='invoice-list-dataTable'> |
|
|
|
<div className='invoice-list-dataTable'> |
|
|
|
<GridDatabase
|
|
|
|
<GridDatabase
|
|
|
|
data={pilotList} |
|
|
|
data={[returnPilot]} |
|
|
|
count={pilotList ? pilotList.length : 0} |
|
|
|
count={returnPilot ? [returnPilot].length : 0} |
|
|
|
columns={columns} |
|
|
|
columns={columns} |
|
|
|
// pagination={props.pagination}
|
|
|
|
// pagination={props.pagination}
|
|
|
|
/> |
|
|
|
/> |
|
|
|