isLeave
This commit is contained in:
parent
979ecb381f
commit
9d3601f23f
32 changed files with 262 additions and 79 deletions
|
|
@ -7,7 +7,10 @@ import Discipline from "@/modules/04_registryPerson/components/detail/Government
|
|||
import Leave from "@/modules/04_registryPerson/components/detail/GovernmentInformation/03_Leave.vue"; //การลา
|
||||
import PerformSpecialWork from "@/modules/04_registryPerson/components/detail/GovernmentInformation/04_PerformSpecialWork.vue"; //ปฏิบัติราชการพิเศษ
|
||||
|
||||
import { useRegistryNewDataStore } from "@/modules/04_registryPerson/store";
|
||||
|
||||
const tab = ref<string>("1");
|
||||
const storeRegistry = useRegistryNewDataStore();
|
||||
</script>
|
||||
<template>
|
||||
<div class="row items-center q-my-md">
|
||||
|
|
@ -37,16 +40,16 @@ const tab = ref<string>("1");
|
|||
|
||||
<q-tab-panels v-model="tab" animated>
|
||||
<q-tab-panel name="1">
|
||||
<Info />
|
||||
<Info :is-leave="storeRegistry.isLeave"/>
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="2">
|
||||
<Discipline />
|
||||
<Discipline :is-leave="storeRegistry.isLeave"/>
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="3">
|
||||
<Leave />
|
||||
<Leave :is-leave="storeRegistry.isLeave"/>
|
||||
</q-tab-panel>
|
||||
<q-tab-panel name="4">
|
||||
<PerformSpecialWork />
|
||||
<PerformSpecialWork :is-leave="storeRegistry.isLeave"/>
|
||||
</q-tab-panel>
|
||||
</q-tab-panels>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue