ต่อ api คำนำหน้า /วุฒการศึกษา

This commit is contained in:
AnandaTon 2023-03-21 17:36:02 +07:00
parent c289ed17ad
commit eedafc6891
2 changed files with 13 additions and 10 deletions

View file

@ -332,10 +332,13 @@ watch(edit, (count: boolean, prevCount: boolean) => {
}) })
onMounted(async () => { onMounted(async () => {
// await fetchData() await fetchData()
// await fetchQualification() // await fetchQualification()
fetcheducationLevel() await fetcheducationLevel()
}) })
const fetchData = () => {
educationLevel.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'
}
const fetcheducationLevel = async () => { const fetcheducationLevel = async () => {
// loader.value = true; // loader.value = true;
@ -373,9 +376,9 @@ const fetchQualification = async () => {
// }) // })
} }
const fetchData = async () => { // const fetchData = async () => {
editRow.value = false // editRow.value = false
} // }
/** /**
* กดดอมลกอนหน * กดดอมลกอนหน

View file

@ -323,11 +323,11 @@ const props = defineProps({
const emit = defineEmits(['update:statusEdit']) const emit = defineEmits(['update:statusEdit'])
onMounted(() => { onMounted(async () => {
fetchData() await fetchData()
fetchprefixMom() await fetchprefixMom()
fetchprefixDad() await fetchprefixDad()
fetchprefixRelation() await fetchprefixRelation()
}) })
const fetchData = () => { const fetchData = () => {
prefixRelation.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c' prefixRelation.value = 'e4e6a4f8-39c6-467f-bd84-7650d105fc4c'