แก้ไข ui form การลา
This commit is contained in:
parent
b7919cbb40
commit
e1058f5d81
6 changed files with 342 additions and 29 deletions
|
|
@ -5,6 +5,7 @@ import { useRouter, useRoute } from "vue-router"
|
|||
|
||||
import Form from "@/modules/05_leave/componenst/Forms/Form.vue"
|
||||
import Form3 from "@/modules/05_leave/componenst/Forms/01_SickForm.vue"
|
||||
import FormBirth from "@/modules/05_leave/componenst/Forms/03_ฺBirth.vue"
|
||||
import Form4 from "@/modules/05_leave/componenst/Forms/04_HelpWifeBirthForm.vue"
|
||||
import Form5 from "@/modules/05_leave/componenst/Forms/05_VacationForm.vue"
|
||||
import Form6 from "@/modules/05_leave/componenst/Forms/06_OrdinationForm.vue"
|
||||
|
|
@ -121,7 +122,8 @@ const onSubmit = async () => {
|
|||
</div>
|
||||
</div>
|
||||
<div v-if="model" class="col-12">
|
||||
<Form3 :on-submit="onSubmit" v-if="model === '0' || model === '1' || model === '2'" />
|
||||
<Form3 :on-submit="onSubmit" v-if="model === '0' || model === '1'" />
|
||||
<FormBirth :on-submit="onSubmit" v-if="model === '2'" />
|
||||
<Form4 :on-submit="onSubmit" v-if="model === '3'" />
|
||||
<Form5 :on-submit="onSubmit" v-if="model === '4'" />
|
||||
<Form6 :on-submit="onSubmit" v-if="model === '5' && modelSpecific === '0'" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue