This commit is contained in:
Warunee Tamkoo 2024-04-30 09:22:28 +07:00
parent 2737810c6c
commit 8e11c4f539
2 changed files with 7 additions and 3 deletions

View file

@ -8,7 +8,11 @@ export const useKPIDataStore = defineStore("KPIDataStore", () => {
const tabMain = ref<string>("1");
const dataProfile = ref<any>();
const dataEvaluation = ref<any>();
const dataEvaluation = ref<any>({
plannedPoint: 0,
rolePoint: 0,
specialPoint: 0,
});
const competencyType = ref<DataOption[]>([
{

View file

@ -124,14 +124,14 @@ onMounted(() => {
style="left: 2%; top: 50%; transform: translateY(-50%)"
>
<q-avatar size="95px">
<img
<q-img
v-if="formProfile.avartar == null"
src="@/assets/avatar_user.jpg"
class="bg-grey-3"
style="object-fit: cover"
/>
<img v-else :src="formProfile.avartar" />
<q-img v-else :src="formProfile.avartar" />
</q-avatar>
</div>
<div class="row col-12">