feat(monthly-comparison): 검토완료 상단 토글 + 월 유지 + 확인요청 조건

- 검토완료 버튼: 하단 제거 → 헤더 토글 ("검토하기" ↔ "✓ 검토완료")
- 상세→목록 복귀: year/month URL 유지 (4월로 리셋 방지)
- 확인요청: 전원 admin_checked 시만 활성화 (정책 변경)
- Sprint 004 PLAN.md: 정책 변경 이력 추가

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-04-01 08:37:19 +09:00
parent 4bb4fbd225
commit 4309d308bc
3 changed files with 198 additions and 26 deletions

View File

@@ -37,8 +37,8 @@
<!-- 페이지 헤더 -->
<div class="mc-header">
<div class="mc-header-row">
<button type="button" onclick="history.back()" class="mc-back-btn"><i class="fas fa-arrow-left"></i></button>
<h1 id="pageTitle">월간 근무 비교</h1>
<button type="button" onclick="typeof goBackToList==='function'?goBackToList():history.back()" class="mc-back-btn"><i class="fas fa-arrow-left"></i></button>
<h1 id="pageTitle" style="display:flex;align-items:center;gap:8px;flex:1">월간 근무 비교</h1>
<button id="viewToggleBtn" class="mc-view-toggle hidden" onclick="toggleViewMode()">
<i class="fas fa-users-cog"></i>
</button>
@@ -87,12 +87,7 @@
<span id="confirmedText"></span>
</div>
<!-- 관리자 검토완료 버튼 (detail 모드) -->
<div class="mc-bottom-actions hidden" id="adminCheckBtn">
<button type="button" style="flex:1;padding:14px;background:#10b981;color:white;font-size:0.9rem;font-weight:700;border:none;border-radius:12px;cursor:pointer;" onclick="markAdminChecked()">
<i class="fas fa-check mr-2"></i>검토완료
</button>
</div>
<!-- 하단 검토완료 버튼 제거됨 — 상단 헤더로 이동 -->
</div>
<!-- ═══ 관리자 뷰 ═══ -->
@@ -169,7 +164,7 @@
<script src="/static/js/tkfb-core.js?v=2026033108"></script>
<script src="/js/api-base.js?v=2026031701"></script>
<script src="/js/monthly-comparison.js?v=2026040103"></script>
<script src="/js/monthly-comparison.js?v=2026040104"></script>
<script>initAuth();</script>
</body>
</html>