diff --git a/src/views/Dashboard/HwDashboard.ts b/src/views/Dashboard/HwDashboard.ts index cde2cda..2c91be7 100644 --- a/src/views/Dashboard/HwDashboard.ts +++ b/src/views/Dashboard/HwDashboard.ts @@ -658,7 +658,7 @@ function showMiniListModal(title: string, list: any[]) { `; modal.innerHTML = ` -
+

@@ -673,23 +673,31 @@ function showMiniListModal(title: string, list: any[]) { - - - + + + + ${list.length === 0 - ? `` + ? `` : list.map(pc => { const spec = `${pc.cpu || ''} / ${pc.ram || ''} / ${pc.gpu || '-'}`; const user = pc.user_current || '(재고)'; + const score = pc._pc_score !== undefined ? pc._pc_score : calculatePcScoreDeductive(pc.cpu, pc.ram, pc.gpu, pc.purchase_date); + const win11Incompatible = isWindows11Incompatible(pc.cpu, pc.ram); + const grade = getPcGrade(score, win11Incompatible); + const badgeHTML = `${grade.name}`; + const scoreHTML = `${score}점`; + return ` + `;
사용자조직 (직무)주요 사양사용자조직 (직무)주요 사양등급 (점수) 자산코드
해당 등급의 자산이 없습니다.
해당 등급의 자산이 없습니다.
${user} ${pc.current_dept || '-'} (${pc.user_position || '-'}) ${spec}${badgeHTML}${scoreHTML} ${pc.asset_code || '-'}