upload เอกสารหลักฐาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-10-09 10:55:56 +07:00
parent 01fe8f97f4
commit 518884d548
10 changed files with 387 additions and 137 deletions

View file

@ -0,0 +1,22 @@
import { defineStore } from "pinia";
import { ref } from "vue";
import type { Information } from "@/modules/05_placement/components/PersonalDetail/profileType";
export const usePersonalDataStore = defineStore("personal-detail", () => {
const dataMain = ref<any>([])
const loading = ref<boolean>(false)
function fecthDataInformation(data: Information) {
dataMain.value = data
dataMain.value.length !== 0 ? loading.value = true : loading.value = false
}
return {
fecthDataInformation,
dataMain,
loading,
};
})