ทะเบียนประวัติ => เพิ่ม fetchข้อมูล personal ใหม่
This commit is contained in:
parent
689a05e68e
commit
884ff3c487
4 changed files with 17 additions and 3 deletions
|
|
@ -10,6 +10,9 @@ import AchievementMain from "@/modules/04_registryNew/components/detail/Achievem
|
|||
import OtherMaim from "@/modules/04_registryNew/components/detail/Other/Main.vue";
|
||||
|
||||
const store = useRegistryDetailNewDataStore();
|
||||
const props = defineProps({
|
||||
fetchDataPersonal: { type: Function, require: true },
|
||||
});
|
||||
|
||||
const itemsTab = ref<any>([
|
||||
{
|
||||
|
|
@ -81,7 +84,10 @@ const splitterModel = ref<number>(12);
|
|||
:name="tab.name"
|
||||
class="q-pa-none"
|
||||
>
|
||||
<PersonalInformationMain v-if="store.tabMain === '1'" />
|
||||
<PersonalInformationMain
|
||||
v-if="store.tabMain === '1'"
|
||||
:fetchDataPersonal="props.fetchDataPersonal"
|
||||
/>
|
||||
<GovernmentInformationMain v-if="store.tabMain === '2'" />
|
||||
<salaryMain v-if="store.tabMain === '3'" />
|
||||
<AchievementMain v-if="store.tabMain === '4'" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue