feat: 중간 점검 보고를 모달 + 카테고리 탭으로 열람

하단 토글 목록 제거 → 상단 '보고 완료' 체크포인트 클릭 시 모달로 보고 내용 표시.
모달은 업무 생성의 카테고리 탭(필수/관리/보안/부가) 방식으로 항목을 구분해 보여준다.
보고 스냅샷에 category 추가(백엔드 엔티티/서비스 + 프론트 타입/뷰/스토어).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-22 15:33:19 +09:00
parent 31704cc95b
commit 98a2308c4e
6 changed files with 234 additions and 116 deletions
@@ -10,12 +10,16 @@ import {
import { User } from '../../user/entities/user.entity';
import { Task } from './task.entity';
import { TaskCheckpoint } from './task-checkpoint.entity';
import type { ChecklistWorkStatus } from './checklist-item.entity';
import type {
ChecklistCategory,
ChecklistWorkStatus,
} from './checklist-item.entity';
// 보고 스냅샷의 항목 단위(보고 시점의 항목별 진행 상태를 동결 보관)
export interface ReportItemSnapshot {
itemId: string;
text: string;
category: ChecklistCategory;
workStatus: ChecklistWorkStatus;
}
+1 -1
View File
@@ -1383,7 +1383,7 @@ export class TaskService {
c.workStatus = ws;
changed.push(c);
}
return { itemId: c.id, text: c.text, workStatus: ws };
return { itemId: c.id, text: c.text, category: c.category, workStatus: ws };
});
if (changed.length) {
await this.checklistRepo.save(changed);