|
|
|
@ -69,6 +69,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.applyNo, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -89,6 +90,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.applyDt, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -110,7 +112,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
selector: row => row.areaList[0].zoneNo, |
|
|
|
|
center: true, |
|
|
|
|
sortable: true, |
|
|
|
|
width: '110px', |
|
|
|
|
width: '80px', |
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].zoneNo + '번'; |
|
|
|
|
} |
|
|
|
@ -125,7 +127,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].lat, |
|
|
|
|
center: true, |
|
|
|
|
width: '180px', |
|
|
|
|
width: '110px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
@ -147,6 +149,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].bufferZone, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].bufferZone; |
|
|
|
@ -162,7 +165,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].fltElev, |
|
|
|
|
center: true, |
|
|
|
|
|
|
|
|
|
width: '80px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].fltElev; |
|
|
|
@ -178,7 +181,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
), |
|
|
|
|
selector: row => row.areaList[0].approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
|
|
|
|
|
width: '80px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.areaList[0].approvalCd === 'U' |
|
|
|
@ -240,6 +243,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.applyNo, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
// <>
|
|
|
|
@ -257,6 +261,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.applyDt, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<> |
|
|
|
@ -271,7 +276,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
selector: row => row.zoneNo, |
|
|
|
|
center: true, |
|
|
|
|
sortable: true, |
|
|
|
|
width: '110px', |
|
|
|
|
width: '80px', |
|
|
|
|
cell: row => { |
|
|
|
|
return row.zoneNo + '번'; |
|
|
|
|
} |
|
|
|
@ -279,7 +284,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.lat, |
|
|
|
|
center: true, |
|
|
|
|
width: '180px', |
|
|
|
|
width: '110px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
@ -294,6 +299,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.bufferZone, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.bufferZone; |
|
|
|
@ -302,6 +308,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.fltElev, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.fltElev; |
|
|
|
@ -310,6 +317,7 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
{ |
|
|
|
|
selector: row => row.approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
width: '80px', |
|
|
|
|
sortable: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return row.approvalCd === 'U' |
|
|
|
@ -318,27 +326,28 @@ export default function FlightApprovalsTable(props) {
|
|
|
|
|
? '승인' |
|
|
|
|
: '미승인'; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
selector: row => row.approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
cell: row => { |
|
|
|
|
return ( |
|
|
|
|
<Button |
|
|
|
|
color='flat-dark' |
|
|
|
|
onClick={() => |
|
|
|
|
handlerOpenModal(row.approvalCd, row.fltElev, row.fltElevMax) |
|
|
|
|
} |
|
|
|
|
> |
|
|
|
|
사유보기 |
|
|
|
|
</Button> |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// ,
|
|
|
|
|
// {
|
|
|
|
|
// selector: row => row.approvalCd,
|
|
|
|
|
// center: true,
|
|
|
|
|
// cell: row => {
|
|
|
|
|
// return (
|
|
|
|
|
// <Button
|
|
|
|
|
// color='flat-dark'
|
|
|
|
|
// onClick={() =>
|
|
|
|
|
// handlerOpenModal(row.approvalCd, row.fltElev, row.fltElevMax)
|
|
|
|
|
// }
|
|
|
|
|
// >
|
|
|
|
|
// 사유보기
|
|
|
|
|
// </Button>
|
|
|
|
|
// );
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
, |
|
|
|
|
{ |
|
|
|
|
selector: row => row.approvalCd, |
|
|
|
|
center: true, |
|
|
|
|
width: '120px', |
|
|
|
|
cell: row => { |
|
|
|
|
return '-'; |
|
|
|
|
} |
|
|
|
|