빗물 작업중

This commit is contained in:
leedj312
2025-06-24 10:05:58 +09:00
parent 5b48dcaeaa
commit 90d6f41526
4 changed files with 8 additions and 12 deletions
@@ -40,7 +40,7 @@ export default function Home() {
useEffect(() => {
if (!htdfl.isInit) {
initHtdfl('41');
initHtdfl('0');
}
}, [htdfl.isInit, initHtdfl]);
@@ -82,7 +82,7 @@ export default function Home() {
setBdstChgProps({ isOpen: true, chgBuilding: chgBuilding });
};
useEffect(() => {
getHtdflBdstData(pageNation, "41");
getHtdflBdstData(pageNation, "0");
}, [pageNation]);
return (
@@ -72,7 +72,6 @@ export default function Page() {
if (!rainChkgdn.isInit) {
rainChkInit(new Date().getFullYear().toString(), "0");
isRainSttn(false)
setIsModal({ data: {}, open: false });
setIsRegExcel(false);
}
@@ -78,14 +78,13 @@ const irvwHistInit = async (
pageCnt: number,
startYear: string,
endYear: string,
sggCd?: string
) => {
let url = `/reuseFc/request/infoList/matched/${pageNo}/${pageCnt}/${startYear}/${endYear}`;
console.log("sggCd ", sggCd);
if (sggCd) {
url += `/${sggCd}`;
}
// console.log("sggCd ", sggCd);
// if (sggCd) {
// url += `/${sggCd}`;
// }
const rvwHistRes = await getFetch(fetchType.WR, url);
@@ -108,7 +107,7 @@ export const ruseHstryActionsExport: (set: any) => ruseHstryActions = (
pageCnt,
startYear,
endYear,
sggCd
// sggCd
);
return set((state: ruseHstryState) => ({
@@ -135,7 +134,6 @@ export const ruseHstryActionsExport: (set: any) => ruseHstryActions = (
10,
new Date().getFullYear().toString(),
new Date().getFullYear().toString(),
"0"
);
return set((state: ruseHstryState) => ({
...state,
@@ -225,8 +223,6 @@ export const ruseHstryActionsExport: (set: any) => ruseHstryActions = (
10,
new Date().getFullYear().toString(),
new Date().getFullYear().toString(),
"0",
'0'
);
}
} catch (e) {
@@ -147,6 +147,7 @@ export default function RainRegForm({
? new Date(field.value)
: new Date(), // Provide a default Date value
onChange: (date) => field.onChange(date),
}}
selectClass={"w-full"}
/>