diff --git a/apps/dm_new/app/(with-layout)/apply/register/page.tsx b/apps/dm_new/app/(with-layout)/apply/register/page.tsx index 80faee50e..038e637f3 100644 --- a/apps/dm_new/app/(with-layout)/apply/register/page.tsx +++ b/apps/dm_new/app/(with-layout)/apply/register/page.tsx @@ -16,7 +16,7 @@ import CandidateSiteModal, { type CandidateSite } from "@/components/CandidateSi import { useDmStore } from "@/app/store"; import type { SdmInfoFormData } from "@/app/store/sdmMng"; import SimilarCaseModal, { type SimilarCaseDetail, type SimilarCaseRow } from "@/app/(landing)/reuse/apply/modal/SimilarCaseModal"; -import type { SubsInfo } from "@/app/store/map/type"; +//import type { SubsInfo } from "@/app/store/map/type"; type PHRange = { min: string; max: string }; @@ -61,7 +61,7 @@ export default function DemandRegisterPage() { const [cand1, setCand1] = useState(""); const [cand2, setCand2] = useState(""); const [cand3, setCand3] = useState(""); - const [candidateList, setCandidateList] = useState([]); + //const [candidateList, setCandidateList] = useState([]); const useTypesData = useDmStore((state) => state.Sdm.useTypesData); const getUseTypesData = useDmStore((state) => state.getUseTypesData); @@ -134,7 +134,7 @@ export default function DemandRegisterPage() { setCand1(list[0]?.ruseUtztnFcltNm || ""); setCand2(list[1]?.ruseUtztnFcltNm || ""); setCand3(list[2]?.ruseUtztnFcltNm || ""); - setCandidateList(list); + //setCandidateList(list); } }; diff --git a/apps/dm_new/app/(with-layout)/apply/status/page.tsx b/apps/dm_new/app/(with-layout)/apply/status/page.tsx index 6fed04c2e..afd1bfd96 100644 --- a/apps/dm_new/app/(with-layout)/apply/status/page.tsx +++ b/apps/dm_new/app/(with-layout)/apply/status/page.tsx @@ -1,11 +1,9 @@ "use client"; -import { useEffect, useMemo, useRef, useState } from "react"; -import SubPageHeader from "@/components/SubPageHeader"; import { useDmStore } from "@/app/store"; import type { DemandCompBizType } from "@/app/store/sdmMng"; -/* import { Textarea } from "@common/components/ui"; -import type { SelectBox } from "@common/business_components/ui"; */ +import SubPageHeader from "@/components/SubPageHeader"; +import { useEffect, useMemo, useRef, useState } from "react"; type TopField = { label: string; key: string, value: string; required?: boolean }; type PairField = { label: string; key: string, value: string }; @@ -140,7 +138,7 @@ export default function DemandStatusPage() { // 수정용 (UI에서 바뀌는 값) const [editData, setEditData] = useState(null); // 원본 백업 (취소용) - /* const [originData, setOriginData] = useState(null); */ + const [originData, setOriginData] = useState(null); // 사용용도 const useTypesData = useDmStore((state) => state.Sdm.useTypesData); const getUseTypesData = useDmStore((state) => state.getUseTypesData); @@ -323,7 +321,7 @@ export default function DemandStatusPage() { onKeyDown={(e) => { if (e.key === "Enter" || e.key === " ") { onSelectSdmInfoStatus(sdmInfoStatus.dmdInfoSn); - } + } }} className={[ "border-t border-neutral-200 outline-none", @@ -355,7 +353,7 @@ export default function DemandStatusPage() {
수요신청 상세현황
- {/* { + { !isEditMode ? ( @@ -392,7 +395,7 @@ export default function DemandStatusPage() {
) - } */} + } {!selectedSdmInfoStatus ? (