Issue #166: Done.
This commit is contained in:
@@ -85,7 +85,6 @@
|
||||
<script>
|
||||
import { storeToRefs } from 'pinia';
|
||||
import AllMapDataStore from '@/stores/allMapData.js';
|
||||
import getNumberLabel from '@/module/numberLabel.js';
|
||||
import getTimeLabel from '@/module/timeLabel.js';
|
||||
import getMoment from 'moment';
|
||||
|
||||
@@ -117,23 +116,23 @@ export default {
|
||||
getStatData() {
|
||||
this.statData = {
|
||||
cases: {
|
||||
count: getNumberLabel(this.stats.cases.count),
|
||||
total: getNumberLabel(this.stats.cases.total),
|
||||
count: this.stats.cases.count.toLocaleString('en-US'),
|
||||
total: this.stats.cases.total.toLocaleString('en-US'),
|
||||
ratio: this.getPercentLabel(this.stats.cases.ratio)
|
||||
},
|
||||
traces: {
|
||||
count: getNumberLabel(this.stats.traces.count),
|
||||
total: getNumberLabel(this.stats.traces.total),
|
||||
count: this.stats.traces.count.toLocaleString('en-US'),
|
||||
total: this.stats.traces.total.toLocaleString('en-US'),
|
||||
ratio: this.getPercentLabel(this.stats.traces.ratio)
|
||||
},
|
||||
task_instances: {
|
||||
count: getNumberLabel(this.stats.task_instances.count),
|
||||
total: getNumberLabel(this.stats.task_instances.total),
|
||||
count: this.stats.task_instances.count.toLocaleString('en-US'),
|
||||
total: this.stats.task_instances.total.toLocaleString('en-US'),
|
||||
ratio: this.getPercentLabel(this.stats.task_instances.ratio)
|
||||
},
|
||||
tasks: {
|
||||
count: getNumberLabel(this.stats.tasks.count),
|
||||
total: getNumberLabel(this.stats.tasks.total),
|
||||
count: this.stats.tasks.count.toLocaleString('en-US'),
|
||||
total: this.stats.tasks.total.toLocaleString('en-US'),
|
||||
ratio: this.getPercentLabel(this.stats.tasks.ratio)
|
||||
},
|
||||
started_at: getMoment(this.stats.started_at).format('YYYY-MM-DD HH:mm'),
|
||||
|
||||
Reference in New Issue
Block a user