diff --git a/src/modules/01_dashboard/views/Dashboard.vue b/src/modules/01_dashboard/views/Dashboard.vue index bd88c11..19f81fd 100644 --- a/src/modules/01_dashboard/views/Dashboard.vue +++ b/src/modules/01_dashboard/views/Dashboard.vue @@ -121,11 +121,14 @@ const transferToPage = (path?: string) => { // Dialog Reply const modalReply = ref(false); -function dialogRepleOpen() { +const contactNo = ref(); +function dialogRepleOpen(id: string) { + contactNo.value = id; modalReply.value = true; } function modalReplyClose() { + contactNo.value = ""; modalReply.value = false; } @@ -232,16 +235,10 @@ function modalReplyClose() { icon="mdi-reply" size="10px" color="grey-7" - @click="dialogRepleOpen()" + @click="dialogRepleOpen(contact.no)" > ตอบกลับข้อความ - - @@ -260,6 +257,11 @@ function modalReplyClose() { +