updated kpi

This commit is contained in:
Warunee Tamkoo 2024-05-16 16:15:57 +07:00
parent bb19640c98
commit 6c03e24518
8 changed files with 114 additions and 46 deletions

View file

@ -72,7 +72,7 @@ function onClickApprove(type: string = "") {
? "DONE"
: store.tabMainevaluator === "4"
? "EVALUATING"
: store.tabMainevaluator === "5"
: store.tabMainevaluator === "5" || store.tabMainevaluator === "6"
? type
: undefined,
id: userIds,

View file

@ -169,11 +169,7 @@ function getCriteria() {
}
const isShowScore = computed(() => {
return (
store.tabOpen === 3 &&
store.tabMain === "3" &&
store.dataEvaluation.evaluationStatus === "EVALUATING"
);
return store.tabOpen === 3 && store.tabMain === "3";
});
watch(

View file

@ -275,7 +275,7 @@ watch(
<template v-slot:before>
<div class="q-pa-sm">
<q-btn
v-if="store.rolePerson"
v-if="store.rolePerson === 'USER'"
icon="add"
color="teal"
flat

View file

@ -222,6 +222,7 @@ watch(
<template v-slot:before>
<div class="q-pa-sm">
<q-btn
v-if="store.rolePerson === 'USER'"
icon="add"
color="teal"
flat