From 1324ad6f76c230c079962e59dec7636ee5831167 Mon Sep 17 00:00:00 2001 From: JANGHYUNn Date: Thu, 25 Jul 2024 12:04:25 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=EC=8A=B9=EC=9D=B8=20?= =?UTF-8?q?=ED=95=9C=EA=B8=80,=20pdf=20=EB=8B=A4=EC=9A=B4=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=20=EC=88=98=EC=A0=95(=ED=8C=8C=EB=9D=BC=EB=AF=B8?= =?UTF-8?q?=ED=84=B0=20=EC=A0=9C=EA=B1=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/flight/ControlApprovalsTable.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/components/flight/ControlApprovalsTable.js b/src/components/flight/ControlApprovalsTable.js index a2b5e2af..062b67ad 100644 --- a/src/components/flight/ControlApprovalsTable.js +++ b/src/components/flight/ControlApprovalsTable.js @@ -1017,19 +1017,11 @@ export default function ControlApprovalsTable(props) { try { const fileDetails = { pdf: { - url: `${HOST}api/bas/dos/plan/download/han-com?searchStDt=${ - props.startDate - }&searchEndDt=${props.endDate}&selectZone=${props.filterArea}${ - props.filterId ? '&approvalCd=${props.filterId}' : '' - }`, + url: `${HOST}api/bas/dos/plan/download/han-com?searchStDt=${props.startDate}&searchEndDt=${props.endDate}`, name: '비행승인 관련 검토결과.hwp' }, excel: { - url: `${HOST}api/bas/dos/plan/download/excel?searchStDt=${ - props.startDate - }&searchEndDt=${props.endDate}&selectZone=${props.filterArea}${ - props.filterId ? '&approvalCd=${props.filterId}' : '' - }`, + url: `${HOST}api/bas/dos/plan/download/excel?searchStDt=${props.startDate}&searchEndDt=${props.endDate}`, name: '비행승인 검토.xlsx' } }; @@ -1232,7 +1224,7 @@ export default function ControlApprovalsTable(props) {
- {formatDate(props.startDate)} + {`${formatDate(props.startDate)} `} {props.endDate && props.startDate !== props.endDate ? '~' + formatDate(props.endDate) + ' ' : null}