feat(monthly-confirm): 캘린더 셀 수정 + 수정요청 워크플로우

- review_sent 상태: 셀 클릭 → 수정 드롭다운 (정시/연차/반차/반반차/조퇴/휴무)
- 변경 시 셀에 "수정" 뱃지 + pendingChanges 임시 저장
- "수정요청" 버튼: 수정 내역 있을 때만 활성화 → POST change_details
- pending 상태: "관리자 검토 대기" 메시지 (수정 불가)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-01 09:56:43 +09:00
parent dcd40e692f
commit 5e22ff75e7
3 changed files with 97 additions and 13 deletions

View File

@@ -76,8 +76,14 @@ body { max-width: 480px; margin: 0 auto; }
.cal-cell.special .cal-val { color: #b45309; }
.cal-cell.partial .cal-val { color: #6b7280; }
.cal-cell.none .cal-val { color: #d1d5db; }
.cal-cell.changed { outline: 2px solid #f59e0b; outline-offset: -2px; }
.cal-cell.changed::after { content: '수정'; position: absolute; top: 1px; right: 2px; font-size: 0.5rem; color: #f59e0b; font-weight: 700; }
.cal-cell { position: relative; }
/* 상세 표시 */
/* 상세 표시 + 수정 */
.cal-edit-row { margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.cal-edit-select { padding: 4px 8px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 0.8rem; flex: 1; }
.cal-changed-badge { font-size: 0.65rem; font-weight: 700; color: #f59e0b; background: #fefce8; padding: 1px 6px; border-radius: 4px; }
.cal-detail { display: none; margin-bottom: 10px; }
.cal-detail-inner {
background: white; border-radius: 10px; padding: 10px 14px;