+
+ ${totUnder > 0 ? `
` : ''}
+ ${totNormal > 0 ? `
` : ''}
+ ${totOver > 0 ? `
` : ''}
-
- ${totUnder > 0 ? `
부족 ${totUnder}` : ''}
- ${totNormal > 0 ? `
적정 ${totNormal}` : ''}
- ${totOver > 0 ? `
오버 ${totOver}` : ''}
+
+ ${totUnder > 0 ? `부족 ${totUnder}` : ''}
+ ${totNormal > 0 ? `적정 ${totNormal}` : ''}
+ ${totOver > 0 ? `오버 ${totOver}` : ''}
`;
} else {
- totBarGraphHtml = `
운영중 자산 없음`;
+ totBarGraphHtml = `
운영중 자산 없음`;
}
- const cellStyleHeader = `padding: 10px 8px; text-align: center; font-weight: 800; cursor: pointer; transition: background 0.2s; background: #F8FAFC; font-size: 1.1rem;`;
+ const cellStyleHeader = `padding: 12px 10px; text-align: center; font-weight: 800; cursor: pointer; transition: background 0.2s; background: #F8FAFC; font-size: 1.05rem;`;
const hoverEventsHeader = `onmouseover="this.style.background='#EEF2F6'" onmouseout="this.style.background='#F8FAFC'"`;
matrixTbody.innerHTML = `
@@ -483,12 +502,12 @@ function updateDashboardData(pcs: any[], selectedDept: string) {
${renderMatrixRow('entry', '보급 PC (20점 ~ 40점)', '#F59E0B', entryShortage)}
${renderMatrixRow('replace', '교체 대상 PC (20점 미만 또는 Win11 불가)', '#EF4444', replaceShortage)}
- | 합계 (Total) |
- ${totalPcs}대 (100%) |
+ 합계 (Total) |
+ ${totalPcs}대 (100%) |
${totalActive}대 |
${totalStock}대 |
${totalShortage}대 |
-
+ |
${totBarGraphHtml}
|