From b497292d0f296dd264a6a7326262a149ad552264 Mon Sep 17 00:00:00 2001 From: jyha00 Date: Mon, 14 Jul 2025 14:24:05 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=98=EC=88=98=EC=9E=AC=EC=9D=B4=EC=9A=A9?= =?UTF-8?q?=EC=8B=A4=EC=A0=81=EB=93=B1=EB=A1=9D=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EB=B9=8C=EB=93=9C=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../prfmncReg/pbnstPrfmncReg/page.tsx | 45 +++++++++---------- 1 file changed, 21 insertions(+), 24 deletions(-) diff --git a/apps/wr/app/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx b/apps/wr/app/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx index 3e624ba65..bb49cb56a 100644 --- a/apps/wr/app/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx +++ b/apps/wr/app/ruseFcltMng/prfmncReg/pbnstPrfmncReg/page.tsx @@ -1,19 +1,28 @@ "use client"; import { useWrStore } from "@/app/store"; -import type { pubHasuType } from "@/app/store/ruseFcltMng/fcltReg/pbnstReg/type"; +import { excelToPbnPrfData } from "@/app/store/prfmncReg/pbnstPrfmncReg/excel"; +import { + initValInUsage, + initValOutUsage, + subTotalObj, + totalObj, + type FcPrfType, + type PrfType, +} from "@/app/store/prfmncReg/pbnstPrfmncReg/type"; import { confirmToast, excelDownload, yearOptions } from "@/components/lib/func/commom"; +import { InputTableBody } from "@/components/lib/func/TableData"; import PbnPrfExcelModal from "@/components/ui/modal/chkgd/pbnPrfExcelModal/pbnPrfExcelModal"; import { ContentsDiv, - Title, + ScrollArea, SearchDiv, SearchFormLeft, - SelectBox, - SearchInput, SearchFormRight, - ScrollArea, - UiTable, + SearchInput, + SelectBox, + Title, UiModal, + UiTable, } from "@common/business_components/ui"; import ListDiv from "@common/business_components/ui/list_div"; import { @@ -23,24 +32,13 @@ import { TableBody, TableHeader, } from "@common/components/ui"; -import { useState, useEffect, useCallback } from "react"; -import { set } from "react-hook-form"; +import { useCallback, useEffect, useState } from "react"; import toast, { Toaster } from "react-hot-toast"; -import { headMakeprfmnc } from "../chkgdnReg/TableHead"; -import { InputTableBody } from "@/components/lib/func/TableData"; -import { - initValInUsage, - initValOutUsage, - subTotalObj, - totalObj, - type FcPrfType, - type PrfType, -} from "@/app/store/prfmncReg/pbnstPrfmncReg/type"; -import { excelToPbnPrfData } from "@/app/store/prfmncReg/pbnstPrfmncReg/excel"; import { useTranslation } from "react-i18next"; +import { headMakeprfmnc } from "../chkgdnReg/TableHead"; -export default function prfmncPrfmncReg() { - const { code, prfmnc, prfmncHasuInit, prfmnRegData, prfmncHasuNmSearch } = useWrStore( +export default function PrfmncPrfmncReg() { + const { prfmnc, prfmncHasuInit, prfmnRegData, prfmncHasuNmSearch } = useWrStore( (state) => state ); const { pbnstPrfmncHeadList, monthHeadList, prfmncRes, prfmncResCount } = prfmnc; @@ -243,7 +241,7 @@ export default function prfmncPrfmncReg() {
-