fix bug kpi development

This commit is contained in:
Warunee Tamkoo 2024-05-16 16:39:20 +07:00
parent 6c03e24518
commit fc1d1365e8

View file

@ -152,14 +152,14 @@ const type = ref<string>("");
const idList = ref<string>(""); const idList = ref<string>("");
function openPopupProgress(id: string) { function openPopupProgress(id: string) {
modalProgress.value = true; modalProgress.value = true;
type.value = "develop"; type.value = "development";
idList.value = id; idList.value = id;
} }
function openPopupProblem(id: string) { function openPopupProblem(id: string) {
modalProblem.value = true; modalProblem.value = true;
type.value = "develop"; type.value = "development";
idList.value = id; idList.value = id;
} }
@ -246,13 +246,7 @@ onMounted(() => {
<q-th v-for="col in props.cols" :key="col.name" :props="props"> <q-th v-for="col in props.cols" :key="col.name" :props="props">
<span class="text-weight-medium">{{ col.label }}</span> <span class="text-weight-medium">{{ col.label }}</span>
</q-th> </q-th>
<q-th <q-th auto-width />
auto-width
v-if="
store.dataEvaluation.evaluationStatus === 'NEW' &&
store.rolePerson === 'USER'
"
/>
</q-tr> </q-tr>
</template> </template>
<template v-slot:body="props"> <template v-slot:body="props">
@ -317,7 +311,7 @@ onMounted(() => {
<div <div
v-if=" v-if="
store.dataEvaluation.evaluationStatus == 'APPROVE' && store.dataEvaluation.evaluationStatus == 'APPROVE' &&
store.tabMain === '1' store.tabMain === '2'
" "
> >
<q-btn <q-btn