- 3개 검사 콘텐츠 컴포넌트에 forwardRef + useImperativeHandle 추가 (getInspectionData 노출)
- InspectionReportModal에 readOnly prop, 저장 버튼, ref 연결 추가
- saveInspectionData 서버 액션 추가 (POST /api/v1/work-orders/{id}/inspection)
- 작업자 화면에서 readOnly={false} 전달 (편집+저장 가능)
- 작업지시 관리에서는 readOnly 기본값(true)으로 읽기 전용 유지
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
620 B
TypeScript
14 lines
620 B
TypeScript
// 작업일지 문서 (공정별)
|
|
export { ScreenWorkLogContent } from './ScreenWorkLogContent';
|
|
export { SlatWorkLogContent } from './SlatWorkLogContent';
|
|
export { BendingWorkLogContent } from './BendingWorkLogContent';
|
|
|
|
// 중간검사 성적서 문서 (공정별)
|
|
export { ScreenInspectionContent } from './ScreenInspectionContent';
|
|
export { SlatInspectionContent } from './SlatInspectionContent';
|
|
export { BendingInspectionContent } from './BendingInspectionContent';
|
|
export type { InspectionContentRef } from './ScreenInspectionContent';
|
|
|
|
// 모달
|
|
export { InspectionReportModal } from './InspectionReportModal';
|