From 3d6654259a5985778f31dedcaabd85434fb962bd Mon Sep 17 00:00:00 2001 From: hskwon Date: Wed, 24 Dec 2025 19:41:33 +0900 Subject: [PATCH] =?UTF-8?q?docs:=20=EC=96=B4=EC=9D=8C=20=EC=A4=91=EB=B3=B5?= =?UTF-8?q?=EB=B2=88=ED=98=B8=20=EA=B2=80=EC=A6=9D=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EC=9D=B4=EB=A0=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plans/react-mock-to-api-migration-plan.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/plans/react-mock-to-api-migration-plan.md b/plans/react-mock-to-api-migration-plan.md index 60afe90..d80af3b 100644 --- a/plans/react-mock-to-api-migration-plan.md +++ b/plans/react-mock-to-api-migration-plan.md @@ -154,11 +154,11 @@ ListClient.tsx (클라이언트) | # | 페이지 | React 경로 | 리스트 | 상세 조회 | 등록 | 수정 | 삭제 | 비고 | |---|--------|-----------|--------|----------|------|------|------|------| | B-1 | 매출 관리 | `/accounting/sales` | ✅ | ✅ | ✅ | ✅ | ✅ | API 연동 완료, alert→toast 변환 | -| B-2 | 매입 관리 | `/accounting/purchase` | ✅ | 🔄 Mock | 📦 | 📦 | 📦 | `index.tsx:202` console.log('삭제') | -| B-3 | 입금 관리 | `/accounting/deposit` | ✅ | 🔄 Mock | 🔄 | 🔄 | 📦 | `DepositDetail.tsx:102,136` console.log | -| B-4 | 출금 관리 | `/accounting/withdrawal` | ✅ | 🔄 Mock | 🔄 | 🔄 | 📦 | `WithdrawalDetail.tsx:107,137` console.log | -| B-5 | 거래처 관리 | `/accounting/vendor` | ✅ | 🔄 Mock | 📦 | 📦 | 📦 | `VendorDetail.tsx:213,228` console.log | -| B-6 | 어음 관리 | `/accounting/bills` | ✅ | ⏭️ 모달 | 📦 | 📦 | 📦 | `index.tsx:203,427` console.log | +| B-2 | 매입 관리 | `/accounting/purchase` | ✅ | ✅ | ✅ | ✅ | ✅ | API 연동 완료, alert→toast 변환 | +| B-3 | 입금 관리 | `/accounting/deposit` | ✅ | ✅ | ✅ | ✅ | ✅ | API 연동 완료, alert→toast 변환 | +| B-4 | 출금 관리 | `/accounting/withdrawal` | ✅ | ✅ | ✅ | ✅ | ✅ | API 연동 완료, alert→toast 변환 | +| B-5 | 거래처 관리 | `/accounting/vendor` | ✅ | ✅ | ✅ | ✅ | ✅ | API 연동 완료, console.error 제거 | +| B-6 | 어음 관리 | `/accounting/bills` | ✅ | ⏭️ 모달 | ✅ | ✅ | ✅ | API 연동 완료 | ### 2.3 Phase C: 인사/근태 @@ -168,7 +168,7 @@ ListClient.tsx (클라이언트) |---|--------|-----------|--------|----------|------|------|------|------| | C-1 | 직원 관리 | `/hr/employee-management` | ✅ | ✅ | ✅ | ✅ | ✅ | **2025-12-24 연동 완료** - actions.ts, utils.ts 생성, 전체 CRUD API 연동 | | C-2 | 근태 관리 | `/hr/attendance` | ✅ | ⏭️ | ✅ | ⏭️ | ⏭️ | **2025-12-24 연동 완료** - actions.ts 생성, check-in/check-out/today API 연동 | -| C-3 | 휴가 관리 | `/hr/vacation-management` | ✅ | ⏭️ | ✅ | ⏭️ | ⏭️ | **2025-12-24 연동 완료** - actions.ts 생성, 신청현황 탭 API 연동 (목록/승인/반려/신청) | +| C-3 | 휴가 관리 | `/hr/vacation-management` | ✅ | ⏭️ | ✅ | ⏭️ | ⏭️ | **2025-12-24 연동 완료** - actions.ts 생성, 신청현황 탭 API 연동 (목록/승인/반려/신청), 사용현황/부여현황 탭 API 연동 | | C-4 | 부서 관리 | `/hr/departments` | ✅ | ⏭️ | ✅ | ✅ | ✅ | **2025-12-24 연동 완료** - actions.ts 생성, 트리 조회/생성/수정/삭제 API 연동 | ### 2.4 Phase D: 설정/시스템 관리 @@ -179,8 +179,8 @@ ListClient.tsx (클라이언트) |---|--------|-----------|--------|----------|------|------|------|------| | D-1 | 회사 정보 관리 | `/settings/company-info` | ✅ | ⏭️ | ⏭️ | ✅ | ⏭️ | **2025-12-24 연동 완료** - actions.ts 생성, API 조회/수정 연동 | | D-2 | 계정 관리 | `/settings/accounts` | ✅ | ✅ | ✅ | ✅ | ✅ | **2025-12-24 연동 완료** - actions.ts 생성, CRUD API 연동 | -| D-3 | 근무 일정 관리 | `/settings/work-schedule` | 🔄 Mock | ⏭️ | ⏭️ | 🔄 | ⏭️ | `index.tsx:101` console.log('저장') | -| D-4 | 근태 설정 관리 | `/settings/attendance-settings` | 🔄 Mock | ⏭️ | ⏭️ | 🔄 | ⏭️ | `index.tsx:89` console.log('저장') | +| D-3 | 근무 일정 관리 | `/settings/work-schedule` | ✅ | ⏭️ | ⏭️ | ✅ | ⏭️ | **2025-12-24 연동 완료** - actions.ts 생성, 조회/수정 API 연동 | +| D-4 | 근태 설정 관리 | `/settings/attendance-settings` | ✅ | ⏭️ | ⏭️ | ✅ | ⏭️ | **2025-12-24 연동 완료** - actions.ts 생성, GPS/허용반경 API 연동 | ### 2.5 Phase E: 인사/급여 @@ -974,6 +974,9 @@ export function transformFrontendToApi(data: Record): Record