feat: 다수 기능 개선 - 순찰, 출근, 작업분석, 모바일 UI 등

- 순찰/점검 기능 개선 (zone-detail 페이지 추가)
- 출근/근태 시스템 개선 (연차 조회, 근무현황)
- 작업분석 대분류 그룹화 및 마이그레이션 스크립트
- 모바일 네비게이션 UI 추가
- NAS 배포 도구 및 문서 추가

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-02-09 14:41:01 +09:00
parent 1548253f56
commit 2b1c7bfb88
633 changed files with 361224 additions and 1090 deletions

View File

@@ -39,10 +39,18 @@ exports.createTask = asyncHandler(async (req, res) => {
});
/**
* 전체 작업 조회
* 전체 작업 조회 (work_type_id 필터 지원)
*/
exports.getAllTasks = asyncHandler(async (req, res) => {
const rows = await taskModel.getAllTasks();
const { work_type_id } = req.query;
let rows;
if (work_type_id) {
// 특정 공정의 활성 작업만 조회
rows = await taskModel.getTasksByWorkType(work_type_id);
} else {
rows = await taskModel.getAllTasks();
}
res.json({
success: true,