Browse Source

운항과 확장테이블 장애물제한표면 미표출 수정

master
이준희 2 months ago
parent
commit
3d84eb02f2
  1. 33
      src/components/flight/OperationApprovalsTable.js

33
src/components/flight/OperationApprovalsTable.js

@ -173,7 +173,8 @@ export default function OperationApprovalsTable(props) {
{
title: (
<>
상세<br />
상세
<br />
주소
</>
),
@ -189,7 +190,8 @@ export default function OperationApprovalsTable(props) {
{
title: (
<>
장애물<br />
장애물
<br />
제한 표면
</>
),
@ -197,13 +199,19 @@ export default function OperationApprovalsTable(props) {
width: '100px',
align: 'center',
render: areaList => {
return areaList.length <= 1 ? areaList[0].limitZoneNm : '-';
return areaList.length <= 1
? areaList[0]?.limitZoneNm
? areaList[0]?.limitZoneNm
: '-'
: '-';
// return areaList.length <= 1 ? areaList[0].limitZoneNm : '-';
}
},
{
title: (
<>
중심 좌표<br />
중심 좌표
<br />
(위도, 경도)
</>
),
@ -301,11 +309,7 @@ export default function OperationApprovalsTable(props) {
},
{
title: (
<>
비행 목적
</>
),
title: <>비행 목적</>,
dataIndex: 'areaList',
align: 'center',
width: '110px',
@ -487,9 +491,7 @@ export default function OperationApprovalsTable(props) {
render: (areaList, record) =>
areaList.length <= 1 ? (
<Button color='flat-dark' onClick={() => handleIsModal(record)}>
<>
상세보기
</>
<>상세보기</>
</Button>
) : (
<>-</>
@ -707,9 +709,7 @@ export default function OperationApprovalsTable(props) {
width: '110px',
render: (_, record) => (
<Button color='flat-dark' onClick={() => handleIsModal(record)}>
<>
상세보기
</>
<>상세보기</>
</Button>
)
}
@ -742,7 +742,8 @@ export default function OperationApprovalsTable(props) {
planSno: item.planSno,
addr1: item.addr1,
addr2: item.addr2,
addr3: item.addr3
addr3: item.addr3,
limitZoneNm: item?.limitZoneNm ? item?.limitZoneNm : '-'
});
});

Loading…
Cancel
Save