fix การแสดง การพัฒนารายบุคคล (Individual Development Plan) ของลูกจ้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-08-06 11:57:28 +07:00
parent f6ee9eb73e
commit ca272abf3a
2 changed files with 5 additions and 5 deletions

View file

@ -389,7 +389,7 @@ async function getDevelop(isLoad?: boolean) {
isLoad && showLoader();
await http
.get(
config.API.developMentPlan +
config.API.developMentPlan(empType.value) +
`/${profileId.value}?page=${paginationIdp.value.page}&pageSize=${
paginationIdp.value.rowsPerPage
}&searchKeyword=${filterSearchPlan.value.trim()}
@ -553,7 +553,7 @@ watch(
onMounted(async () => {
await fetchData();
!empType.value && (await getDevelop());
empType.value !== "-temp" && (await getDevelop());
hideLoader();
});
</script>
@ -752,12 +752,12 @@ onMounted(async () => {
</q-card>
</div>
<div class="col-12 q-mt-md" v-if="!empType">
<div class="col-12 q-mt-md" v-if="empType !== '-temp'">
<span class="text-weight-bold text-body1 q-pb-sm"
>การพฒนารายบคคล (Individual Development Plan)</span
>
</div>
<div class="col-12" v-if="!empType">
<div class="col-12" v-if="empType !== '-temp'">
<q-card bordered class="q-pa-sm">
<div class="col-12">
<div class="row items-center q-gutter-x-sm q-pb-sm">