From 0e5acca5308e9e7e5cb1d0f29daad31e8d4235f2 Mon Sep 17 00:00:00 2001 From: sanguu516 Date: Mon, 10 Jun 2024 10:13:06 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=A0=EC=A7=9C=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/flight/FlightApprovalsTable.js | 26 +++++-------------- 1 file changed, 6 insertions(+), 20 deletions(-) diff --git a/src/components/flight/FlightApprovalsTable.js b/src/components/flight/FlightApprovalsTable.js index 21419675..ff132a3d 100644 --- a/src/components/flight/FlightApprovalsTable.js +++ b/src/components/flight/FlightApprovalsTable.js @@ -323,23 +323,6 @@ export default function FlightApprovalsTable(props) { : '미승인'; } }, - // , - // { - // selector: row => row.approvalCd, - // center: true, - // cell: row => { - // return ( - // - // ); - // } - // } { selector: row => row.approvalCd, center: true, @@ -354,6 +337,7 @@ export default function FlightApprovalsTable(props) { handlerOpenModal(row.approvalCd, row.fltElev, row.fltElevMax); props.handlerDetail(row); }; + // 테이블 행 클릭 이벤트 const handleRowClick = row => { handlerOpenModal( @@ -362,7 +346,6 @@ export default function FlightApprovalsTable(props) { row.areaList[0].fltElevMax ); props.handlerDetail(row.areaList[0]); - // 여기에 클릭 이벤트를 처리하는 코드를 작성하세요. }; // 데이터 테이블 내부 컴포넌트 @@ -425,8 +408,11 @@ export default function FlightApprovalsTable(props) {

비행승인 신청 검토결과 목록

- {formatDate(props.startDate)} 총{' '} - {approvalCdValue.S + approvalCdValue.F + approvalCdValue.U}건 + {formatDate(props.startDate)} + {props.endDate && props.startDate != props.endDate + ? '~' + formatDate(props.endDate) + ' ' + : null} + 총 {approvalCdValue.S + approvalCdValue.F + approvalCdValue.U} 건