fix loading
This commit is contained in:
parent
4646a3fdbb
commit
23dbf79067
6 changed files with 112 additions and 41 deletions
|
|
@ -1,17 +1,43 @@
|
|||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import { ref, defineAsyncComponent } from "vue";
|
||||
import { useRoute } from "vue-router";
|
||||
|
||||
import { useRegistryDetailNewDataStore } from "@/modules/04_registryPerson/stores/DetailMain";
|
||||
|
||||
import type { ItemTab } from "@/modules/04_registryPerson/interface/index/Main";
|
||||
|
||||
import PersonalInformationMain from "@/modules/04_registryPerson/components/detail/PersonalInformation/Main.vue"; //ข้อมูลส่วนตัว
|
||||
import GovernmentInformationMain from "@/modules/04_registryPerson/components/detail/GovernmentInformation/Main.vue"; //ข้อมูลราชการ
|
||||
import salaryMain from "@/modules/04_registryPerson/components/detail/Salary/Main.vue"; //ข้อมูลเงินเดือน/ค่าจ้าง
|
||||
import AchievementMain from "@/modules/04_registryPerson/components/detail/Achievement/Main.vue"; //ข้อมูลผลงานและเครื่องราชฯ
|
||||
import OtherMaim from "@/modules/04_registryPerson/components/detail/Other/Main.vue"; //เอกสารหลักฐานและอื่นๆ
|
||||
import EmployeeMain from "@/modules/04_registryPerson/components/detail/Employee/Main.vue"; //ข้อมูลลูกจ้าง
|
||||
//ข้อมูลส่วนตัว
|
||||
const PersonalInformationMain = defineAsyncComponent(
|
||||
() =>
|
||||
import(
|
||||
"@/modules/04_registryPerson/components/detail/PersonalInformation/Main.vue"
|
||||
)
|
||||
);
|
||||
//ข้อมูลราชการ
|
||||
const GovernmentInformationMain = defineAsyncComponent(
|
||||
() =>
|
||||
import(
|
||||
"@/modules/04_registryPerson/components/detail/GovernmentInformation/Main.vue"
|
||||
)
|
||||
);
|
||||
//ข้อมูลเงินเดือน/ค่าจ้าง
|
||||
const salaryMain = defineAsyncComponent(
|
||||
() => import("@/modules/04_registryPerson/components/detail/Salary/Main.vue")
|
||||
);
|
||||
//ข้อมูลผลงานและเครื่องราชฯ
|
||||
const AchievementMain = defineAsyncComponent(
|
||||
() =>
|
||||
import("@/modules/04_registryPerson/components/detail/Achievement/Main.vue")
|
||||
);
|
||||
//เอกสารหลักฐานและอื่นๆ
|
||||
const OtherMaim = defineAsyncComponent(
|
||||
() => import("@/modules/04_registryPerson/components/detail/Other/Main.vue")
|
||||
);
|
||||
//ข้อมูลลูกจ้าง
|
||||
const EmployeeMain = defineAsyncComponent(
|
||||
() =>
|
||||
import("@/modules/04_registryPerson/components/detail/Employee/Main.vue")
|
||||
);
|
||||
|
||||
const route = useRoute();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue