feat(WEB):작업자 화면 단계 진행 API 연동 및 순차 진행 UI

- stepProgressMap: 작업지시별 단계 진행 데이터 캐시 및 API 로드
- 개소별 step 완료 상태를 서버 데이터 기반으로 표시
- WorkItemCard: 이전 단계 완료 후 다음 단계 활성화 (순차 진행 잠금)
- click_complete 타입 단계 클릭 시 서버 토글 API 호출
- 검사 데이터 로드 타이밍을 workItems 의존성으로 보장
- InspectionInputModal: nonConformingContent 초기값 보정
This commit is contained in:
2026-02-13 03:41:59 +09:00
parent 4644ae298d
commit 841c284586
5 changed files with 137 additions and 75 deletions

View File

@@ -487,6 +487,7 @@ export function InspectionInputModal({
...initialData,
productName: initialData.productName || productName,
specification: initialData.specification || specification,
nonConformingContent: initialData.nonConformingContent ?? '',
});
if (initialData.gapPoints) {
setGapPoints(initialData.gapPoints);