From a44283281f903535437d65f415433b42e64e1c7f Mon Sep 17 00:00:00 2001 From: JooWangi Date: Mon, 15 Jun 2026 14:53:36 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20?= =?UTF-8?q?=EB=AF=B8=EB=8B=88=20=EB=AA=A8=EB=8B=AC=20=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=EC=9E=90=EC=82=B0=20=EB=AA=A9=EB=A1=9D=20=ED=85=8C=EC=9D=B4?= =?UTF-8?q?=EB=B8=94=EC=97=90=20=EB=93=B1=EA=B8=89=20=EB=B0=8F=20=EC=A0=90?= =?UTF-8?q?=EC=88=98=20=EC=BB=AC=EB=9F=BC=20=ED=91=9C=EA=B8=B0=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Dashboard/HwDashboard.ts | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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 || '-'}