diff --git a/frontend/issues-dashboard.html b/frontend/issues-dashboard.html index 98c5a13..886ea4a 100644 --- a/frontend/issues-dashboard.html +++ b/frontend/issues-dashboard.html @@ -505,12 +505,10 @@ // 카테고리 텍스트 변환 const getCategoryText = (category) => { const categoryMap = { - 'quality': '품질', - 'safety': '안전', - 'environment': '환경', - 'process': '공정', - 'equipment': '장비', - 'material': '자재', + 'material_missing': '자재 누락', + 'design_error': '설계 오류', + 'incoming_defect': '반입 불량', + 'inspection_miss': '검사 누락', 'etc': '기타' }; return category ? categoryMap[category] || category : '-'; @@ -540,99 +538,119 @@
-
+
No.${issue.project_sequence_no || '-'}
${projectName} - - - ${getCategoryText(issue.final_category || issue.category)} -

${getIssueTitle(issue)}

-
- ${isUrgent() ? '🔥 긴급' : ''} -
-
- 진행 중 - +
+
+ ${isUrgent() ? '🔥 긴급' : ''} +
+
+ 진행 중 + +
+
+
+ + + ${getCategoryText(issue.final_category || issue.category)} + +
+
발생 날짜
+
${formatKSTDate(issue.report_date)}
+
- -
- + +
+
상세 내용
-
+
${getIssueDetail(issue)}
- 발생 날짜 -
${formatKSTDate(issue.report_date)}
+
+ + 해결 방안 +
+
+
+ ${issue.solution || '미정'} +
+
- +
- 이미지 -
+
+ + 이미지 +
+
${issue.photo_path ? ` -
+
부적합 사진 1 -
+
` : ` -
- +
+
`} ${issue.photo_path2 ? ` -
+
부적합 사진 2 -
+
` : ` -
- +
+
`}
-
-
- 마감시간: -
${formatKSTDate(issue.expected_completion_date)}
-
-
- 담당자: -
${issue.responsible_person || '-'}
-
+
+ + 일정 & 담당
-
- - -
- 해결 방안 -
- ${issue.solution || '미정'} +
+
+
+ 마감시간 + +
+
${formatKSTDate(issue.expected_completion_date)}
+
+
+
+ 담당자 + +
+
${issue.responsible_person || '-'}
+