ต่อ api คำนำหน้า /วุฒการศึกษา
This commit is contained in:
parent
c289ed17ad
commit
eedafc6891
2 changed files with 13 additions and 10 deletions
|
|
@ -332,10 +332,13 @@ watch(edit, (count: boolean, prevCount: boolean) => {
|
|||
})
|
||||
|
||||
onMounted(async () => {
|
||||
// await fetchData()
|
||||
await fetchData()
|
||||
// await fetchQualification()
|
||||
fetcheducationLevel()
|
||||
await fetcheducationLevel()
|
||||
})
|
||||
const fetchData = () => {
|
||||
educationLevel.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'
|
||||
}
|
||||
|
||||
const fetcheducationLevel = async () => {
|
||||
// loader.value = true;
|
||||
|
|
@ -373,9 +376,9 @@ const fetchQualification = async () => {
|
|||
// })
|
||||
}
|
||||
|
||||
const fetchData = async () => {
|
||||
editRow.value = false
|
||||
}
|
||||
// const fetchData = async () => {
|
||||
// editRow.value = false
|
||||
// }
|
||||
|
||||
/**
|
||||
* กดดูข้อมูลก่อนหน้า
|
||||
|
|
|
|||
|
|
@ -323,11 +323,11 @@ const props = defineProps({
|
|||
|
||||
const emit = defineEmits(['update:statusEdit'])
|
||||
|
||||
onMounted(() => {
|
||||
fetchData()
|
||||
fetchprefixMom()
|
||||
fetchprefixDad()
|
||||
fetchprefixRelation()
|
||||
onMounted(async () => {
|
||||
await fetchData()
|
||||
await fetchprefixMom()
|
||||
await fetchprefixDad()
|
||||
await fetchprefixRelation()
|
||||
})
|
||||
const fetchData = () => {
|
||||
prefixRelation.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue