Merge branch 'NiceDev' into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-25 15:49:59 +07:00
commit 2f1a600c22
3 changed files with 9 additions and 5 deletions

View file

@ -46,6 +46,7 @@ function fetchListPlanned() {
(sum: number, e: any) => sum + e.evaluationResults,
0
);
totalResults1.value = (result * 80) / 100;
})
.catch((err) => {
@ -97,6 +98,7 @@ function fetchAssigned() {
(sum: number, e: any) => sum + e.evaluationResults,
0
);
totalResults3.value = (result * 80) / 100;
})
.catch((err) => {
@ -112,7 +114,7 @@ function onInfo() {
}
const resultWork = computed(() => {
const total = totalResults1.value + totalResults2.value + totalResults3.value;
return parseFloat(((total * 80) / 100).toFixed(2));
return parseFloat(((total * 80) ).toFixed(2));
});
onMounted(() => {