upload เอกสารหลักฐาน
This commit is contained in:
parent
01fe8f97f4
commit
518884d548
10 changed files with 387 additions and 137 deletions
22
src/modules/05_placement/storePersona.ts
Normal file
22
src/modules/05_placement/storePersona.ts
Normal 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,
|
||||
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue