From 16cd96faf6fc1a03722d820faf9ca1e4e2ba352f Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Tue, 8 Oct 2024 13:55:11 +0700 Subject: [PATCH] updated --- .../components/PersonalDetail/DialogCheckInformation.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/05_placement/components/PersonalDetail/DialogCheckInformation.vue b/src/modules/05_placement/components/PersonalDetail/DialogCheckInformation.vue index aeb738b90..4ff2f1618 100644 --- a/src/modules/05_placement/components/PersonalDetail/DialogCheckInformation.vue +++ b/src/modules/05_placement/components/PersonalDetail/DialogCheckInformation.vue @@ -218,7 +218,11 @@ function onSubmit() { const data = ref(null); /** ดึงข้อมูลรายละเอียด */ async function amiRequest() { - // data.value = await store.amiRequest($q, 5000, idCard.value, "001"); + const profile = await store.amiRequest($q, 5000, idCard.value, "001"); + if (profile) { + data.value = profile; + } + data.value = { titleCode: 3, titleDesc: "นาย",