diff --git a/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx b/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx
index 6001d8827..a64c57364 100644
--- a/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx
+++ b/apps/wr/app/(with-layout)/matMng/coMat/ruseCaseMng/page.tsx
@@ -321,8 +321,12 @@ export default function RuseCaseMng() {
}}
resetPageNo={resetPage}
/>
+
+ ☞ 본 사례의 사업비는 재원협의 단계의 정보이므로, 최종확정된 비용이 아닙니다.
+
+
diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx
index e460aa31e..f6d83e29c 100644
--- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx
+++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltReg/pbnstReg/page.tsx
@@ -1,3 +1,19 @@
+/**
+ * 재이용시설 등록 - 하수재이용 시설등록
+ *
+ * - layout.tsx에 의해 공통 레이아웃이 적용됨
+ * - with-layout 적용
+ * - 하수처리시설에 하수재이용 시설을 등록 한다.
+ * - form으로 시설정보 및 차수별 정보의 컴포넌트 데이터를 관리한다
+ * indexMng: 시설정보
+ * indexBiz: 차수별 정보
+ * 로 하수재이용 시설에 등록된 시설 및 차수별 정보를 관리한다.
+ * 🔗 사용 API
+ * 하수재이용시설을 등록 /reuseFc/pubFc
+ * 첨부파일 삭제 /attach-service/api/v1/atfl/attachments/atflCd//
+ * 첨부파일 다운로드 /attach-service/api/v1/atflcd/download/
+ * */
+
"use client";
import {
ContentsDiv,
@@ -35,22 +51,6 @@ import { zodResolver } from "@hookform/resolvers/zod";
import { z } from "zod";
import { createDefaultPbnstItem } from "./utilsZod";
import { useTranslation } from "react-i18next";
-/**
- * 재이용시설 등록 - 하수재이용 시설등록
- *
- * - layout.tsx에 의해 공통 레이아웃이 적용됨
- * - with-layout 적용
- * - 하수처리시설에 하수재이용 시설을 등록 한다.
- * - form으로 시설정보 및 차수별 정보의 컴포넌트 데이터를 관리한다
- * indexMng: 시설정보
- * indexBiz: 차수별 정보
- * 로 하수재이용 시설에 등록된 시설 및 차수별 정보를 관리한다.
- * 🔗 사용 API
- * 하수재이용시설을 등록 /reuseFc/pubFc
- * 첨부파일 삭제 /attach-service/api/v1/atfl/attachments/atflCd//
- * 첨부파일 다운로드 /attach-service/api/v1/atflcd/download/
- * */
-
export default function PublicReuseFaciltyInsert() {
const {
auth,
@@ -108,7 +108,7 @@ export default function PublicReuseFaciltyInsert() {
useEffect(() => {
if (useInitRef.current == true && laeSeCd !== undefined) {
- pubHasuInit("1", laeSeCd);
+ pubHasuInit("1", laeSeCd); //page: string, sggOrCity: string
}
}, [useInitRef.current, laeSeCd]);
diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx
index beaa71569..ea4b49924 100644
--- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx
+++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/htdflSttn/page.tsx
@@ -1,5 +1,7 @@
+/**
+ * 온배수시설 현황
+ */
"use client";
-
import { useWrStore } from "@/app/store";
import { btnClass } from "@/app/store/common/code";
import type {
@@ -34,11 +36,9 @@ import toast, { Toaster } from "react-hot-toast";
import { useTranslation } from "react-i18next";
export default function HtdflSttn() {
- const { code, htdflSttn, htdflSttnSearch, initHtdfl } = useWrStore(
- (state) => state
- );
+ const { auth, code, htdflSttn, htdflSttnSearch, initHtdfl } = useWrStore((state) => state);
+ const { laeSeCd } = auth; // 지자체구분코드
const { htdflSttnRes, htdflSttnResCount } = htdflSttn;
-
const isDownloadTriggered = useRef(false);
const { t } = useTranslation('base');
const [pageNation, setPageNation] = useState(1);
@@ -57,6 +57,7 @@ export default function HtdflSttn() {
// }>({ isOpen: false, chBuilding: [] });
const [fcltNm, setFcltNm] = useState("");
+ console.log("laeSeCd : ", laeSeCd);
useEffect(() => {
htdflSttnSearch(false, pageNation, htdflSttnSize, String(getConValue()), fcltNm, code.cityCd, code.sggCd);
isResetPage(false)
diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx
index ca0b04f31..2a2340253 100644
--- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx
+++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/pbnstSttn/page.tsx
@@ -1,3 +1,12 @@
+/**
+ * 하수재이용 시설 현황
+ * 재이용시설 현황 - 하수재이용시설 현황
+ * - layout.tsx에 의해 공통 레이아웃이 적용됨
+ * - with-layout 적용
+ * 하수처리시설. 하수재이용시설 , 하수재이용시설 실적에 대한 정보를 확인한다.
+ * 모달 : 테이블의 헤더를 원하는대로 조절해서 볼수 있다.
+ * 클릭시 해당 재이용ㅇ
+ * */
"use client";
import { useWrStore } from "@/app/store";
import { btnClass } from "@/app/store/common/code";
@@ -24,15 +33,7 @@ import { useCallback, useEffect, useRef, useState } from "react";
import toast, { Toaster } from "react-hot-toast";
import { useTranslation } from "react-i18next";
-/**
- * 하수재이용 시설 현황
- * 재이용시설 현황 - 하수재이용시설 현황
- * - layout.tsx에 의해 공통 레이아웃이 적용됨
- * - with-layout 적용
- * 하수처리시설. 하수재이용시설 , 하수재이용시설 실적에 대한 정보를 확인한다.
- * 모달 : 테이블의 헤더를 원하는대로 조절해서 볼수 있다.
- * 클릭시 해당 재이용ㅇ
- * */
+
export default function PbnstSttn() {
const {
code,
diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx
index f5ec6e8c8..46f1fa0c4 100644
--- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx
+++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rainSttn/page.tsx
@@ -1,3 +1,6 @@
+/**
+ * 빗물재이용시설 현황
+ */
"use client";
import { useWrStore } from "@/app/store";
import { btnClass } from "@/app/store/common/code";
diff --git a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx
index 7cb81d209..268ef8a35 100644
--- a/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx
+++ b/apps/wr/app/(with-layout)/ruseFcltMng/fcltSttn/rswtSttn/page.tsx
@@ -1,3 +1,6 @@
+/**
+ * 중수도시설 현황
+ */
"use client";
import { useWrStore } from "@/app/store";
import { btnClass } from "@/app/store/common/code";
diff --git a/apps/wr/app/store/common/auth/index.tsx b/apps/wr/app/store/common/auth/index.tsx
index 7b647d5e7..209b1fb8a 100644
--- a/apps/wr/app/store/common/auth/index.tsx
+++ b/apps/wr/app/store/common/auth/index.tsx
@@ -10,7 +10,7 @@ export type authState = {
regAuthrtYn: string;
mdfcnAuthrtYn: string;
delAuthrtYn: string;
- laeSeCd: string;
+ laeSeCd: string; // 지자체구분코드
myUUID?: string;
};
};
@@ -72,6 +72,7 @@ export const authActionsExport: (set: any, get: any) => authActions = (
return;
}
const infoMe = await getUserInfo();
+ console.log(infoMe);
const isLaeSeCd =
infoMe.laeSeCd.slice(0, 2) === "G3" ? infoMe.laeSeCd.slice(2) : "0";
diff --git a/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/index.tsx b/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/index.tsx
index b1e0daf82..d595a0624 100644
--- a/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/index.tsx
+++ b/apps/wr/app/store/ruseFcltMng/fcltReg/pbnstReg/index.tsx
@@ -118,7 +118,7 @@ const hasuListFetch = async (
if (searchTxt) {
url = url + `/${searchTxt}`;
}
- const rainRes = await postFectch(url, data, fetchType.COMMON);
+ const rainRes = await postFectch(url, data, fetchType.COMMON); // fo
const hasuList = rainRes.data.map((item: any) => {
return {
@@ -176,7 +176,7 @@ export const pubFacActionsExport: (set: any) => pubFacActions = (set: any) => {
// 하수처리시설을 조회한다(운영실태)
pubHasuInit: async (page: string, sggOrCity: string) => {
try {
- const pbnstHasuRes = await hasuListFetch(page, sggOrCity);
+ const pbnstHasuRes = await hasuListFetch(page, sggOrCity); // /prcsFclt/ruseInfo
return set((state: pubFacState) => ({
...state,
pbnst: {