fix ระยะเวลาดำรงตำแหน่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-02-28 09:45:45 +07:00
parent 9ee003c913
commit f9bdb3a523
3 changed files with 4 additions and 5 deletions

View file

@ -755,12 +755,12 @@ async function fetchDataTenure() {
/** ทำงานเมื่อ Components ถูกเรียกใช้งาน*/
onMounted(() => {
fetchListSalary();
fetchDataTenure();
empType.value === "" && fetchDataTenure();
});
</script>
<template>
<div class="row q-col-gutter-sm q-pb-sm">
<div class="row q-col-gutter-sm q-pb-sm" v-if="empType === ''">
<div class="col" v-for="(item, index) in cardData" :key="index">
<q-card bordered class="col-12" style="border: 1px solid #d6dee1">
<div class="col-12 text-weight-medium bg-grey-1 q-py-xs q-px-md">