fix: 직무별 기준 사양 대비 부족 사양(0.6배 미만) 및 오버스펙(1.5배 초과) 판정 수치 비율 임계치 조정
This commit is contained in:
@@ -344,10 +344,10 @@ function updateDashboardData(pcs: any[], selectedDept: string) {
|
|||||||
let isUnder = false;
|
let isUnder = false;
|
||||||
|
|
||||||
if (standardScore > 0 && job !== '재고PC') {
|
if (standardScore > 0 && job !== '재고PC') {
|
||||||
if (score < standardScore) {
|
if (score < standardScore * 0.6) {
|
||||||
isUnder = true;
|
isUnder = true;
|
||||||
p._spec_status = '사양 부족';
|
p._spec_status = '사양 부족';
|
||||||
} else if (score > standardScore * 1.2 && !win11Incompatible) {
|
} else if (score > standardScore * 1.5 && !win11Incompatible) {
|
||||||
p._spec_status = '오버스펙';
|
p._spec_status = '오버스펙';
|
||||||
criticalList.push(p);
|
criticalList.push(p);
|
||||||
overSpecCount++;
|
overSpecCount++;
|
||||||
|
|||||||
@@ -935,10 +935,10 @@ export function createListView(container: HTMLElement, config: ListViewConfig) {
|
|||||||
|
|
||||||
let isUnder = false;
|
let isUnder = false;
|
||||||
if (standardScore > 0) {
|
if (standardScore > 0) {
|
||||||
if (score < standardScore) {
|
if (score < standardScore * 0.6) {
|
||||||
isUnder = true;
|
isUnder = true;
|
||||||
pc['_spec_status'] = '사양 부족';
|
pc['_spec_status'] = '사양 부족';
|
||||||
} else if (score > standardScore * 1.2 && !win11Incompatible) {
|
} else if (score > standardScore * 1.5 && !win11Incompatible) {
|
||||||
pc['_spec_status'] = '오버스펙';
|
pc['_spec_status'] = '오버스펙';
|
||||||
criticalPcList.push(pc);
|
criticalPcList.push(pc);
|
||||||
} else if (win11Incompatible) {
|
} else if (win11Incompatible) {
|
||||||
|
|||||||
Reference in New Issue
Block a user