From 5104a8b01277bbae3180275f79a0b4511b0090d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Wed, 11 Feb 2026 14:30:46 +0900 Subject: [PATCH] =?UTF-8?q?feat(WEB):=20=EA=B3=B5=EC=A0=95=20=EB=8B=A8?= =?UTF-8?q?=EA=B3=84=20=EC=84=A4=EC=A0=95(=EA=B2=80=EC=82=AC=EC=97=AC?= =?UTF-8?q?=EB=B6=80/=EC=97=B0=EA=B2=B0=EC=A0=95=EB=B3=B4/=EC=99=84?= =?UTF-8?q?=EB=A3=8C=EC=A0=95=EB=B3=B4)=20=E2=86=92=20WorkerScreen=20?= =?UTF-8?q?=EC=97=B0=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - WorkStepData 타입에 stepProgressId, needsInspection, connectionType, connectionTarget, completionType 추가 - getWorkOrderDetail step 변환에서 needs_inspection, connection_type, completion_type 추출 - PROCESS_STEPS 폴백 시 processListCache 단계 설정 매칭하여 enrichStep 헬퍼로 주입 - handleStepClick에 connectionType='팝업' + connectionTarget='중간검사' 분기 추가 - handleInspectionComplete에서 completionType='검사완료 시 완료' 단계 toggleStepProgress API 호출 - TemplateInspectionContent: reference_attribute → workItem 치수 연동 - InspectionInputModal: workItemDimensions prop으로 실제 치수 기반 설계값 표시 --- src/components/dev/DevToolbar.tsx | 10 +- .../process-management/ProcessDetail.tsx | 27 + .../process-management/ProcessForm.tsx | 46 +- .../process-management/ProcessListClient.tsx | 16 + .../process-management/StepForm.tsx | 2 +- src/components/process-management/actions.ts | 13 +- .../production/ProductionDashboard/types.ts | 5 + .../documents/TemplateInspectionContent.tsx | 684 +++++++++++------- .../WorkerScreen/InspectionInputModal.tsx | 193 +++-- .../production/WorkerScreen/actions.ts | 34 +- .../production/WorkerScreen/index.tsx | 180 +++-- .../production/WorkerScreen/types.ts | 20 +- src/types/process.ts | 10 +- 13 files changed, 831 insertions(+), 409 deletions(-) diff --git a/src/components/dev/DevToolbar.tsx b/src/components/dev/DevToolbar.tsx index ea3d523e..d25ef4ea 100644 --- a/src/components/dev/DevToolbar.tsx +++ b/src/components/dev/DevToolbar.tsx @@ -132,7 +132,7 @@ export function DevToolbar() { // 숨김 상태일 때 작은 버튼만 표시 if (!isVisible) { return ( -
+