|
|
|
@ -48,7 +48,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.applyNo, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -69,7 +69,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.applyDt, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -91,7 +91,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
selector: row => row.areaList[0].zoneNo, |
|
|
|
|
center: true, |
|
|
|
|
// sortable: true,
|
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].zoneNo + '번'; |
|
|
|
|
} |
|
|
|
@ -106,7 +106,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].lat, |
|
|
|
|
center: true, |
|
|
|
|
width: '110px', |
|
|
|
|
width: '101px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -127,7 +127,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].bufferZone, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
// sortable: true,
|
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].bufferZone; |
|
|
|
@ -143,7 +143,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].fltElev, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
// sortable: true,
|
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].fltElev; |
|
|
|
@ -159,7 +159,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
// sortable: true,
|
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].approvalCd === 'U' |
|
|
|
@ -174,11 +174,11 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
name: '더보기', |
|
|
|
|
selector: row => row.areaList, |
|
|
|
|
center: true, |
|
|
|
|
width: '85px', |
|
|
|
|
width: '86px', |
|
|
|
|
cell: row => |
|
|
|
|
row.areaList.length > 1 ? ( |
|
|
|
|
<Button color='flat-dark' onClick={() => toggleRow(row.planSno)}> |
|
|
|
|
{row.areaList.length - 1}건 더 보기 |
|
|
|
|
{row.areaList.length - 1}건<br /> 더 보기 |
|
|
|
|
{expandedRows[row.planSno] ? <FaAngleDown /> : <FaAngleUp />} |
|
|
|
|
</Button> |
|
|
|
|
) : ( |
|
|
|
@ -192,7 +192,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.applyNo, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -206,7 +206,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.applyDt, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -221,7 +221,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
selector: row => row.zoneNo, |
|
|
|
|
center: true, |
|
|
|
|
sortable: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
cell: row => { |
|
|
|
|
return row.zoneNo + '번'; |
|
|
|
|
} |
|
|
|
@ -229,7 +229,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.lat, |
|
|
|
|
center: true, |
|
|
|
|
width: '110px', |
|
|
|
|
width: '101px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
@ -244,7 +244,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.bufferZone, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.bufferZone; |
|
|
|
@ -253,7 +253,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.fltElev, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.fltElev; |
|
|
|
@ -262,7 +262,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
width: '71px', |
|
|
|
|
width: '68px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.approvalCd === 'U' |
|
|
|
@ -275,7 +275,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
width: '85px', |
|
|
|
|
width: '86px', |
|
|
|
|
cell: row => { |
|
|
|
|
return '-'; |
|
|
|
|
} |
|
|
|
|