From 675a3583b7d93bbb76371b8935ccd7173af8556a Mon Sep 17 00:00:00 2001 From: truthwing Date: Tue, 22 Apr 2025 17:30:23 +0900 Subject: [PATCH] =?UTF-8?q?=EC=97=91=EC=85=80=20=ED=81=B4=EB=A6=AD=20?= =?UTF-8?q?=EC=9D=B4=EB=B2=A4=ED=8A=B8=EB=8F=84=20=EC=B6=94=EA=B0=80.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/ui/search_base_form/index.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/common/business_components/src/ui/search_base_form/index.tsx b/packages/common/business_components/src/ui/search_base_form/index.tsx index da21761ee..372a52695 100644 --- a/packages/common/business_components/src/ui/search_base_form/index.tsx +++ b/packages/common/business_components/src/ui/search_base_form/index.tsx @@ -40,6 +40,7 @@ function SearchBaseForm ({ selectEnvPartData, btnClass, queryClick, + excelClick }: SearchBaseType) { const [partValue, setPartValue] = useState("0"); const [sidoValue, setSidoValue] = useState("0"); @@ -76,6 +77,17 @@ function SearchBaseForm ({ const excelDownload = useCallback(() => { console.log("엑셀다운로드 클릭"); console.log(partValue, sidoValue, sigunValue, regionValue, untitWaterShedValue, middleRegionValue, envPartValue, envPartSidoValue, envPartSigunValue); + excelClick({ + partValue: partValue, + sidoValue: sidoValue, + sigunValue: sigunValue, + regionValue: regionValue, + unitWaterShedValue: untitWaterShedValue, + middleRegionValue: middleRegionValue, + envPartValue: envPartValue, + envPartSidoValue: envPartSidoValue, + envPartSigunValue: envPartSigunValue, + }) }, [partValue, sidoValue, sigunValue, regionValue, untitWaterShedValue, middleRegionValue, envPartValue, envPartSidoValue, envPartSigunValue]); // useEffect(() => { // if (ref && ref.current) {