|
|
@ -48,7 +48,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
), |
|
|
|
), |
|
|
|
selector: row => row.applyNo, |
|
|
|
selector: row => row.applyNo, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
@ -69,7 +69,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
), |
|
|
|
), |
|
|
|
selector: row => row.applyDt, |
|
|
|
selector: row => row.applyDt, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
@ -91,7 +91,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
selector: row => row.areaList[0].zoneNo, |
|
|
|
selector: row => row.areaList[0].zoneNo, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
// sortable: true,
|
|
|
|
// sortable: true,
|
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.areaList[0].zoneNo + '번'; |
|
|
|
return row.areaList[0].zoneNo + '번'; |
|
|
|
} |
|
|
|
} |
|
|
@ -107,7 +107,6 @@ export default function FlightApprovalsTable(props) { |
|
|
|
selector: row => row.areaList[0].lat, |
|
|
|
selector: row => row.areaList[0].lat, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '110px', |
|
|
|
width: '110px', |
|
|
|
// sortable: true,
|
|
|
|
|
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
@ -128,7 +127,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
), |
|
|
|
), |
|
|
|
selector: row => row.areaList[0].bufferZone, |
|
|
|
selector: row => row.areaList[0].bufferZone, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
// sortable: true,
|
|
|
|
// sortable: true,
|
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.areaList[0].bufferZone; |
|
|
|
return row.areaList[0].bufferZone; |
|
|
@ -144,7 +143,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
), |
|
|
|
), |
|
|
|
selector: row => row.areaList[0].fltElev, |
|
|
|
selector: row => row.areaList[0].fltElev, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
// sortable: true,
|
|
|
|
// sortable: true,
|
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.areaList[0].fltElev; |
|
|
|
return row.areaList[0].fltElev; |
|
|
@ -160,7 +159,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
), |
|
|
|
), |
|
|
|
selector: row => row.areaList[0].approvalCd, |
|
|
|
selector: row => row.areaList[0].approvalCd, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
// sortable: true,
|
|
|
|
// sortable: true,
|
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.areaList[0].approvalCd === 'U' |
|
|
|
return row.areaList[0].approvalCd === 'U' |
|
|
@ -175,7 +174,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
name: '더보기', |
|
|
|
name: '더보기', |
|
|
|
selector: row => row.areaList, |
|
|
|
selector: row => row.areaList, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '120px', |
|
|
|
width: '85px', |
|
|
|
cell: row => |
|
|
|
cell: row => |
|
|
|
row.areaList.length > 1 ? ( |
|
|
|
row.areaList.length > 1 ? ( |
|
|
|
<Button color='flat-dark' onClick={() => toggleRow(row.planSno)}> |
|
|
|
<Button color='flat-dark' onClick={() => toggleRow(row.planSno)}> |
|
|
@ -193,7 +192,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: row => row.applyNo, |
|
|
|
selector: row => row.applyNo, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
@ -207,7 +206,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: row => row.applyDt, |
|
|
|
selector: row => row.applyDt, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<> |
|
|
|
<> |
|
|
@ -222,7 +221,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
selector: row => row.zoneNo, |
|
|
|
selector: row => row.zoneNo, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.zoneNo + '번'; |
|
|
|
return row.zoneNo + '번'; |
|
|
|
} |
|
|
|
} |
|
|
@ -245,7 +244,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: row => row.bufferZone, |
|
|
|
selector: row => row.bufferZone, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.bufferZone; |
|
|
|
return row.bufferZone; |
|
|
@ -254,7 +253,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: row => row.fltElev, |
|
|
|
selector: row => row.fltElev, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.fltElev; |
|
|
|
return row.fltElev; |
|
|
@ -263,7 +262,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: row => row.approvalCd, |
|
|
|
selector: row => row.approvalCd, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
width: '80px', |
|
|
|
width: '71px', |
|
|
|
sortable: true, |
|
|
|
sortable: true, |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return row.approvalCd === 'U' |
|
|
|
return row.approvalCd === 'U' |
|
|
@ -276,6 +275,7 @@ export default function FlightApprovalsTable(props) { |
|
|
|
{ |
|
|
|
{ |
|
|
|
selector: row => row.approvalCd, |
|
|
|
selector: row => row.approvalCd, |
|
|
|
center: true, |
|
|
|
center: true, |
|
|
|
|
|
|
|
width: '85px', |
|
|
|
cell: row => { |
|
|
|
cell: row => { |
|
|
|
return '-'; |
|
|
|
return '-'; |
|
|
|
} |
|
|
|
} |
|
|
@ -428,9 +428,15 @@ export default function FlightApprovalsTable(props) { |
|
|
|
<div className='search-case-list'> |
|
|
|
<div className='search-case-list'> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<ul> |
|
|
|
<ul> |
|
|
|
<li className='approval'>승인 {approvalCdValue.S}건</li> |
|
|
|
<li className='approval' style={{ cursor: 'pointer' }}> |
|
|
|
<li className='not-approved'>미승인 {approvalCdValue.F}건</li> |
|
|
|
승인 {approvalCdValue.S}건 |
|
|
|
<li className='non-target'>비대상 {approvalCdValue.U}건</li> |
|
|
|
</li> |
|
|
|
|
|
|
|
<li className='not-approved' style={{ cursor: 'pointer' }}> |
|
|
|
|
|
|
|
미승인 {approvalCdValue.F}건 |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
<li className='non-target' style={{ cursor: 'pointer' }}> |
|
|
|
|
|
|
|
비대상 {approvalCdValue.U}건 |
|
|
|
|
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|