diff --git a/claudedocs/[REF] construction-pages-test-urls.md b/claudedocs/[REF] construction-pages-test-urls.md new file mode 100644 index 00000000..be60f13a --- /dev/null +++ b/claudedocs/[REF] construction-pages-test-urls.md @@ -0,0 +1,66 @@ +# Juil Enterprise Test URLs +Last Updated: 2026-01-05 + +### 대시보드 +| 페이지 | URL | 상태 | +|---|---|---| +| **메인 대시보드** | `/ko/construction/dashboard` | ✅ 완료 | + +## 프로젝트 관리 (Project) +### 메인 +| 페이지 | URL | 상태 | +|---|---|---| +| **프로젝트 관리 메인** | `/ko/construction/project` | 🚧 구조잡기 | + +### 입찰관리 (Bidding) +| 페이지 | URL | 상태 | +|---|---|---| +| **거래처 관리** | `/ko/construction/project/bidding/partners` | ✅ 완료 | +| **현장설명회관리** | `/ko/construction/project/bidding/site-briefings` | ✅ 완료 | +| **견적관리** | `/ko/construction/project/bidding/estimates` | ✅ 완료 | +| **입찰관리** | `/ko/construction/project/bidding` | ✅ 완료 | + +### 계약관리 (Contract) +| 페이지 | URL | 상태 | +|---|---|---| +| **계약관리** | `/ko/construction/project/contract` | 🆕 NEW | +| **인수인계보고서관리** | `/ko/construction/project/contract/handover-report` | 🆕 NEW | + +### 발주관리 (Order) +| 페이지 | URL | 상태 | +|---|---|---| +| **현장관리** | `/ko/construction/order/site-management` | 🆕 NEW | +| **구조검토관리** | `/ko/construction/order/structure-review` | 🆕 NEW | +| **발주관리** | `/ko/construction/order/order-management` | 🆕 NEW | + +### 기준정보 (Base Info) - 발주관리 하위 +| 페이지 | URL | 상태 | +|---|---|---| +| **카테고리관리** | `/ko/construction/order/base-info/categories` | 🆕 NEW | +| **품목관리** | `/ko/construction/order/base-info/items` | 🆕 NEW | +| **단가관리** | `/ko/construction/order/base-info/pricing` | 🆕 NEW | +| **노임관리** | `/ko/construction/order/base-info/labor` | 🆕 NEW | + +## 공사 관리 (Construction) +### 인수인계 / 실측 / 발주 / 시공 +| 페이지 | URL | 상태 | +|---|---|---| +| **공사 관리 메인** | `/ko/construction/construction` | 🚧 구조잡기 | + +## 현장 작업 (Field) +### 할당 / 인력 / 근태 / 보고 +| 페이지 | URL | 상태 | +|---|---|---| +| **현장 작업 메인** | `/ko/construction/field` | 🚧 구조잡기 | + +## 기성/정산 (Finance) +### 기성 / 변경계약 / 정산 +| 페이지 | URL | 상태 | +|---|---|---| +| **재무 관리 메인** | `/ko/construction/finance` | 🚧 구조잡기 | + +## 시스템 (System) +### 공통 +| 페이지 | URL | 상태 | +|---|---|---| +| **개발용 메뉴 목록** | `/ko/dev/juil-test-urls` | ✅ 완료 | diff --git a/claudedocs/[REF] juil-project-flow.md b/claudedocs/[REF] construction-project-flow.md similarity index 100% rename from claudedocs/[REF] juil-project-flow.md rename to claudedocs/[REF] construction-project-flow.md diff --git a/claudedocs/[REF] juil-pages-test-urls.md b/claudedocs/[REF] juil-pages-test-urls.md deleted file mode 100644 index 696f9edd..00000000 --- a/claudedocs/[REF] juil-pages-test-urls.md +++ /dev/null @@ -1,66 +0,0 @@ -# Juil Enterprise Test URLs -Last Updated: 2026-01-05 - -### 대시보드 -| 페이지 | URL | 상태 | -|---|---|---| -| **메인 대시보드** | `/ko/juil/dashboard` | ✅ 완료 | - -## 프로젝트 관리 (Project) -### 메인 -| 페이지 | URL | 상태 | -|---|---|---| -| **프로젝트 관리 메인** | `/ko/juil/project` | 🚧 구조잡기 | - -### 입찰관리 (Bidding) -| 페이지 | URL | 상태 | -|---|---|---| -| **거래처 관리** | `/ko/juil/project/bidding/partners` | ✅ 완료 | -| **현장설명회관리** | `/ko/juil/project/bidding/site-briefings` | ✅ 완료 | -| **견적관리** | `/ko/juil/project/bidding/estimates` | ✅ 완료 | -| **입찰관리** | `/ko/juil/project/bidding` | ✅ 완료 | - -### 계약관리 (Contract) -| 페이지 | URL | 상태 | -|---|---|---| -| **계약관리** | `/ko/juil/project/contract` | 🆕 NEW | -| **인수인계보고서관리** | `/ko/juil/project/contract/handover-report` | 🆕 NEW | - -### 발주관리 (Order) -| 페이지 | URL | 상태 | -|---|---|---| -| **현장관리** | `/ko/juil/order/site-management` | 🆕 NEW | -| **구조검토관리** | `/ko/juil/order/structure-review` | 🆕 NEW | -| **발주관리** | `/ko/juil/order/order-management` | 🆕 NEW | - -### 기준정보 (Base Info) - 발주관리 하위 -| 페이지 | URL | 상태 | -|---|---|---| -| **카테고리관리** | `/ko/juil/order/base-info/categories` | 🆕 NEW | -| **품목관리** | `/ko/juil/order/base-info/items` | 🆕 NEW | -| **단가관리** | `/ko/juil/order/base-info/pricing` | 🆕 NEW | -| **노임관리** | `/ko/juil/order/base-info/labor` | 🆕 NEW | - -## 공사 관리 (Construction) -### 인수인계 / 실측 / 발주 / 시공 -| 페이지 | URL | 상태 | -|---|---|---| -| **공사 관리 메인** | `/ko/juil/construction` | 🚧 구조잡기 | - -## 현장 작업 (Field) -### 할당 / 인력 / 근태 / 보고 -| 페이지 | URL | 상태 | -|---|---|---| -| **현장 작업 메인** | `/ko/juil/field` | 🚧 구조잡기 | - -## 기성/정산 (Finance) -### 기성 / 변경계약 / 정산 -| 페이지 | URL | 상태 | -|---|---|---| -| **재무 관리 메인** | `/ko/juil/finance` | 🚧 구조잡기 | - -## 시스템 (System) -### 공통 -| 페이지 | URL | 상태 | -|---|---|---| -| **개발용 메뉴 목록** | `/ko/dev/juil-test-urls` | ✅ 완료 | diff --git a/claudedocs/juil/[IMPL-2026-01-05] category-management-checklist.md b/claudedocs/construction/[IMPL-2026-01-05] category-management-checklist.md similarity index 100% rename from claudedocs/juil/[IMPL-2026-01-05] category-management-checklist.md rename to claudedocs/construction/[IMPL-2026-01-05] category-management-checklist.md diff --git a/claudedocs/juil/[IMPL-2026-01-05] item-management-checklist.md b/claudedocs/construction/[IMPL-2026-01-05] item-management-checklist.md similarity index 100% rename from claudedocs/juil/[IMPL-2026-01-05] item-management-checklist.md rename to claudedocs/construction/[IMPL-2026-01-05] item-management-checklist.md diff --git a/claudedocs/juil/[IMPL-2026-01-05] pricing-management-checklist.md b/claudedocs/construction/[IMPL-2026-01-05] pricing-management-checklist.md similarity index 100% rename from claudedocs/juil/[IMPL-2026-01-05] pricing-management-checklist.md rename to claudedocs/construction/[IMPL-2026-01-05] pricing-management-checklist.md diff --git a/claudedocs/juil/[NEXT-2025-12-30] partner-management-session-context.md b/claudedocs/construction/[NEXT-2025-12-30] partner-management-session-context.md similarity index 100% rename from claudedocs/juil/[NEXT-2025-12-30] partner-management-session-context.md rename to claudedocs/construction/[NEXT-2025-12-30] partner-management-session-context.md diff --git a/claudedocs/juil/[PLAN-2026-01-02] estimate-detail-form-refactoring.md b/claudedocs/construction/[PLAN-2026-01-02] estimate-detail-form-refactoring.md similarity index 100% rename from claudedocs/juil/[PLAN-2026-01-02] estimate-detail-form-refactoring.md rename to claudedocs/construction/[PLAN-2026-01-02] estimate-detail-form-refactoring.md diff --git a/claudedocs/juil/[PLAN-2026-01-05] order-detail-form-separation.md b/claudedocs/construction/[PLAN-2026-01-05] order-detail-form-separation.md similarity index 100% rename from claudedocs/juil/[PLAN-2026-01-05] order-detail-form-separation.md rename to claudedocs/construction/[PLAN-2026-01-05] order-detail-form-separation.md diff --git a/claudedocs/juil/[PLAN-2026-01-05] order-management-implementation.md b/claudedocs/construction/[PLAN-2026-01-05] order-management-implementation.md similarity index 100% rename from claudedocs/juil/[PLAN-2026-01-05] order-management-implementation.md rename to claudedocs/construction/[PLAN-2026-01-05] order-management-implementation.md diff --git a/claudedocs/juil/[REF] juil-project-structure.md b/claudedocs/construction/[REF] juil-project-structure.md similarity index 100% rename from claudedocs/juil/[REF] juil-project-structure.md rename to claudedocs/construction/[REF] juil-project-structure.md diff --git a/src/app/[locale]/(protected)/construction/order/base-info/categories/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/categories/page.tsx new file mode 100644 index 00000000..21d41fe4 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/categories/page.tsx @@ -0,0 +1,5 @@ +import { CategoryManagement } from '@/components/business/construction/category-management'; + +export default function CategoriesPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/base-info/items/[id]/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/items/[id]/page.tsx similarity index 81% rename from src/app/[locale]/(protected)/juil/order/base-info/items/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/order/base-info/items/[id]/page.tsx index d92bb56f..bb65ce7f 100644 --- a/src/app/[locale]/(protected)/juil/order/base-info/items/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/base-info/items/[id]/page.tsx @@ -1,4 +1,4 @@ -import { ItemDetailClient } from '@/components/business/juil/item-management'; +import { ItemDetailClient } from '@/components/business/construction/item-management'; interface ItemDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/construction/order/base-info/items/new/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/items/new/page.tsx new file mode 100644 index 00000000..696988fc --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/items/new/page.tsx @@ -0,0 +1,5 @@ +import { ItemDetailClient } from '@/components/business/construction/item-management'; + +export default function ItemNewPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/construction/order/base-info/items/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/items/page.tsx new file mode 100644 index 00000000..c758ab5e --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/items/page.tsx @@ -0,0 +1,5 @@ +import { ItemManagementClient } from '@/components/business/construction/item-management'; + +export default function ItemManagementPage() { + return ; +} diff --git a/src/app/[locale]/(protected)/juil/order/base-info/labor/[id]/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/labor/[id]/page.tsx similarity index 81% rename from src/app/[locale]/(protected)/juil/order/base-info/labor/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/order/base-info/labor/[id]/page.tsx index 967f9e54..173ab3b9 100644 --- a/src/app/[locale]/(protected)/juil/order/base-info/labor/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/base-info/labor/[id]/page.tsx @@ -1,4 +1,4 @@ -import { LaborDetailClient } from '@/components/business/juil/labor-management'; +import { LaborDetailClient } from '@/components/business/construction/labor-management'; interface LaborDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/construction/order/base-info/labor/new/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/labor/new/page.tsx new file mode 100644 index 00000000..dcfb97c7 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/labor/new/page.tsx @@ -0,0 +1,5 @@ +import { LaborDetailClient } from '@/components/business/construction/labor-management'; + +export default function LaborNewPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/construction/order/base-info/labor/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/labor/page.tsx new file mode 100644 index 00000000..4152e9cc --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/labor/page.tsx @@ -0,0 +1,5 @@ +import { LaborManagementClient } from '@/components/business/construction/labor-management'; + +export default function LaborManagementPage() { + return ; +} diff --git a/src/app/[locale]/(protected)/juil/order/base-info/pricing/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/pricing/[id]/edit/page.tsx similarity index 66% rename from src/app/[locale]/(protected)/juil/order/base-info/pricing/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/order/base-info/pricing/[id]/edit/page.tsx index ab040adf..9e8677e5 100644 --- a/src/app/[locale]/(protected)/juil/order/base-info/pricing/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/base-info/pricing/[id]/edit/page.tsx @@ -1,4 +1,4 @@ -import PricingDetailClient from '@/components/business/juil/pricing-management/PricingDetailClient'; +import PricingDetailClient from '@/components/business/construction/pricing-management/PricingDetailClient'; interface PageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/order/base-info/pricing/[id]/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/pricing/[id]/page.tsx similarity index 66% rename from src/app/[locale]/(protected)/juil/order/base-info/pricing/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/order/base-info/pricing/[id]/page.tsx index 7dc36188..35e3a13a 100644 --- a/src/app/[locale]/(protected)/juil/order/base-info/pricing/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/base-info/pricing/[id]/page.tsx @@ -1,4 +1,4 @@ -import PricingDetailClient from '@/components/business/juil/pricing-management/PricingDetailClient'; +import PricingDetailClient from '@/components/business/construction/pricing-management/PricingDetailClient'; interface PageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/construction/order/base-info/pricing/new/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/pricing/new/page.tsx new file mode 100644 index 00000000..da6cc1b8 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/pricing/new/page.tsx @@ -0,0 +1,5 @@ +import PricingDetailClient from '@/components/business/construction/pricing-management/PricingDetailClient'; + +export default function PricingNewPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/construction/order/base-info/pricing/page.tsx b/src/app/[locale]/(protected)/construction/order/base-info/pricing/page.tsx new file mode 100644 index 00000000..9190d361 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/base-info/pricing/page.tsx @@ -0,0 +1,5 @@ +import PricingListClient from '@/components/business/construction/pricing-management/PricingListClient'; + +export default function PricingPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/order-management/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/order/order-management/[id]/edit/page.tsx similarity index 69% rename from src/app/[locale]/(protected)/juil/order/order-management/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/order/order-management/[id]/edit/page.tsx index aa310045..c7965af1 100644 --- a/src/app/[locale]/(protected)/juil/order/order-management/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/order-management/[id]/edit/page.tsx @@ -1,5 +1,5 @@ -import { OrderDetailForm } from '@/components/business/juil/order-management'; -import { getOrderDetailFull } from '@/components/business/juil/order-management/actions'; +import { OrderDetailForm } from '@/components/business/construction/order-management'; +import { getOrderDetailFull } from '@/components/business/construction/order-management/actions'; import { notFound } from 'next/navigation'; interface OrderEditPageProps { diff --git a/src/app/[locale]/(protected)/juil/order/order-management/[id]/page.tsx b/src/app/[locale]/(protected)/construction/order/order-management/[id]/page.tsx similarity index 69% rename from src/app/[locale]/(protected)/juil/order/order-management/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/order/order-management/[id]/page.tsx index 9f2b52c3..95f9d08a 100644 --- a/src/app/[locale]/(protected)/juil/order/order-management/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/order-management/[id]/page.tsx @@ -1,5 +1,5 @@ -import { OrderDetailForm } from '@/components/business/juil/order-management'; -import { getOrderDetailFull } from '@/components/business/juil/order-management/actions'; +import { OrderDetailForm } from '@/components/business/construction/order-management'; +import { getOrderDetailFull } from '@/components/business/construction/order-management/actions'; import { notFound } from 'next/navigation'; interface OrderDetailPageProps { diff --git a/src/app/[locale]/(protected)/juil/order/order-management/page.tsx b/src/app/[locale]/(protected)/construction/order/order-management/page.tsx similarity index 81% rename from src/app/[locale]/(protected)/juil/order/order-management/page.tsx rename to src/app/[locale]/(protected)/construction/order/order-management/page.tsx index d091b519..856b069e 100644 --- a/src/app/[locale]/(protected)/juil/order/order-management/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/order-management/page.tsx @@ -1,4 +1,4 @@ -import { OrderManagementListClient } from '@/components/business/juil/order-management'; +import { OrderManagementListClient } from '@/components/business/construction/order-management'; export default function OrderManagementPage() { return ; diff --git a/src/app/[locale]/(protected)/juil/order/site-management/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/order/site-management/[id]/edit/page.tsx similarity index 85% rename from src/app/[locale]/(protected)/juil/order/site-management/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/order/site-management/[id]/edit/page.tsx index d3ebe988..2f7038ad 100644 --- a/src/app/[locale]/(protected)/juil/order/site-management/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/site-management/[id]/edit/page.tsx @@ -1,4 +1,4 @@ -import SiteDetailForm from '@/components/business/juil/site-management/SiteDetailForm'; +import SiteDetailForm from '@/components/business/construction/site-management/SiteDetailForm'; // 목업 데이터 const MOCK_SITE = { diff --git a/src/app/[locale]/(protected)/juil/order/site-management/[id]/page.tsx b/src/app/[locale]/(protected)/construction/order/site-management/[id]/page.tsx similarity index 85% rename from src/app/[locale]/(protected)/juil/order/site-management/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/order/site-management/[id]/page.tsx index 8076a556..efbf1981 100644 --- a/src/app/[locale]/(protected)/juil/order/site-management/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/site-management/[id]/page.tsx @@ -1,4 +1,4 @@ -import SiteDetailForm from '@/components/business/juil/site-management/SiteDetailForm'; +import SiteDetailForm from '@/components/business/construction/site-management/SiteDetailForm'; // 목업 데이터 const MOCK_SITE = { diff --git a/src/app/[locale]/(protected)/juil/order/site-management/page.tsx b/src/app/[locale]/(protected)/construction/order/site-management/page.tsx similarity index 82% rename from src/app/[locale]/(protected)/juil/order/site-management/page.tsx rename to src/app/[locale]/(protected)/construction/order/site-management/page.tsx index 7dd03391..9762fda2 100644 --- a/src/app/[locale]/(protected)/juil/order/site-management/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/site-management/page.tsx @@ -1,4 +1,4 @@ -import { SiteManagementListClient } from '@/components/business/juil/site-management'; +import { SiteManagementListClient } from '@/components/business/construction/site-management'; export default function SiteManagementPage() { return ; diff --git a/src/app/[locale]/(protected)/juil/order/structure-review/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/order/structure-review/[id]/edit/page.tsx similarity index 86% rename from src/app/[locale]/(protected)/juil/order/structure-review/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/order/structure-review/[id]/edit/page.tsx index a879592a..c30e82ce 100644 --- a/src/app/[locale]/(protected)/juil/order/structure-review/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/structure-review/[id]/edit/page.tsx @@ -1,4 +1,4 @@ -import StructureReviewDetailForm from '@/components/business/juil/structure-review/StructureReviewDetailForm'; +import StructureReviewDetailForm from '@/components/business/construction/structure-review/StructureReviewDetailForm'; // 목업 데이터 const MOCK_REVIEW = { diff --git a/src/app/[locale]/(protected)/juil/order/structure-review/[id]/page.tsx b/src/app/[locale]/(protected)/construction/order/structure-review/[id]/page.tsx similarity index 86% rename from src/app/[locale]/(protected)/juil/order/structure-review/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/order/structure-review/[id]/page.tsx index 16594f41..bd234ce4 100644 --- a/src/app/[locale]/(protected)/juil/order/structure-review/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/order/structure-review/[id]/page.tsx @@ -1,4 +1,4 @@ -import StructureReviewDetailForm from '@/components/business/juil/structure-review/StructureReviewDetailForm'; +import StructureReviewDetailForm from '@/components/business/construction/structure-review/StructureReviewDetailForm'; // 목업 데이터 const MOCK_REVIEW = { diff --git a/src/app/[locale]/(protected)/construction/order/structure-review/page.tsx b/src/app/[locale]/(protected)/construction/order/structure-review/page.tsx new file mode 100644 index 00000000..4e7057c8 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/order/structure-review/page.tsx @@ -0,0 +1,5 @@ +import StructureReviewListClient from '@/components/business/construction/structure-review/StructureReviewListClient'; + +export default function StructureReviewListPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/[id]/edit/page.tsx similarity index 92% rename from src/app/[locale]/(protected)/juil/project/bidding/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/[id]/edit/page.tsx index 9a940af6..6bd2c284 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/[id]/edit/page.tsx @@ -1,4 +1,4 @@ -import { BiddingDetailForm, getBiddingDetail } from '@/components/business/juil/bidding'; +import { BiddingDetailForm, getBiddingDetail } from '@/components/business/construction/bidding'; interface BiddingEditPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/bidding/[id]/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/[id]/page.tsx similarity index 92% rename from src/app/[locale]/(protected)/juil/project/bidding/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/[id]/page.tsx index f4a30dfb..5c370885 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/[id]/page.tsx @@ -1,4 +1,4 @@ -import { BiddingDetailForm, getBiddingDetail } from '@/components/business/juil/bidding'; +import { BiddingDetailForm, getBiddingDetail } from '@/components/business/construction/bidding'; interface BiddingDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/bidding/estimates/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/estimates/[id]/edit/page.tsx similarity index 96% rename from src/app/[locale]/(protected)/juil/project/bidding/estimates/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/estimates/[id]/edit/page.tsx index c64a407c..475bdc6e 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/estimates/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/estimates/[id]/edit/page.tsx @@ -1,5 +1,5 @@ -import { EstimateDetailForm } from '@/components/business/juil/estimates'; -import type { EstimateDetail } from '@/components/business/juil/estimates'; +import { EstimateDetailForm } from '@/components/business/construction/estimates'; +import type { EstimateDetail } from '@/components/business/construction/estimates'; interface EstimateEditPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/bidding/estimates/[id]/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/estimates/[id]/page.tsx similarity index 96% rename from src/app/[locale]/(protected)/juil/project/bidding/estimates/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/estimates/[id]/page.tsx index 73b9524a..9203692e 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/estimates/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/estimates/[id]/page.tsx @@ -1,5 +1,5 @@ -import { EstimateDetailForm } from '@/components/business/juil/estimates'; -import type { EstimateDetail } from '@/components/business/juil/estimates'; +import { EstimateDetailForm } from '@/components/business/construction/estimates'; +import type { EstimateDetail } from '@/components/business/construction/estimates'; interface EstimateDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/construction/project/bidding/estimates/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/estimates/page.tsx new file mode 100644 index 00000000..96f96d7e --- /dev/null +++ b/src/app/[locale]/(protected)/construction/project/bidding/estimates/page.tsx @@ -0,0 +1,5 @@ +import { EstimateListClient } from '@/components/business/construction/estimates'; + +export default function EstimatesPage() { + return ; +} diff --git a/src/app/[locale]/(protected)/construction/project/bidding/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/page.tsx new file mode 100644 index 00000000..a9f2c15d --- /dev/null +++ b/src/app/[locale]/(protected)/construction/project/bidding/page.tsx @@ -0,0 +1,5 @@ +import { BiddingListClient } from '@/components/business/construction/bidding'; + +export default function BiddingPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/partners/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/partners/[id]/edit/page.tsx similarity index 68% rename from src/app/[locale]/(protected)/juil/project/bidding/partners/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/partners/[id]/edit/page.tsx index 843ddef5..2f64fccd 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/partners/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/partners/[id]/edit/page.tsx @@ -1,5 +1,5 @@ -import PartnerForm from '@/components/business/juil/partners/PartnerForm'; -import { getPartner } from '@/components/business/juil/partners/actions'; +import PartnerForm from '@/components/business/construction/partners/PartnerForm'; +import { getPartner } from '@/components/business/construction/partners/actions'; interface PartnerEditPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/bidding/partners/[id]/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/partners/[id]/page.tsx similarity index 69% rename from src/app/[locale]/(protected)/juil/project/bidding/partners/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/partners/[id]/page.tsx index 1d59b8f2..72fd696c 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/partners/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/partners/[id]/page.tsx @@ -1,5 +1,5 @@ -import PartnerForm from '@/components/business/juil/partners/PartnerForm'; -import { getPartner } from '@/components/business/juil/partners/actions'; +import PartnerForm from '@/components/business/construction/partners/PartnerForm'; +import { getPartner } from '@/components/business/construction/partners/actions'; interface PartnerDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/construction/project/bidding/partners/new/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/partners/new/page.tsx new file mode 100644 index 00000000..740f4967 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/project/bidding/partners/new/page.tsx @@ -0,0 +1,5 @@ +import PartnerForm from '@/components/business/construction/partners/PartnerForm'; + +export default function PartnerNewPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/construction/project/bidding/partners/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/partners/page.tsx new file mode 100644 index 00000000..e86b526b --- /dev/null +++ b/src/app/[locale]/(protected)/construction/project/bidding/partners/page.tsx @@ -0,0 +1,5 @@ +import { PartnerListClient } from '@/components/business/construction/partners'; + +export default function PartnersPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/[id]/edit/page.tsx similarity index 91% rename from src/app/[locale]/(protected)/juil/project/bidding/site-briefings/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/site-briefings/[id]/edit/page.tsx index d6cd20b6..aae936ed 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/[id]/edit/page.tsx @@ -1,4 +1,4 @@ -import { SiteBriefingForm, getSiteBriefing } from '@/components/business/juil/site-briefings'; +import { SiteBriefingForm, getSiteBriefing } from '@/components/business/construction/site-briefings'; interface SiteBriefingEditPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/[id]/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/[id]/page.tsx similarity index 92% rename from src/app/[locale]/(protected)/juil/project/bidding/site-briefings/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/site-briefings/[id]/page.tsx index 6d0cbfa5..dbcefdb5 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/[id]/page.tsx @@ -1,4 +1,4 @@ -import { SiteBriefingForm, getSiteBriefing } from '@/components/business/juil/site-briefings'; +import { SiteBriefingForm, getSiteBriefing } from '@/components/business/construction/site-briefings'; interface SiteBriefingDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/new/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/new/page.tsx similarity index 51% rename from src/app/[locale]/(protected)/juil/project/bidding/site-briefings/new/page.tsx rename to src/app/[locale]/(protected)/construction/project/bidding/site-briefings/new/page.tsx index 938e30aa..83067027 100644 --- a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/new/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/new/page.tsx @@ -1,4 +1,4 @@ -import { SiteBriefingForm } from '@/components/business/juil/site-briefings'; +import { SiteBriefingForm } from '@/components/business/construction/site-briefings'; export default function SiteBriefingNewPage() { return ; diff --git a/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/page.tsx b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/page.tsx new file mode 100644 index 00000000..f4b0aa82 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/project/bidding/site-briefings/page.tsx @@ -0,0 +1,5 @@ +import { SiteBriefingListClient } from '@/components/business/construction/site-briefings'; + +export default function SiteBriefingsPage() { + return ; +} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/contract/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/project/contract/[id]/edit/page.tsx similarity index 68% rename from src/app/[locale]/(protected)/juil/project/contract/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/project/contract/[id]/edit/page.tsx index 7de01752..a0e32370 100644 --- a/src/app/[locale]/(protected)/juil/project/contract/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/contract/[id]/edit/page.tsx @@ -1,5 +1,5 @@ -import ContractDetailForm from '@/components/business/juil/contract/ContractDetailForm'; -import { getContractDetail } from '@/components/business/juil/contract'; +import ContractDetailForm from '@/components/business/construction/contract/ContractDetailForm'; +import { getContractDetail } from '@/components/business/construction/contract'; interface ContractEditPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/contract/[id]/page.tsx b/src/app/[locale]/(protected)/construction/project/contract/[id]/page.tsx similarity index 68% rename from src/app/[locale]/(protected)/juil/project/contract/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/project/contract/[id]/page.tsx index 59041075..b4ad89ca 100644 --- a/src/app/[locale]/(protected)/juil/project/contract/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/contract/[id]/page.tsx @@ -1,5 +1,5 @@ -import ContractDetailForm from '@/components/business/juil/contract/ContractDetailForm'; -import { getContractDetail } from '@/components/business/juil/contract'; +import ContractDetailForm from '@/components/business/construction/contract/ContractDetailForm'; +import { getContractDetail } from '@/components/business/construction/contract'; interface ContractDetailPageProps { params: Promise<{ id: string }>; diff --git a/src/app/[locale]/(protected)/juil/project/contract/handover-report/[id]/edit/page.tsx b/src/app/[locale]/(protected)/construction/project/contract/handover-report/[id]/edit/page.tsx similarity index 90% rename from src/app/[locale]/(protected)/juil/project/contract/handover-report/[id]/edit/page.tsx rename to src/app/[locale]/(protected)/construction/project/contract/handover-report/[id]/edit/page.tsx index b1593cd0..d472388a 100644 --- a/src/app/[locale]/(protected)/juil/project/contract/handover-report/[id]/edit/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/contract/handover-report/[id]/edit/page.tsx @@ -1,4 +1,4 @@ -import { HandoverReportDetailForm, getHandoverReportDetail } from '@/components/business/juil/handover-report'; +import { HandoverReportDetailForm, getHandoverReportDetail } from '@/components/business/construction/handover-report'; interface HandoverReportEditPageProps { params: Promise<{ diff --git a/src/app/[locale]/(protected)/juil/project/contract/handover-report/[id]/page.tsx b/src/app/[locale]/(protected)/construction/project/contract/handover-report/[id]/page.tsx similarity index 90% rename from src/app/[locale]/(protected)/juil/project/contract/handover-report/[id]/page.tsx rename to src/app/[locale]/(protected)/construction/project/contract/handover-report/[id]/page.tsx index 77d515e0..8292265d 100644 --- a/src/app/[locale]/(protected)/juil/project/contract/handover-report/[id]/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/contract/handover-report/[id]/page.tsx @@ -1,4 +1,4 @@ -import { HandoverReportDetailForm, getHandoverReportDetail } from '@/components/business/juil/handover-report'; +import { HandoverReportDetailForm, getHandoverReportDetail } from '@/components/business/construction/handover-report'; interface HandoverReportDetailPageProps { params: Promise<{ diff --git a/src/app/[locale]/(protected)/juil/project/contract/handover-report/page.tsx b/src/app/[locale]/(protected)/construction/project/contract/handover-report/page.tsx similarity index 83% rename from src/app/[locale]/(protected)/juil/project/contract/handover-report/page.tsx rename to src/app/[locale]/(protected)/construction/project/contract/handover-report/page.tsx index 4ee2ca98..f5c96d33 100644 --- a/src/app/[locale]/(protected)/juil/project/contract/handover-report/page.tsx +++ b/src/app/[locale]/(protected)/construction/project/contract/handover-report/page.tsx @@ -1,4 +1,4 @@ -import { HandoverReportListClient } from '@/components/business/juil/handover-report'; +import { HandoverReportListClient } from '@/components/business/construction/handover-report'; export default function HandoverReportPage() { return ; diff --git a/src/app/[locale]/(protected)/construction/project/contract/page.tsx b/src/app/[locale]/(protected)/construction/project/contract/page.tsx new file mode 100644 index 00000000..e0cf7f37 --- /dev/null +++ b/src/app/[locale]/(protected)/construction/project/contract/page.tsx @@ -0,0 +1,5 @@ +import { ContractListClient } from '@/components/business/construction/contract'; + +export default function ContractPage() { + return ; +} diff --git a/src/app/[locale]/(protected)/dev/juil-test-urls/JuilTestUrlsClient.tsx b/src/app/[locale]/(protected)/dev/construction-test-urls/ConstructionTestUrlsClient.tsx similarity index 97% rename from src/app/[locale]/(protected)/dev/juil-test-urls/JuilTestUrlsClient.tsx rename to src/app/[locale]/(protected)/dev/construction-test-urls/ConstructionTestUrlsClient.tsx index bf344c0b..db86d366 100644 --- a/src/app/[locale]/(protected)/dev/juil-test-urls/JuilTestUrlsClient.tsx +++ b/src/app/[locale]/(protected)/dev/construction-test-urls/ConstructionTestUrlsClient.tsx @@ -145,7 +145,7 @@ function CategorySection({ category, baseUrl }: { category: UrlCategory; baseUrl ); } -export default function JuilTestUrlsClient({ initialData, lastUpdated }: TestUrlsClientProps) { +export default function ConstructionTestUrlsClient({ initialData, lastUpdated }: TestUrlsClientProps) { const [baseUrl, setBaseUrl] = useState('http://localhost:3000'); const [searchTerm, setSearchTerm] = useState(''); @@ -255,7 +255,7 @@ export default function JuilTestUrlsClient({ initialData, lastUpdated }: TestUrl {/* Footer */}

- 📁 데이터 소스: claudedocs/[REF] juil-pages-test-urls.md + 📁 데이터 소스: claudedocs/[REF] construction-pages-test-urls.md

md 파일 수정 후 새로고침하면 자동 반영! diff --git a/src/app/[locale]/(protected)/dev/juil-test-urls/page.tsx b/src/app/[locale]/(protected)/dev/construction-test-urls/page.tsx similarity index 95% rename from src/app/[locale]/(protected)/dev/juil-test-urls/page.tsx rename to src/app/[locale]/(protected)/dev/construction-test-urls/page.tsx index 95256451..370cc150 100644 --- a/src/app/[locale]/(protected)/dev/juil-test-urls/page.tsx +++ b/src/app/[locale]/(protected)/dev/construction-test-urls/page.tsx @@ -1,7 +1,7 @@ import { promises as fs } from 'fs'; import path from 'path'; -import JuilTestUrlsClient, { UrlCategory, UrlItem } from './JuilTestUrlsClient'; +import ConstructionTestUrlsClient, { UrlCategory, UrlItem } from './ConstructionTestUrlsClient'; // 아이콘 매핑 const iconMap: Record = { @@ -127,7 +127,7 @@ export default async function TestUrlsPage() { const mdFilePath = path.join( process.cwd(), 'claudedocs', - '[REF] juil-pages-test-urls.md' + '[REF] construction-pages-test-urls.md' ); let urlData: UrlCategory[] = []; @@ -144,7 +144,7 @@ export default async function TestUrlsPage() { urlData = []; } - return ; + return ; } // 캐싱 비활성화 - 항상 최신 md 파일 읽기 diff --git a/src/app/[locale]/(protected)/juil/order/base-info/categories/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/categories/page.tsx deleted file mode 100644 index 67802033..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/categories/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { CategoryManagement } from '@/components/business/juil/category-management'; - -export default function CategoriesPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/base-info/items/new/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/items/new/page.tsx deleted file mode 100644 index 08cd9ca4..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/items/new/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { ItemDetailClient } from '@/components/business/juil/item-management'; - -export default function ItemNewPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/base-info/items/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/items/page.tsx deleted file mode 100644 index b7375be1..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/items/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { ItemManagementClient } from '@/components/business/juil/item-management'; - -export default function ItemManagementPage() { - return ; -} diff --git a/src/app/[locale]/(protected)/juil/order/base-info/labor/new/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/labor/new/page.tsx deleted file mode 100644 index 5110107d..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/labor/new/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { LaborDetailClient } from '@/components/business/juil/labor-management'; - -export default function LaborNewPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/base-info/labor/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/labor/page.tsx deleted file mode 100644 index 72c4b0c3..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/labor/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { LaborManagementClient } from '@/components/business/juil/labor-management'; - -export default function LaborManagementPage() { - return ; -} diff --git a/src/app/[locale]/(protected)/juil/order/base-info/pricing/new/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/pricing/new/page.tsx deleted file mode 100644 index 6b69184b..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/pricing/new/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import PricingDetailClient from '@/components/business/juil/pricing-management/PricingDetailClient'; - -export default function PricingNewPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/base-info/pricing/page.tsx b/src/app/[locale]/(protected)/juil/order/base-info/pricing/page.tsx deleted file mode 100644 index a999df1f..00000000 --- a/src/app/[locale]/(protected)/juil/order/base-info/pricing/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import PricingListClient from '@/components/business/juil/pricing-management/PricingListClient'; - -export default function PricingPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/order/structure-review/page.tsx b/src/app/[locale]/(protected)/juil/order/structure-review/page.tsx deleted file mode 100644 index dbf46ac3..00000000 --- a/src/app/[locale]/(protected)/juil/order/structure-review/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import StructureReviewListClient from '@/components/business/juil/structure-review/StructureReviewListClient'; - -export default function StructureReviewListPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/estimates/page.tsx b/src/app/[locale]/(protected)/juil/project/bidding/estimates/page.tsx deleted file mode 100644 index 3d209982..00000000 --- a/src/app/[locale]/(protected)/juil/project/bidding/estimates/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { EstimateListClient } from '@/components/business/juil/estimates'; - -export default function EstimatesPage() { - return ; -} diff --git a/src/app/[locale]/(protected)/juil/project/bidding/page.tsx b/src/app/[locale]/(protected)/juil/project/bidding/page.tsx deleted file mode 100644 index 064193d7..00000000 --- a/src/app/[locale]/(protected)/juil/project/bidding/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { BiddingListClient } from '@/components/business/juil/bidding'; - -export default function BiddingPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/partners/new/page.tsx b/src/app/[locale]/(protected)/juil/project/bidding/partners/new/page.tsx deleted file mode 100644 index 32f800e7..00000000 --- a/src/app/[locale]/(protected)/juil/project/bidding/partners/new/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import PartnerForm from '@/components/business/juil/partners/PartnerForm'; - -export default function PartnerNewPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/partners/page.tsx b/src/app/[locale]/(protected)/juil/project/bidding/partners/page.tsx deleted file mode 100644 index 3c62ebbc..00000000 --- a/src/app/[locale]/(protected)/juil/project/bidding/partners/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { PartnerListClient } from '@/components/business/juil/partners'; - -export default function PartnersPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/page.tsx b/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/page.tsx deleted file mode 100644 index 5c8ca706..00000000 --- a/src/app/[locale]/(protected)/juil/project/bidding/site-briefings/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { SiteBriefingListClient } from '@/components/business/juil/site-briefings'; - -export default function SiteBriefingsPage() { - return ; -} \ No newline at end of file diff --git a/src/app/[locale]/(protected)/juil/project/contract/page.tsx b/src/app/[locale]/(protected)/juil/project/contract/page.tsx deleted file mode 100644 index c3d21660..00000000 --- a/src/app/[locale]/(protected)/juil/project/contract/page.tsx +++ /dev/null @@ -1,5 +0,0 @@ -import { ContractListClient } from '@/components/business/juil/contract'; - -export default function ContractPage() { - return ; -} diff --git a/src/components/business/juil/JuilDashboard.tsx b/src/components/business/construction/ConstructionDashboard.tsx similarity index 55% rename from src/components/business/juil/JuilDashboard.tsx rename to src/components/business/construction/ConstructionDashboard.tsx index cea2c8a5..86f27358 100644 --- a/src/components/business/juil/JuilDashboard.tsx +++ b/src/components/business/construction/ConstructionDashboard.tsx @@ -1,19 +1,19 @@ 'use client'; import { Suspense } from "react"; -import { JuilMainDashboard } from "./JuilMainDashboard"; +import { ConstructionMainDashboard } from "./ConstructionMainDashboard"; import { PageLoadingSpinner } from "@/components/ui/loading-spinner"; /** - * JuilDashboard - 주일기업 전용 대시보드 + * ConstructionDashboard - 주일기업 전용 대시보드 * * 건설/공사 프로젝트 중심의 메트릭과 현황을 보여줍니다. */ -export function JuilDashboard() { - console.log('🏗️ Juil Dashboard rendering...'); +export function ConstructionDashboard() { + console.log('🏗️ Construction Dashboard rendering...'); return ( }> - + ); } diff --git a/src/components/business/juil/JuilMainDashboard.tsx b/src/components/business/construction/ConstructionMainDashboard.tsx similarity index 99% rename from src/components/business/juil/JuilMainDashboard.tsx rename to src/components/business/construction/ConstructionMainDashboard.tsx index 90b01c2b..0927ffe6 100644 --- a/src/components/business/juil/JuilMainDashboard.tsx +++ b/src/components/business/construction/ConstructionMainDashboard.tsx @@ -20,7 +20,7 @@ import { Hammer } from "lucide-react"; -export function JuilMainDashboard() { +export function ConstructionMainDashboard() { const currentTime = useCurrentTime(); // 가상 데이터: 건설 프로젝트 현황 diff --git a/src/components/business/juil/bidding/BiddingDetailForm.tsx b/src/components/business/construction/bidding/BiddingDetailForm.tsx similarity index 99% rename from src/components/business/juil/bidding/BiddingDetailForm.tsx rename to src/components/business/construction/bidding/BiddingDetailForm.tsx index f6d1180b..ab683ccf 100644 --- a/src/components/business/juil/bidding/BiddingDetailForm.tsx +++ b/src/components/business/construction/bidding/BiddingDetailForm.tsx @@ -137,15 +137,15 @@ export default function BiddingDetailForm({ // 네비게이션 핸들러 const handleBack = useCallback(() => { - router.push('/ko/juil/project/bidding'); + router.push('/ko/construction/project/bidding'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/project/bidding/${biddingId}/edit`); + router.push(`/ko/construction/project/bidding/${biddingId}/edit`); }, [router, biddingId]); const handleCancel = useCallback(() => { - router.push(`/ko/juil/project/bidding/${biddingId}`); + router.push(`/ko/construction/project/bidding/${biddingId}`); }, [router, biddingId]); // 저장 핸들러 @@ -160,7 +160,7 @@ export default function BiddingDetailForm({ if (result.success) { toast.success('수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push(`/ko/juil/project/bidding/${biddingId}`); + router.push(`/ko/construction/project/bidding/${biddingId}`); router.refresh(); } else { toast.error(result.error || '저장에 실패했습니다.'); diff --git a/src/components/business/juil/bidding/BiddingListClient.tsx b/src/components/business/construction/bidding/BiddingListClient.tsx similarity index 99% rename from src/components/business/juil/bidding/BiddingListClient.tsx rename to src/components/business/construction/bidding/BiddingListClient.tsx index 91cb7b62..9ed91fc0 100644 --- a/src/components/business/juil/bidding/BiddingListClient.tsx +++ b/src/components/business/construction/bidding/BiddingListClient.tsx @@ -260,7 +260,7 @@ export default function BiddingListClient({ initialData = [], initialStats }: Bi const handleRowClick = useCallback( (bidding: Bidding) => { - router.push(`/ko/juil/project/bidding/${bidding.id}`); + router.push(`/ko/construction/project/bidding/${bidding.id}`); }, [router] ); @@ -268,7 +268,7 @@ export default function BiddingListClient({ initialData = [], initialStats }: Bi const handleEdit = useCallback( (e: React.MouseEvent, biddingId: string) => { e.stopPropagation(); - router.push(`/ko/juil/project/bidding/${biddingId}/edit`); + router.push(`/ko/construction/project/bidding/${biddingId}/edit`); }, [router] ); diff --git a/src/components/business/juil/bidding/actions.ts b/src/components/business/construction/bidding/actions.ts similarity index 100% rename from src/components/business/juil/bidding/actions.ts rename to src/components/business/construction/bidding/actions.ts diff --git a/src/components/business/juil/bidding/index.ts b/src/components/business/construction/bidding/index.ts similarity index 100% rename from src/components/business/juil/bidding/index.ts rename to src/components/business/construction/bidding/index.ts diff --git a/src/components/business/juil/bidding/types.ts b/src/components/business/construction/bidding/types.ts similarity index 100% rename from src/components/business/juil/bidding/types.ts rename to src/components/business/construction/bidding/types.ts diff --git a/src/components/business/juil/category-management/CategoryDialog.tsx b/src/components/business/construction/category-management/CategoryDialog.tsx similarity index 100% rename from src/components/business/juil/category-management/CategoryDialog.tsx rename to src/components/business/construction/category-management/CategoryDialog.tsx diff --git a/src/components/business/juil/category-management/actions.ts b/src/components/business/construction/category-management/actions.ts similarity index 100% rename from src/components/business/juil/category-management/actions.ts rename to src/components/business/construction/category-management/actions.ts diff --git a/src/components/business/juil/category-management/index.tsx b/src/components/business/construction/category-management/index.tsx similarity index 100% rename from src/components/business/juil/category-management/index.tsx rename to src/components/business/construction/category-management/index.tsx diff --git a/src/components/business/juil/category-management/types.ts b/src/components/business/construction/category-management/types.ts similarity index 100% rename from src/components/business/juil/category-management/types.ts rename to src/components/business/construction/category-management/types.ts diff --git a/src/components/business/juil/common/index.ts b/src/components/business/construction/common/index.ts similarity index 100% rename from src/components/business/juil/common/index.ts rename to src/components/business/construction/common/index.ts diff --git a/src/components/business/juil/common/modals/ElectronicApprovalModal.tsx b/src/components/business/construction/common/modals/ElectronicApprovalModal.tsx similarity index 100% rename from src/components/business/juil/common/modals/ElectronicApprovalModal.tsx rename to src/components/business/construction/common/modals/ElectronicApprovalModal.tsx diff --git a/src/components/business/juil/common/modals/index.ts b/src/components/business/construction/common/modals/index.ts similarity index 100% rename from src/components/business/juil/common/modals/index.ts rename to src/components/business/construction/common/modals/index.ts diff --git a/src/components/business/juil/common/types.ts b/src/components/business/construction/common/types.ts similarity index 100% rename from src/components/business/juil/common/types.ts rename to src/components/business/construction/common/types.ts diff --git a/src/components/business/juil/contract/ContractDetailForm.tsx b/src/components/business/construction/contract/ContractDetailForm.tsx similarity index 98% rename from src/components/business/juil/contract/ContractDetailForm.tsx rename to src/components/business/construction/contract/ContractDetailForm.tsx index 297b843b..65e93aa0 100644 --- a/src/components/business/juil/contract/ContractDetailForm.tsx +++ b/src/components/business/construction/contract/ContractDetailForm.tsx @@ -113,15 +113,15 @@ export default function ContractDetailForm({ // 네비게이션 핸들러 const handleBack = useCallback(() => { - router.push('/ko/juil/project/contract'); + router.push('/ko/construction/project/contract'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/project/contract/${contractId}/edit`); + router.push(`/ko/construction/project/contract/${contractId}/edit`); }, [router, contractId]); const handleCancel = useCallback(() => { - router.push(`/ko/juil/project/contract/${contractId}`); + router.push(`/ko/construction/project/contract/${contractId}`); }, [router, contractId]); // 폼 필드 변경 @@ -144,7 +144,7 @@ export default function ContractDetailForm({ if (result.success) { toast.success('수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push(`/ko/juil/project/contract/${contractId}`); + router.push(`/ko/construction/project/contract/${contractId}`); router.refresh(); } else { toast.error(result.error || '저장에 실패했습니다.'); @@ -168,7 +168,7 @@ export default function ContractDetailForm({ if (result.success) { toast.success('계약이 삭제되었습니다.'); setShowDeleteDialog(false); - router.push('/ko/juil/project/contract'); + router.push('/ko/construction/project/contract'); router.refresh(); } else { toast.error(result.error || '삭제에 실패했습니다.'); diff --git a/src/components/business/juil/contract/ContractListClient.tsx b/src/components/business/construction/contract/ContractListClient.tsx similarity index 99% rename from src/components/business/juil/contract/ContractListClient.tsx rename to src/components/business/construction/contract/ContractListClient.tsx index 1e6aa6dd..68b4ff5a 100644 --- a/src/components/business/juil/contract/ContractListClient.tsx +++ b/src/components/business/construction/contract/ContractListClient.tsx @@ -275,7 +275,7 @@ export default function ContractListClient({ const handleRowClick = useCallback( (contract: Contract) => { - router.push(`/ko/juil/project/contract/${contract.id}`); + router.push(`/ko/construction/project/contract/${contract.id}`); }, [router] ); @@ -283,7 +283,7 @@ export default function ContractListClient({ const handleEdit = useCallback( (e: React.MouseEvent, contractId: string) => { e.stopPropagation(); - router.push(`/ko/juil/project/contract/${contractId}/edit`); + router.push(`/ko/construction/project/contract/${contractId}/edit`); }, [router] ); diff --git a/src/components/business/juil/contract/actions.ts b/src/components/business/construction/contract/actions.ts similarity index 100% rename from src/components/business/juil/contract/actions.ts rename to src/components/business/construction/contract/actions.ts diff --git a/src/components/business/juil/contract/index.ts b/src/components/business/construction/contract/index.ts similarity index 100% rename from src/components/business/juil/contract/index.ts rename to src/components/business/construction/contract/index.ts diff --git a/src/components/business/juil/contract/modals/ContractDocumentModal.tsx b/src/components/business/construction/contract/modals/ContractDocumentModal.tsx similarity index 100% rename from src/components/business/juil/contract/modals/ContractDocumentModal.tsx rename to src/components/business/construction/contract/modals/ContractDocumentModal.tsx diff --git a/src/components/business/juil/contract/modals/index.ts b/src/components/business/construction/contract/modals/index.ts similarity index 100% rename from src/components/business/juil/contract/modals/index.ts rename to src/components/business/construction/contract/modals/index.ts diff --git a/src/components/business/juil/contract/types.ts b/src/components/business/construction/contract/types.ts similarity index 100% rename from src/components/business/juil/contract/types.ts rename to src/components/business/construction/contract/types.ts diff --git a/src/components/business/juil/estimates/EstimateDetailForm.tsx b/src/components/business/construction/estimates/EstimateDetailForm.tsx similarity index 98% rename from src/components/business/juil/estimates/EstimateDetailForm.tsx rename to src/components/business/construction/estimates/EstimateDetailForm.tsx index d45c6568..cac90a6d 100644 --- a/src/components/business/juil/estimates/EstimateDetailForm.tsx +++ b/src/components/business/construction/estimates/EstimateDetailForm.tsx @@ -92,15 +92,15 @@ export default function EstimateDetailForm({ // ===== 네비게이션 핸들러 ===== const handleBack = useCallback(() => { - router.push('/ko/juil/project/bidding/estimates'); + router.push('/ko/construction/project/bidding/estimates'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/project/bidding/estimates/${estimateId}/edit`); + router.push(`/ko/construction/project/bidding/estimates/${estimateId}/edit`); }, [router, estimateId]); const handleCancel = useCallback(() => { - router.push(`/ko/juil/project/bidding/estimates/${estimateId}`); + router.push(`/ko/construction/project/bidding/estimates/${estimateId}`); }, [router, estimateId]); // ===== 저장/삭제 핸들러 ===== @@ -114,7 +114,7 @@ export default function EstimateDetailForm({ await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success('수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push(`/ko/juil/project/bidding/estimates/${estimateId}`); + router.push(`/ko/construction/project/bidding/estimates/${estimateId}`); router.refresh(); } catch (error) { toast.error(error instanceof Error ? error.message : '저장에 실패했습니다.'); @@ -133,7 +133,7 @@ export default function EstimateDetailForm({ await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success('견적이 삭제되었습니다.'); setShowDeleteDialog(false); - router.push('/ko/juil/project/bidding/estimates'); + router.push('/ko/construction/project/bidding/estimates'); router.refresh(); } catch (error) { toast.error(error instanceof Error ? error.message : '삭제에 실패했습니다.'); diff --git a/src/components/business/juil/estimates/EstimateListClient.tsx b/src/components/business/construction/estimates/EstimateListClient.tsx similarity index 99% rename from src/components/business/juil/estimates/EstimateListClient.tsx rename to src/components/business/construction/estimates/EstimateListClient.tsx index efabee3d..3205e59b 100644 --- a/src/components/business/juil/estimates/EstimateListClient.tsx +++ b/src/components/business/construction/estimates/EstimateListClient.tsx @@ -240,7 +240,7 @@ export default function EstimateListClient({ initialData = [], initialStats }: E const handleRowClick = useCallback( (estimate: Estimate) => { - router.push(`/ko/juil/project/bidding/estimates/${estimate.id}`); + router.push(`/ko/construction/project/bidding/estimates/${estimate.id}`); }, [router] ); @@ -248,7 +248,7 @@ export default function EstimateListClient({ initialData = [], initialStats }: E const handleEdit = useCallback( (e: React.MouseEvent, estimateId: string) => { e.stopPropagation(); - router.push(`/ko/juil/project/bidding/estimates/${estimateId}/edit`); + router.push(`/ko/construction/project/bidding/estimates/${estimateId}/edit`); }, [router] ); diff --git a/src/components/business/juil/estimates/actions.ts b/src/components/business/construction/estimates/actions.ts similarity index 100% rename from src/components/business/juil/estimates/actions.ts rename to src/components/business/construction/estimates/actions.ts diff --git a/src/components/business/juil/estimates/hooks/index.ts b/src/components/business/construction/estimates/hooks/index.ts similarity index 100% rename from src/components/business/juil/estimates/hooks/index.ts rename to src/components/business/construction/estimates/hooks/index.ts diff --git a/src/components/business/juil/estimates/hooks/useEstimateCalculations.ts b/src/components/business/construction/estimates/hooks/useEstimateCalculations.ts similarity index 100% rename from src/components/business/juil/estimates/hooks/useEstimateCalculations.ts rename to src/components/business/construction/estimates/hooks/useEstimateCalculations.ts diff --git a/src/components/business/juil/estimates/index.ts b/src/components/business/construction/estimates/index.ts similarity index 100% rename from src/components/business/juil/estimates/index.ts rename to src/components/business/construction/estimates/index.ts diff --git a/src/components/business/juil/estimates/modals/ElectronicApprovalModal.tsx b/src/components/business/construction/estimates/modals/ElectronicApprovalModal.tsx similarity index 100% rename from src/components/business/juil/estimates/modals/ElectronicApprovalModal.tsx rename to src/components/business/construction/estimates/modals/ElectronicApprovalModal.tsx diff --git a/src/components/business/juil/estimates/modals/EstimateDocumentModal.tsx b/src/components/business/construction/estimates/modals/EstimateDocumentModal.tsx similarity index 99% rename from src/components/business/juil/estimates/modals/EstimateDocumentModal.tsx rename to src/components/business/construction/estimates/modals/EstimateDocumentModal.tsx index a7bdc7c7..0f5ecb22 100644 --- a/src/components/business/juil/estimates/modals/EstimateDocumentModal.tsx +++ b/src/components/business/construction/estimates/modals/EstimateDocumentModal.tsx @@ -74,7 +74,7 @@ export function EstimateDocumentModal({ const handleEdit = useCallback(() => { if (estimateId) { onClose(); - router.push(`/ko/juil/project/bidding/estimates/${estimateId}/edit`); + router.push(`/ko/construction/project/bidding/estimates/${estimateId}/edit`); } }, [estimateId, onClose, router]); diff --git a/src/components/business/juil/estimates/modals/index.ts b/src/components/business/construction/estimates/modals/index.ts similarity index 100% rename from src/components/business/juil/estimates/modals/index.ts rename to src/components/business/construction/estimates/modals/index.ts diff --git a/src/components/business/juil/estimates/sections/EstimateDetailTableSection.tsx b/src/components/business/construction/estimates/sections/EstimateDetailTableSection.tsx similarity index 100% rename from src/components/business/juil/estimates/sections/EstimateDetailTableSection.tsx rename to src/components/business/construction/estimates/sections/EstimateDetailTableSection.tsx diff --git a/src/components/business/juil/estimates/sections/EstimateInfoSection.tsx b/src/components/business/construction/estimates/sections/EstimateInfoSection.tsx similarity index 100% rename from src/components/business/juil/estimates/sections/EstimateInfoSection.tsx rename to src/components/business/construction/estimates/sections/EstimateInfoSection.tsx diff --git a/src/components/business/juil/estimates/sections/EstimateSummarySection.tsx b/src/components/business/construction/estimates/sections/EstimateSummarySection.tsx similarity index 100% rename from src/components/business/juil/estimates/sections/EstimateSummarySection.tsx rename to src/components/business/construction/estimates/sections/EstimateSummarySection.tsx diff --git a/src/components/business/juil/estimates/sections/ExpenseDetailSection.tsx b/src/components/business/construction/estimates/sections/ExpenseDetailSection.tsx similarity index 100% rename from src/components/business/juil/estimates/sections/ExpenseDetailSection.tsx rename to src/components/business/construction/estimates/sections/ExpenseDetailSection.tsx diff --git a/src/components/business/juil/estimates/sections/PriceAdjustmentSection.tsx b/src/components/business/construction/estimates/sections/PriceAdjustmentSection.tsx similarity index 100% rename from src/components/business/juil/estimates/sections/PriceAdjustmentSection.tsx rename to src/components/business/construction/estimates/sections/PriceAdjustmentSection.tsx diff --git a/src/components/business/juil/estimates/sections/index.ts b/src/components/business/construction/estimates/sections/index.ts similarity index 100% rename from src/components/business/juil/estimates/sections/index.ts rename to src/components/business/construction/estimates/sections/index.ts diff --git a/src/components/business/juil/estimates/types.ts b/src/components/business/construction/estimates/types.ts similarity index 100% rename from src/components/business/juil/estimates/types.ts rename to src/components/business/construction/estimates/types.ts diff --git a/src/components/business/juil/estimates/utils/constants.ts b/src/components/business/construction/estimates/utils/constants.ts similarity index 100% rename from src/components/business/juil/estimates/utils/constants.ts rename to src/components/business/construction/estimates/utils/constants.ts diff --git a/src/components/business/juil/estimates/utils/formatters.ts b/src/components/business/construction/estimates/utils/formatters.ts similarity index 100% rename from src/components/business/juil/estimates/utils/formatters.ts rename to src/components/business/construction/estimates/utils/formatters.ts diff --git a/src/components/business/juil/estimates/utils/index.ts b/src/components/business/construction/estimates/utils/index.ts similarity index 100% rename from src/components/business/juil/estimates/utils/index.ts rename to src/components/business/construction/estimates/utils/index.ts diff --git a/src/components/business/juil/handover-report/HandoverReportDetailForm.tsx b/src/components/business/construction/handover-report/HandoverReportDetailForm.tsx similarity index 98% rename from src/components/business/juil/handover-report/HandoverReportDetailForm.tsx rename to src/components/business/construction/handover-report/HandoverReportDetailForm.tsx index bcb70ea6..ce6b762d 100644 --- a/src/components/business/juil/handover-report/HandoverReportDetailForm.tsx +++ b/src/components/business/construction/handover-report/HandoverReportDetailForm.tsx @@ -102,15 +102,15 @@ export default function HandoverReportDetailForm({ // 네비게이션 핸들러 const handleBack = useCallback(() => { - router.push('/ko/juil/project/contract/handover-report'); + router.push('/ko/construction/project/contract/handover-report'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/project/contract/handover-report/${reportId}/edit`); + router.push(`/ko/construction/project/contract/handover-report/${reportId}/edit`); }, [router, reportId]); const handleCancel = useCallback(() => { - router.push(`/ko/juil/project/contract/handover-report/${reportId}`); + router.push(`/ko/construction/project/contract/handover-report/${reportId}`); }, [router, reportId]); // 폼 필드 변경 @@ -133,7 +133,7 @@ export default function HandoverReportDetailForm({ if (result.success) { toast.success('수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push(`/ko/juil/project/contract/handover-report/${reportId}`); + router.push(`/ko/construction/project/contract/handover-report/${reportId}`); router.refresh(); } else { toast.error(result.error || '저장에 실패했습니다.'); @@ -157,7 +157,7 @@ export default function HandoverReportDetailForm({ if (result.success) { toast.success('인수인계보고서가 삭제되었습니다.'); setShowDeleteDialog(false); - router.push('/ko/juil/project/contract/handover-report'); + router.push('/ko/construction/project/contract/handover-report'); router.refresh(); } else { toast.error(result.error || '삭제에 실패했습니다.'); diff --git a/src/components/business/juil/handover-report/HandoverReportListClient.tsx b/src/components/business/construction/handover-report/HandoverReportListClient.tsx similarity index 98% rename from src/components/business/juil/handover-report/HandoverReportListClient.tsx rename to src/components/business/construction/handover-report/HandoverReportListClient.tsx index 0decdf95..194314c4 100644 --- a/src/components/business/juil/handover-report/HandoverReportListClient.tsx +++ b/src/components/business/construction/handover-report/HandoverReportListClient.tsx @@ -259,7 +259,7 @@ export default function HandoverReportListClient({ const handleRowClick = useCallback( (report: HandoverReport) => { - router.push(`/ko/juil/project/contract/handover-report/${report.id}`); + router.push(`/ko/construction/project/contract/handover-report/${report.id}`); }, [router] ); @@ -267,7 +267,7 @@ export default function HandoverReportListClient({ const handleEdit = useCallback( (e: React.MouseEvent, reportId: string) => { e.stopPropagation(); - router.push(`/ko/juil/project/contract/handover-report/${reportId}/edit`); + router.push(`/ko/construction/project/contract/handover-report/${reportId}/edit`); }, [router] ); diff --git a/src/components/business/juil/handover-report/actions.ts b/src/components/business/construction/handover-report/actions.ts similarity index 100% rename from src/components/business/juil/handover-report/actions.ts rename to src/components/business/construction/handover-report/actions.ts diff --git a/src/components/business/juil/handover-report/index.ts b/src/components/business/construction/handover-report/index.ts similarity index 100% rename from src/components/business/juil/handover-report/index.ts rename to src/components/business/construction/handover-report/index.ts diff --git a/src/components/business/juil/handover-report/modals/HandoverReportDocumentModal.tsx b/src/components/business/construction/handover-report/modals/HandoverReportDocumentModal.tsx similarity index 99% rename from src/components/business/juil/handover-report/modals/HandoverReportDocumentModal.tsx rename to src/components/business/construction/handover-report/modals/HandoverReportDocumentModal.tsx index de535f15..0c399de0 100644 --- a/src/components/business/juil/handover-report/modals/HandoverReportDocumentModal.tsx +++ b/src/components/business/construction/handover-report/modals/HandoverReportDocumentModal.tsx @@ -58,7 +58,7 @@ export function HandoverReportDocumentModal({ // 수정 const handleEdit = () => { onOpenChange(false); - router.push(`/ko/juil/project/contract/handover-report/${report.id}/edit`); + router.push(`/ko/construction/project/contract/handover-report/${report.id}/edit`); }; // 삭제 diff --git a/src/components/business/juil/handover-report/modals/index.ts b/src/components/business/construction/handover-report/modals/index.ts similarity index 100% rename from src/components/business/juil/handover-report/modals/index.ts rename to src/components/business/construction/handover-report/modals/index.ts diff --git a/src/components/business/juil/handover-report/types.ts b/src/components/business/construction/handover-report/types.ts similarity index 100% rename from src/components/business/juil/handover-report/types.ts rename to src/components/business/construction/handover-report/types.ts diff --git a/src/components/business/juil/item-management/ItemDetailClient.tsx b/src/components/business/construction/item-management/ItemDetailClient.tsx similarity index 97% rename from src/components/business/juil/item-management/ItemDetailClient.tsx rename to src/components/business/construction/item-management/ItemDetailClient.tsx index e86ae924..072970a1 100644 --- a/src/components/business/juil/item-management/ItemDetailClient.tsx +++ b/src/components/business/construction/item-management/ItemDetailClient.tsx @@ -114,11 +114,11 @@ export default function ItemDetailClient({ }); } else { toast.error(result.error || '품목 정보를 불러오는데 실패했습니다.'); - router.push('/ko/juil/order/base-info/items'); + router.push('/ko/construction/order/base-info/items'); } } catch { toast.error('품목 정보를 불러오는데 실패했습니다.'); - router.push('/ko/juil/order/base-info/items'); + router.push('/ko/construction/order/base-info/items'); } finally { setIsLoading(false); } @@ -187,7 +187,7 @@ export default function ItemDetailClient({ const result = await createItem(formData); if (result.success && result.data) { toast.success('품목이 등록되었습니다.'); - router.push(`/ko/juil/order/base-info/items/${result.data.id}`); + router.push(`/ko/construction/order/base-info/items/${result.data.id}`); } else { toast.error(result.error || '품목 등록에 실패했습니다.'); } @@ -221,7 +221,7 @@ export default function ItemDetailClient({ const result = await deleteItem(itemId); if (result.success) { toast.success('품목이 삭제되었습니다.'); - router.push('/ko/juil/order/base-info/items'); + router.push('/ko/construction/order/base-info/items'); } else { toast.error(result.error || '품목 삭제에 실패했습니다.'); } @@ -236,18 +236,18 @@ export default function ItemDetailClient({ // 수정 모드 전환 const handleEditMode = useCallback(() => { setMode('edit'); - router.replace(`/ko/juil/order/base-info/items/${itemId}?mode=edit`); + router.replace(`/ko/construction/order/base-info/items/${itemId}?mode=edit`); }, [itemId, router]); // 목록으로 이동 const handleBack = useCallback(() => { - router.push('/ko/juil/order/base-info/items'); + router.push('/ko/construction/order/base-info/items'); }, [router]); // 취소 const handleCancel = useCallback(() => { if (mode === 'new') { - router.push('/ko/juil/order/base-info/items'); + router.push('/ko/construction/order/base-info/items'); } else { setMode('view'); // 원본 데이터로 복원 @@ -265,7 +265,7 @@ export default function ItemDetailClient({ orderItems: originalData.orderItems || [], }); } - router.replace(`/ko/juil/order/base-info/items/${itemId}`); + router.replace(`/ko/construction/order/base-info/items/${itemId}`); } }, [mode, itemId, originalData, router]); diff --git a/src/components/business/juil/item-management/ItemManagementClient.tsx b/src/components/business/construction/item-management/ItemManagementClient.tsx similarity index 98% rename from src/components/business/juil/item-management/ItemManagementClient.tsx rename to src/components/business/construction/item-management/ItemManagementClient.tsx index 9b27aa51..33b17f7b 100644 --- a/src/components/business/juil/item-management/ItemManagementClient.tsx +++ b/src/components/business/construction/item-management/ItemManagementClient.tsx @@ -227,19 +227,19 @@ export default function ItemManagementClient({ const handleRowClick = useCallback( (item: Item) => { - router.push(`/ko/juil/order/base-info/items/${item.id}`); + router.push(`/ko/construction/order/base-info/items/${item.id}`); }, [router] ); const handleCreate = useCallback(() => { - router.push('/ko/juil/order/base-info/items/new'); + router.push('/ko/construction/order/base-info/items/new'); }, [router]); const handleEdit = useCallback( (e: React.MouseEvent, itemId: string) => { e.stopPropagation(); - router.push(`/ko/juil/order/base-info/items/${itemId}?mode=edit`); + router.push(`/ko/construction/order/base-info/items/${itemId}?mode=edit`); }, [router] ); diff --git a/src/components/business/juil/item-management/actions.ts b/src/components/business/construction/item-management/actions.ts similarity index 100% rename from src/components/business/juil/item-management/actions.ts rename to src/components/business/construction/item-management/actions.ts diff --git a/src/components/business/juil/item-management/constants.ts b/src/components/business/construction/item-management/constants.ts similarity index 100% rename from src/components/business/juil/item-management/constants.ts rename to src/components/business/construction/item-management/constants.ts diff --git a/src/components/business/juil/item-management/index.tsx b/src/components/business/construction/item-management/index.tsx similarity index 100% rename from src/components/business/juil/item-management/index.tsx rename to src/components/business/construction/item-management/index.tsx diff --git a/src/components/business/juil/item-management/types.ts b/src/components/business/construction/item-management/types.ts similarity index 100% rename from src/components/business/juil/item-management/types.ts rename to src/components/business/construction/item-management/types.ts diff --git a/src/components/business/juil/labor-management/LaborDetailClient.tsx b/src/components/business/construction/labor-management/LaborDetailClient.tsx similarity index 96% rename from src/components/business/juil/labor-management/LaborDetailClient.tsx rename to src/components/business/construction/labor-management/LaborDetailClient.tsx index 56041c9f..cb3ef217 100644 --- a/src/components/business/juil/labor-management/LaborDetailClient.tsx +++ b/src/components/business/construction/labor-management/LaborDetailClient.tsx @@ -86,11 +86,11 @@ export default function LaborDetailClient({ }); } else { toast.error(result.error || '노임 정보를 불러오는데 실패했습니다.'); - router.push('/ko/juil/order/base-info/labor'); + router.push('/ko/construction/order/base-info/labor'); } } catch { toast.error('노임 정보를 불러오는데 실패했습니다.'); - router.push('/ko/juil/order/base-info/labor'); + router.push('/ko/construction/order/base-info/labor'); } finally { setIsLoading(false); } @@ -140,7 +140,7 @@ export default function LaborDetailClient({ const result = await createLabor(formData); if (result.success && result.data) { toast.success('노임이 등록되었습니다.'); - router.push(`/ko/juil/order/base-info/labor/${result.data.id}`); + router.push(`/ko/construction/order/base-info/labor/${result.data.id}`); } else { toast.error(result.error || '노임 등록에 실패했습니다.'); } @@ -174,7 +174,7 @@ export default function LaborDetailClient({ const result = await deleteLabor(laborId); if (result.success) { toast.success('노임이 삭제되었습니다.'); - router.push('/ko/juil/order/base-info/labor'); + router.push('/ko/construction/order/base-info/labor'); } else { toast.error(result.error || '노임 삭제에 실패했습니다.'); } @@ -189,18 +189,18 @@ export default function LaborDetailClient({ // 수정 모드 전환 const handleEditMode = useCallback(() => { setMode('edit'); - router.replace(`/ko/juil/order/base-info/labor/${laborId}?mode=edit`); + router.replace(`/ko/construction/order/base-info/labor/${laborId}?mode=edit`); }, [laborId, router]); // 목록으로 이동 const handleBack = useCallback(() => { - router.push('/ko/juil/order/base-info/labor'); + router.push('/ko/construction/order/base-info/labor'); }, [router]); // 취소 const handleCancel = useCallback(() => { if (mode === 'new') { - router.push('/ko/juil/order/base-info/labor'); + router.push('/ko/construction/order/base-info/labor'); } else { setMode('view'); // 원본 데이터로 복원 @@ -214,7 +214,7 @@ export default function LaborDetailClient({ status: originalData.status, }); } - router.replace(`/ko/juil/order/base-info/labor/${laborId}`); + router.replace(`/ko/construction/order/base-info/labor/${laborId}`); } }, [mode, laborId, originalData, router]); diff --git a/src/components/business/juil/labor-management/LaborManagementClient.tsx b/src/components/business/construction/labor-management/LaborManagementClient.tsx similarity index 98% rename from src/components/business/juil/labor-management/LaborManagementClient.tsx rename to src/components/business/construction/labor-management/LaborManagementClient.tsx index 7d92978c..533b29f5 100644 --- a/src/components/business/juil/labor-management/LaborManagementClient.tsx +++ b/src/components/business/construction/labor-management/LaborManagementClient.tsx @@ -182,19 +182,19 @@ export default function LaborManagementClient({ const handleRowClick = useCallback( (labor: Labor) => { - router.push(`/ko/juil/order/base-info/labor/${labor.id}`); + router.push(`/ko/construction/order/base-info/labor/${labor.id}`); }, [router] ); const handleCreate = useCallback(() => { - router.push('/ko/juil/order/base-info/labor/new'); + router.push('/ko/construction/order/base-info/labor/new'); }, [router]); const handleEdit = useCallback( (e: React.MouseEvent, laborId: string) => { e.stopPropagation(); - router.push(`/ko/juil/order/base-info/labor/${laborId}?mode=edit`); + router.push(`/ko/construction/order/base-info/labor/${laborId}?mode=edit`); }, [router] ); diff --git a/src/components/business/juil/labor-management/actions.ts b/src/components/business/construction/labor-management/actions.ts similarity index 100% rename from src/components/business/juil/labor-management/actions.ts rename to src/components/business/construction/labor-management/actions.ts diff --git a/src/components/business/juil/labor-management/constants.ts b/src/components/business/construction/labor-management/constants.ts similarity index 100% rename from src/components/business/juil/labor-management/constants.ts rename to src/components/business/construction/labor-management/constants.ts diff --git a/src/components/business/juil/labor-management/index.tsx b/src/components/business/construction/labor-management/index.tsx similarity index 100% rename from src/components/business/juil/labor-management/index.tsx rename to src/components/business/construction/labor-management/index.tsx diff --git a/src/components/business/juil/labor-management/types.ts b/src/components/business/construction/labor-management/types.ts similarity index 100% rename from src/components/business/juil/labor-management/types.ts rename to src/components/business/construction/labor-management/types.ts diff --git a/src/components/business/juil/order-management/OrderDetailForm.tsx b/src/components/business/construction/order-management/OrderDetailForm.tsx similarity index 100% rename from src/components/business/juil/order-management/OrderDetailForm.tsx rename to src/components/business/construction/order-management/OrderDetailForm.tsx diff --git a/src/components/business/juil/order-management/OrderManagementListClient.tsx b/src/components/business/construction/order-management/OrderManagementListClient.tsx similarity index 99% rename from src/components/business/juil/order-management/OrderManagementListClient.tsx rename to src/components/business/construction/order-management/OrderManagementListClient.tsx index 2a7ee674..f021501a 100644 --- a/src/components/business/juil/order-management/OrderManagementListClient.tsx +++ b/src/components/business/construction/order-management/OrderManagementListClient.tsx @@ -351,7 +351,7 @@ export default function OrderManagementListClient({ const handleRowClick = useCallback( (order: Order) => { - router.push(`/ko/juil/order/order-management/${order.id}`); + router.push(`/ko/construction/order/order-management/${order.id}`); }, [router] ); @@ -359,7 +359,7 @@ export default function OrderManagementListClient({ const handleEdit = useCallback( (e: React.MouseEvent, orderId: string) => { e.stopPropagation(); - router.push(`/ko/juil/order/order-management/${orderId}/edit`); + router.push(`/ko/construction/order/order-management/${orderId}/edit`); }, [router] ); @@ -427,7 +427,7 @@ export default function OrderManagementListClient({ }, [selectedItems, loadData]); const handleRegister = useCallback(() => { - router.push('/ko/juil/order/order-management/new'); + router.push('/ko/construction/order/order-management/new'); }, [router]); // 달력 이벤트 핸들러 @@ -443,7 +443,7 @@ export default function OrderManagementListClient({ const handleCalendarEventClick = useCallback((event: ScheduleEvent) => { if (event.data) { - router.push(`/ko/juil/order/order-management/${event.id}`); + router.push(`/ko/construction/order/order-management/${event.id}`); } }, [router]); diff --git a/src/components/business/juil/order-management/actions.ts b/src/components/business/construction/order-management/actions.ts similarity index 100% rename from src/components/business/juil/order-management/actions.ts rename to src/components/business/construction/order-management/actions.ts diff --git a/src/components/business/juil/order-management/cards/ContractInfoCard.tsx b/src/components/business/construction/order-management/cards/ContractInfoCard.tsx similarity index 100% rename from src/components/business/juil/order-management/cards/ContractInfoCard.tsx rename to src/components/business/construction/order-management/cards/ContractInfoCard.tsx diff --git a/src/components/business/juil/order-management/cards/OrderInfoCard.tsx b/src/components/business/construction/order-management/cards/OrderInfoCard.tsx similarity index 100% rename from src/components/business/juil/order-management/cards/OrderInfoCard.tsx rename to src/components/business/construction/order-management/cards/OrderInfoCard.tsx diff --git a/src/components/business/juil/order-management/cards/OrderMemoCard.tsx b/src/components/business/construction/order-management/cards/OrderMemoCard.tsx similarity index 100% rename from src/components/business/juil/order-management/cards/OrderMemoCard.tsx rename to src/components/business/construction/order-management/cards/OrderMemoCard.tsx diff --git a/src/components/business/juil/order-management/cards/OrderScheduleCard.tsx b/src/components/business/construction/order-management/cards/OrderScheduleCard.tsx similarity index 100% rename from src/components/business/juil/order-management/cards/OrderScheduleCard.tsx rename to src/components/business/construction/order-management/cards/OrderScheduleCard.tsx diff --git a/src/components/business/juil/order-management/dialogs/OrderDialogs.tsx b/src/components/business/construction/order-management/dialogs/OrderDialogs.tsx similarity index 100% rename from src/components/business/juil/order-management/dialogs/OrderDialogs.tsx rename to src/components/business/construction/order-management/dialogs/OrderDialogs.tsx diff --git a/src/components/business/juil/order-management/hooks/useOrderDetailForm.ts b/src/components/business/construction/order-management/hooks/useOrderDetailForm.ts similarity index 97% rename from src/components/business/juil/order-management/hooks/useOrderDetailForm.ts rename to src/components/business/construction/order-management/hooks/useOrderDetailForm.ts index cf4a17fd..e384a3d1 100644 --- a/src/components/business/juil/order-management/hooks/useOrderDetailForm.ts +++ b/src/components/business/construction/order-management/hooks/useOrderDetailForm.ts @@ -154,15 +154,15 @@ export function useOrderDetailForm({ // Navigation handlers // ============================================ const handleBack = useCallback(() => { - router.push('/ko/juil/order/order-management'); + router.push('/ko/construction/order/order-management'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/order/order-management/${orderId}/edit`); + router.push(`/ko/construction/order/order-management/${orderId}/edit`); }, [router, orderId]); const handleCancel = useCallback(() => { - router.push(`/ko/juil/order/order-management/${orderId}`); + router.push(`/ko/construction/order/order-management/${orderId}`); }, [router, orderId]); // ============================================ @@ -192,7 +192,7 @@ export function useOrderDetailForm({ if (result.success) { toast.success('수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push(`/ko/juil/order/order-management/${orderId}`); + router.push(`/ko/construction/order/order-management/${orderId}`); router.refresh(); } else { toast.error(result.error || '저장에 실패했습니다.'); @@ -218,7 +218,7 @@ export function useOrderDetailForm({ if (result.success) { toast.success('발주가 삭제되었습니다.'); setShowDeleteDialog(false); - router.push('/ko/juil/order/order-management'); + router.push('/ko/construction/order/order-management'); router.refresh(); } else { toast.error(result.error || '삭제에 실패했습니다.'); @@ -239,7 +239,7 @@ export function useOrderDetailForm({ const result = await duplicateOrder(orderId); if (result.success && result.newId) { toast.success('발주가 복제되었습니다.'); - router.push(`/ko/juil/order/order-management/${result.newId}/edit`); + router.push(`/ko/construction/order/order-management/${result.newId}/edit`); } else { toast.error(result.error || '복제에 실패했습니다.'); } diff --git a/src/components/business/juil/order-management/index.ts b/src/components/business/construction/order-management/index.ts similarity index 100% rename from src/components/business/juil/order-management/index.ts rename to src/components/business/construction/order-management/index.ts diff --git a/src/components/business/juil/order-management/modals/OrderDocumentModal.tsx b/src/components/business/construction/order-management/modals/OrderDocumentModal.tsx similarity index 99% rename from src/components/business/juil/order-management/modals/OrderDocumentModal.tsx rename to src/components/business/construction/order-management/modals/OrderDocumentModal.tsx index cc71644f..24a6e468 100644 --- a/src/components/business/juil/order-management/modals/OrderDocumentModal.tsx +++ b/src/components/business/construction/order-management/modals/OrderDocumentModal.tsx @@ -58,7 +58,7 @@ export function OrderDocumentModal({ // 수정 const handleEdit = () => { onOpenChange(false); - router.push(`/ko/juil/order/order-management/${order.id}/edit`); + router.push(`/ko/construction/order/order-management/${order.id}/edit`); }; // 삭제 diff --git a/src/components/business/juil/order-management/tables/OrderDetailItemTable.tsx b/src/components/business/construction/order-management/tables/OrderDetailItemTable.tsx similarity index 100% rename from src/components/business/juil/order-management/tables/OrderDetailItemTable.tsx rename to src/components/business/construction/order-management/tables/OrderDetailItemTable.tsx diff --git a/src/components/business/juil/order-management/types.ts b/src/components/business/construction/order-management/types.ts similarity index 100% rename from src/components/business/juil/order-management/types.ts rename to src/components/business/construction/order-management/types.ts diff --git a/src/components/business/juil/partners/PartnerForm.tsx b/src/components/business/construction/partners/PartnerForm.tsx similarity index 98% rename from src/components/business/juil/partners/PartnerForm.tsx rename to src/components/business/construction/partners/PartnerForm.tsx index ef71c678..28c8ae4b 100644 --- a/src/components/business/juil/partners/PartnerForm.tsx +++ b/src/components/business/construction/partners/PartnerForm.tsx @@ -131,18 +131,18 @@ export default function PartnerForm({ mode, partnerId, initialData }: PartnerFor // 네비게이션 핸들러 const handleBack = useCallback(() => { - router.push('/ko/juil/project/bidding/partners'); + router.push('/ko/construction/project/bidding/partners'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/project/bidding/partners/${partnerId}/edit`); + router.push(`/ko/construction/project/bidding/partners/${partnerId}/edit`); }, [router, partnerId]); const handleCancel = useCallback(() => { if (isNewMode) { - router.push('/ko/juil/project/bidding/partners'); + router.push('/ko/construction/project/bidding/partners'); } else { - router.push(`/ko/juil/project/bidding/partners/${partnerId}`); + router.push(`/ko/construction/project/bidding/partners/${partnerId}`); } }, [router, partnerId, isNewMode]); @@ -162,7 +162,7 @@ export default function PartnerForm({ mode, partnerId, initialData }: PartnerFor await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success(isNewMode ? '거래처가 등록되었습니다.' : '수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push('/ko/juil/project/bidding/partners'); + router.push('/ko/construction/project/bidding/partners'); router.refresh(); } catch (error) { toast.error(error instanceof Error ? error.message : '저장에 실패했습니다.'); @@ -183,7 +183,7 @@ export default function PartnerForm({ mode, partnerId, initialData }: PartnerFor await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success('거래처가 삭제되었습니다.'); setShowDeleteDialog(false); - router.push('/ko/juil/project/bidding/partners'); + router.push('/ko/construction/project/bidding/partners'); router.refresh(); } catch (error) { toast.error(error instanceof Error ? error.message : '삭제에 실패했습니다.'); diff --git a/src/components/business/juil/partners/PartnerListClient.tsx b/src/components/business/construction/partners/PartnerListClient.tsx similarity index 98% rename from src/components/business/juil/partners/PartnerListClient.tsx rename to src/components/business/construction/partners/PartnerListClient.tsx index 1036da94..4ec975c5 100644 --- a/src/components/business/juil/partners/PartnerListClient.tsx +++ b/src/components/business/construction/partners/PartnerListClient.tsx @@ -202,19 +202,19 @@ export default function PartnerListClient({ initialData = [], initialStats }: Pa const handleRowClick = useCallback( (partner: Partner) => { - router.push(`/ko/juil/project/bidding/partners/${partner.id}`); + router.push(`/ko/construction/project/bidding/partners/${partner.id}`); }, [router] ); const handleCreate = useCallback(() => { - router.push('/ko/juil/project/bidding/partners/new'); + router.push('/ko/construction/project/bidding/partners/new'); }, [router]); const handleEdit = useCallback( (e: React.MouseEvent, partnerId: string) => { e.stopPropagation(); - router.push(`/ko/juil/project/bidding/partners/${partnerId}/edit`); + router.push(`/ko/construction/project/bidding/partners/${partnerId}/edit`); }, [router] ); diff --git a/src/components/business/juil/partners/actions.ts b/src/components/business/construction/partners/actions.ts similarity index 100% rename from src/components/business/juil/partners/actions.ts rename to src/components/business/construction/partners/actions.ts diff --git a/src/components/business/juil/partners/index.ts b/src/components/business/construction/partners/index.ts similarity index 100% rename from src/components/business/juil/partners/index.ts rename to src/components/business/construction/partners/index.ts diff --git a/src/components/business/juil/partners/types.ts b/src/components/business/construction/partners/types.ts similarity index 100% rename from src/components/business/juil/partners/types.ts rename to src/components/business/construction/partners/types.ts diff --git a/src/components/business/juil/pricing-management/PricingDetailClient.tsx b/src/components/business/construction/pricing-management/PricingDetailClient.tsx similarity index 96% rename from src/components/business/juil/pricing-management/PricingDetailClient.tsx rename to src/components/business/construction/pricing-management/PricingDetailClient.tsx index 35d1edba..a5268fc2 100644 --- a/src/components/business/juil/pricing-management/PricingDetailClient.tsx +++ b/src/components/business/construction/pricing-management/PricingDetailClient.tsx @@ -117,7 +117,7 @@ export default function PricingDetailClient({ id, mode }: PricingDetailClientPro }); } else { toast.error(result.error || '데이터를 불러올 수 없습니다.'); - router.push('/ko/juil/order/base-info/pricing'); + router.push('/ko/construction/order/base-info/pricing'); } } } catch { @@ -193,7 +193,7 @@ export default function PricingDetailClient({ id, mode }: PricingDetailClientPro if (result.success) { toast.success('단가가 등록되었습니다.'); - router.push('/ko/juil/order/base-info/pricing'); + router.push('/ko/construction/order/base-info/pricing'); } else { toast.error(result.error || '등록에 실패했습니다.'); } @@ -208,7 +208,7 @@ export default function PricingDetailClient({ id, mode }: PricingDetailClientPro if (result.success) { toast.success('단가가 수정되었습니다.'); - router.push(`/ko/juil/order/base-info/pricing/${id}`); + router.push(`/ko/construction/order/base-info/pricing/${id}`); } else { toast.error(result.error || '수정에 실패했습니다.'); } @@ -229,7 +229,7 @@ export default function PricingDetailClient({ id, mode }: PricingDetailClientPro const result = await deletePricing(id); if (result.success) { toast.success('단가가 삭제되었습니다.'); - router.push('/ko/juil/order/base-info/pricing'); + router.push('/ko/construction/order/base-info/pricing'); } else { toast.error(result.error || '삭제에 실패했습니다.'); } @@ -244,22 +244,22 @@ export default function PricingDetailClient({ id, mode }: PricingDetailClientPro // 수정 페이지로 이동 const handleEdit = useCallback(() => { if (id) { - router.push(`/ko/juil/order/base-info/pricing/${id}/edit`); + router.push(`/ko/construction/order/base-info/pricing/${id}/edit`); } }, [id, router]); // 취소 const handleCancel = useCallback(() => { if (isCreateMode) { - router.push('/ko/juil/order/base-info/pricing'); + router.push('/ko/construction/order/base-info/pricing'); } else if (isEditMode && id) { - router.push(`/ko/juil/order/base-info/pricing/${id}`); + router.push(`/ko/construction/order/base-info/pricing/${id}`); } }, [isCreateMode, isEditMode, id, router]); // 목록으로 이동 const handleBack = useCallback(() => { - router.push('/ko/juil/order/base-info/pricing'); + router.push('/ko/construction/order/base-info/pricing'); }, [router]); // 숫자 포맷 diff --git a/src/components/business/juil/pricing-management/PricingListClient.tsx b/src/components/business/construction/pricing-management/PricingListClient.tsx similarity index 98% rename from src/components/business/juil/pricing-management/PricingListClient.tsx rename to src/components/business/construction/pricing-management/PricingListClient.tsx index c1babf5c..d6f53c02 100644 --- a/src/components/business/juil/pricing-management/PricingListClient.tsx +++ b/src/components/business/construction/pricing-management/PricingListClient.tsx @@ -210,7 +210,7 @@ export default function PricingListClient({ const handleRowClick = useCallback( (pricing: Pricing) => { - router.push(`/ko/juil/order/base-info/pricing/${pricing.id}`); + router.push(`/ko/construction/order/base-info/pricing/${pricing.id}`); }, [router] ); @@ -218,7 +218,7 @@ export default function PricingListClient({ const handleEdit = useCallback( (e: React.MouseEvent, pricingId: string) => { e.stopPropagation(); - router.push(`/ko/juil/order/base-info/pricing/${pricingId}/edit`); + router.push(`/ko/construction/order/base-info/pricing/${pricingId}/edit`); }, [router] ); @@ -286,7 +286,7 @@ export default function PricingListClient({ }, [selectedItems, loadData]); const handleRegister = useCallback(() => { - router.push('/ko/juil/order/base-info/pricing/new'); + router.push('/ko/construction/order/base-info/pricing/new'); }, [router]); // 숫자 포맷 diff --git a/src/components/business/juil/pricing-management/actions.ts b/src/components/business/construction/pricing-management/actions.ts similarity index 100% rename from src/components/business/juil/pricing-management/actions.ts rename to src/components/business/construction/pricing-management/actions.ts diff --git a/src/components/business/juil/pricing-management/index.ts b/src/components/business/construction/pricing-management/index.ts similarity index 100% rename from src/components/business/juil/pricing-management/index.ts rename to src/components/business/construction/pricing-management/index.ts diff --git a/src/components/business/juil/pricing-management/types.ts b/src/components/business/construction/pricing-management/types.ts similarity index 100% rename from src/components/business/juil/pricing-management/types.ts rename to src/components/business/construction/pricing-management/types.ts diff --git a/src/components/business/juil/site-briefings/SiteBriefingForm.tsx b/src/components/business/construction/site-briefings/SiteBriefingForm.tsx similarity index 98% rename from src/components/business/juil/site-briefings/SiteBriefingForm.tsx rename to src/components/business/construction/site-briefings/SiteBriefingForm.tsx index 1ea13e72..3deaa542 100644 --- a/src/components/business/juil/site-briefings/SiteBriefingForm.tsx +++ b/src/components/business/construction/site-briefings/SiteBriefingForm.tsx @@ -124,18 +124,18 @@ export default function SiteBriefingForm({ mode, briefingId, initialData }: Site // 네비게이션 핸들러 const handleBack = useCallback(() => { - router.push('/ko/juil/project/bidding/site-briefings'); + router.push('/ko/construction/project/bidding/site-briefings'); }, [router]); const handleEdit = useCallback(() => { - router.push(`/ko/juil/project/bidding/site-briefings/${briefingId}/edit`); + router.push(`/ko/construction/project/bidding/site-briefings/${briefingId}/edit`); }, [router, briefingId]); const handleCancel = useCallback(() => { if (isNewMode) { - router.push('/ko/juil/project/bidding/site-briefings'); + router.push('/ko/construction/project/bidding/site-briefings'); } else { - router.push(`/ko/juil/project/bidding/site-briefings/${briefingId}`); + router.push(`/ko/construction/project/bidding/site-briefings/${briefingId}`); } }, [router, briefingId, isNewMode]); @@ -155,7 +155,7 @@ export default function SiteBriefingForm({ mode, briefingId, initialData }: Site await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success(isNewMode ? '현장설명회가 등록되었습니다.' : '수정이 완료되었습니다.'); setShowSaveDialog(false); - router.push('/ko/juil/project/bidding/site-briefings'); + router.push('/ko/construction/project/bidding/site-briefings'); router.refresh(); } catch (error) { toast.error(error instanceof Error ? error.message : '저장에 실패했습니다.'); @@ -176,7 +176,7 @@ export default function SiteBriefingForm({ mode, briefingId, initialData }: Site await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success('현장설명회가 삭제되었습니다.'); setShowDeleteDialog(false); - router.push('/ko/juil/project/bidding/site-briefings'); + router.push('/ko/construction/project/bidding/site-briefings'); router.refresh(); } catch (error) { toast.error(error instanceof Error ? error.message : '삭제에 실패했습니다.'); diff --git a/src/components/business/juil/site-briefings/SiteBriefingListClient.tsx b/src/components/business/construction/site-briefings/SiteBriefingListClient.tsx similarity index 98% rename from src/components/business/juil/site-briefings/SiteBriefingListClient.tsx rename to src/components/business/construction/site-briefings/SiteBriefingListClient.tsx index 6bb53081..99efcf9e 100644 --- a/src/components/business/juil/site-briefings/SiteBriefingListClient.tsx +++ b/src/components/business/construction/site-briefings/SiteBriefingListClient.tsx @@ -265,19 +265,19 @@ export default function SiteBriefingListClient({ initialData = [] }: SiteBriefin const handleRowClick = useCallback( (briefing: SiteBriefing) => { - router.push(`/ko/juil/project/bidding/site-briefings/${briefing.id}`); + router.push(`/ko/construction/project/bidding/site-briefings/${briefing.id}`); }, [router] ); const handleCreate = useCallback(() => { - router.push('/ko/juil/project/bidding/site-briefings/new'); + router.push('/ko/construction/project/bidding/site-briefings/new'); }, [router]); const handleEdit = useCallback( (e: React.MouseEvent, briefingId: string) => { e.stopPropagation(); - router.push(`/ko/juil/project/bidding/site-briefings/${briefingId}/edit`); + router.push(`/ko/construction/project/bidding/site-briefings/${briefingId}/edit`); }, [router] ); diff --git a/src/components/business/juil/site-briefings/actions.ts b/src/components/business/construction/site-briefings/actions.ts similarity index 100% rename from src/components/business/juil/site-briefings/actions.ts rename to src/components/business/construction/site-briefings/actions.ts diff --git a/src/components/business/juil/site-briefings/index.ts b/src/components/business/construction/site-briefings/index.ts similarity index 100% rename from src/components/business/juil/site-briefings/index.ts rename to src/components/business/construction/site-briefings/index.ts diff --git a/src/components/business/juil/site-briefings/types.ts b/src/components/business/construction/site-briefings/types.ts similarity index 100% rename from src/components/business/juil/site-briefings/types.ts rename to src/components/business/construction/site-briefings/types.ts diff --git a/src/components/business/juil/site-management/SiteDetailForm.tsx b/src/components/business/construction/site-management/SiteDetailForm.tsx similarity index 98% rename from src/components/business/juil/site-management/SiteDetailForm.tsx rename to src/components/business/construction/site-management/SiteDetailForm.tsx index 58176841..8d13413d 100644 --- a/src/components/business/juil/site-management/SiteDetailForm.tsx +++ b/src/components/business/construction/site-management/SiteDetailForm.tsx @@ -116,7 +116,7 @@ export default function SiteDetailForm({ site, mode = 'view' }: SiteDetailFormPr // 수정 버튼 클릭 const handleEditClick = useCallback(() => { if (site?.id) { - router.push(`/ko/juil/order/site-management/${site.id}/edit`); + router.push(`/ko/construction/order/site-management/${site.id}/edit`); } }, [router, site?.id]); @@ -132,7 +132,7 @@ export default function SiteDetailForm({ site, mode = 'view' }: SiteDetailFormPr // TODO: API 연동 await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success('저장되었습니다.'); - router.push('/ko/juil/order/site-management'); + router.push('/ko/construction/order/site-management'); } catch { toast.error('저장에 실패했습니다.'); } finally { @@ -227,7 +227,7 @@ export default function SiteDetailForm({ site, mode = 'view' }: SiteDetailFormPr actions={ !isEditMode ? ( <> - diff --git a/src/components/business/juil/site-management/SiteManagementListClient.tsx b/src/components/business/construction/site-management/SiteManagementListClient.tsx similarity index 99% rename from src/components/business/juil/site-management/SiteManagementListClient.tsx rename to src/components/business/construction/site-management/SiteManagementListClient.tsx index 82d3d885..666017e2 100644 --- a/src/components/business/juil/site-management/SiteManagementListClient.tsx +++ b/src/components/business/construction/site-management/SiteManagementListClient.tsx @@ -208,7 +208,7 @@ export default function SiteManagementListClient({ const handleRowClick = useCallback( (site: Site) => { - router.push(`/ko/juil/order/site-management/${site.id}`); + router.push(`/ko/construction/order/site-management/${site.id}`); }, [router] ); @@ -216,7 +216,7 @@ export default function SiteManagementListClient({ const handleEdit = useCallback( (e: React.MouseEvent, siteId: string) => { e.stopPropagation(); - router.push(`/ko/juil/order/site-management/${siteId}/edit`); + router.push(`/ko/construction/order/site-management/${siteId}/edit`); }, [router] ); diff --git a/src/components/business/juil/site-management/actions.ts b/src/components/business/construction/site-management/actions.ts similarity index 100% rename from src/components/business/juil/site-management/actions.ts rename to src/components/business/construction/site-management/actions.ts diff --git a/src/components/business/juil/site-management/index.ts b/src/components/business/construction/site-management/index.ts similarity index 100% rename from src/components/business/juil/site-management/index.ts rename to src/components/business/construction/site-management/index.ts diff --git a/src/components/business/juil/site-management/types.ts b/src/components/business/construction/site-management/types.ts similarity index 100% rename from src/components/business/juil/site-management/types.ts rename to src/components/business/construction/site-management/types.ts diff --git a/src/components/business/juil/structure-review/StructureReviewDetailForm.tsx b/src/components/business/construction/structure-review/StructureReviewDetailForm.tsx similarity index 98% rename from src/components/business/juil/structure-review/StructureReviewDetailForm.tsx rename to src/components/business/construction/structure-review/StructureReviewDetailForm.tsx index 4a72edfb..389829e8 100644 --- a/src/components/business/juil/structure-review/StructureReviewDetailForm.tsx +++ b/src/components/business/construction/structure-review/StructureReviewDetailForm.tsx @@ -125,7 +125,7 @@ export default function StructureReviewDetailForm({ // 수정 버튼 클릭 const handleEditClick = useCallback(() => { if (review?.id) { - router.push(`/ko/juil/order/structure-review/${review.id}/edit`); + router.push(`/ko/construction/order/structure-review/${review.id}/edit`); } }, [router, review?.id]); @@ -145,7 +145,7 @@ export default function StructureReviewDetailForm({ // TODO: API 연동 await new Promise((resolve) => setTimeout(resolve, 1000)); toast.success('저장되었습니다.'); - router.push('/ko/juil/order/structure-review'); + router.push('/ko/construction/order/structure-review'); } catch { toast.error('저장에 실패했습니다.'); } finally { @@ -171,7 +171,7 @@ export default function StructureReviewDetailForm({ const result = await deleteStructureReview(review.id); if (result.success) { toast.success('삭제되었습니다.'); - router.push('/ko/juil/order/structure-review'); + router.push('/ko/construction/order/structure-review'); } else { toast.error(result.error || '삭제에 실패했습니다.'); } @@ -185,7 +185,7 @@ export default function StructureReviewDetailForm({ // 목록으로 이동 const handleGoToList = useCallback(() => { - router.push('/ko/juil/order/structure-review'); + router.push('/ko/construction/order/structure-review'); }, [router]); // 파일 업로드 핸들러 diff --git a/src/components/business/juil/structure-review/StructureReviewListClient.tsx b/src/components/business/construction/structure-review/StructureReviewListClient.tsx similarity index 98% rename from src/components/business/juil/structure-review/StructureReviewListClient.tsx rename to src/components/business/construction/structure-review/StructureReviewListClient.tsx index dc961ad6..811c8a28 100644 --- a/src/components/business/juil/structure-review/StructureReviewListClient.tsx +++ b/src/components/business/construction/structure-review/StructureReviewListClient.tsx @@ -215,7 +215,7 @@ export default function StructureReviewListClient({ const handleRowClick = useCallback( (review: StructureReview) => { - router.push(`/ko/juil/order/structure-review/${review.id}`); + router.push(`/ko/construction/order/structure-review/${review.id}`); }, [router] ); @@ -223,7 +223,7 @@ export default function StructureReviewListClient({ const handleEdit = useCallback( (e: React.MouseEvent, reviewId: string) => { e.stopPropagation(); - router.push(`/ko/juil/order/structure-review/${reviewId}/edit`); + router.push(`/ko/construction/order/structure-review/${reviewId}/edit`); }, [router] ); @@ -291,7 +291,7 @@ export default function StructureReviewListClient({ }, [selectedItems, loadData]); const handleRegister = useCallback(() => { - router.push('/ko/juil/order/structure-review/new'); + router.push('/ko/construction/order/structure-review/new'); }, [router]); // 날짜 포맷 diff --git a/src/components/business/juil/structure-review/actions.ts b/src/components/business/construction/structure-review/actions.ts similarity index 100% rename from src/components/business/juil/structure-review/actions.ts rename to src/components/business/construction/structure-review/actions.ts diff --git a/src/components/business/juil/structure-review/index.ts b/src/components/business/construction/structure-review/index.ts similarity index 100% rename from src/components/business/juil/structure-review/index.ts rename to src/components/business/construction/structure-review/index.ts diff --git a/src/components/business/juil/structure-review/types.ts b/src/components/business/construction/structure-review/types.ts similarity index 100% rename from src/components/business/juil/structure-review/types.ts rename to src/components/business/construction/structure-review/types.ts