From 3d84eb02f2f9a58324c99e318a758c3c304aace8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Thu, 25 Jul 2024 16:38:35 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9A=B4=ED=95=AD=EA=B3=BC=20=ED=99=95?= =?UTF-8?q?=EC=9E=A5=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=9E=A5=EC=95=A0?= =?UTF-8?q?=EB=AC=BC=EC=A0=9C=ED=95=9C=ED=91=9C=EB=A9=B4=20=EB=AF=B8?= =?UTF-8?q?=ED=91=9C=EC=B6=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flight/OperationApprovalsTable.js | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/src/components/flight/OperationApprovalsTable.js b/src/components/flight/OperationApprovalsTable.js index 85076f96..33788437 100644 --- a/src/components/flight/OperationApprovalsTable.js +++ b/src/components/flight/OperationApprovalsTable.js @@ -173,7 +173,8 @@ export default function OperationApprovalsTable(props) { { title: ( <> - 상세
+ 상세 +
주소 ), @@ -189,7 +190,8 @@ export default function OperationApprovalsTable(props) { { title: ( <> - 장애물
+ 장애물 +
제한 표면 ), @@ -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: ( <> - 중심 좌표
+ 중심 좌표 +
(위도, 경도) ), @@ -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 ? ( ) : ( <>- @@ -707,9 +709,7 @@ export default function OperationApprovalsTable(props) { width: '110px', render: (_, record) => ( ) } @@ -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 : '-' }); });