Issue #119: Done.

This commit is contained in:
chiayin
2023-09-19 14:35:09 +08:00
parent b528e36a8f
commit c4373ac248

View File

@@ -324,7 +324,7 @@ export default {
no: item.no, no: item.no,
label: item.description, label: item.description,
value: `width:${this.getPercentLabel(item.count / data.counts.conforming)}%;`, value: `width:${this.getPercentLabel(item.count / data.counts.conforming)}%;`,
count: item.count, count: getNumberLabel(item.count),
ratio: this.getPercentLabel(item.count / data.counts.conforming), ratio: this.getPercentLabel(item.count / data.counts.conforming),
} }
}); });
@@ -333,7 +333,7 @@ export default {
no: item.no, no: item.no,
label: item.description, label: item.description,
value: `width:${this.getPercentLabel(item.count / data.counts.not_conforming)}%;`, value: `width:${this.getPercentLabel(item.count / data.counts.not_conforming)}%;`,
count: item.count, count: getNumberLabel(item.count),
ratio: this.getPercentLabel(item.count / data.counts.not_conforming), ratio: this.getPercentLabel(item.count / data.counts.not_conforming),
} }
}); });