diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue index edb0cb66c..2fffaf72c 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/01_Profile.vue @@ -43,7 +43,7 @@ const { */ const props = defineProps({ fetchDataPersonal: { type: Function, require: true }, - isLeave:Boolean + isLeave: Boolean, }); const profileId = ref( @@ -65,6 +65,7 @@ const filterHistory = ref(""); //คำค้นหาช้อมูล const modalHistory = ref(false); // แสดงช้อมูลรายการประวัติการแก้ไข const age = ref(""); //อายุ const formData = reactive(store.defaultProfile); //ฟอร์มข้อมูลการแก่้ไข +const emailVerify = ref('') /** ข้อมูล Label*/ const dataLabel = { @@ -79,6 +80,7 @@ const dataLabel = { religion: "ศาสนา", bloodGroup: "หมู่เลือด", phone: "เบอร์โทร", + email: "อีเมล์", prefix: "คำนำหน้าชื่อ", rank: "ยศ", firstName: "ชื่อ", @@ -292,7 +294,7 @@ async function getData() { .then((res) => { informaData.value = res.data.result; id.value = res.data.result.id; - + emailVerify.value = res.data.result.statusEmail if (res.data.result.birthDate) { // กำหนดอายุ ส่งวันเกิดไปคำนวน age.value = calculateAge(res.data.result.birthDate); @@ -512,7 +514,7 @@ onMounted(() => {
{{ dataLabel[label as keyof typeof dataLabel] }} @@ -535,6 +537,12 @@ onMounted(() => {
{{ informaData.phone ? informaData.phone : "-" }}
+
+ {{ informaData.email ? informaData.email : "-" + }}รอยืนยันอีเมล +