From 4841a384a7a7a8197797da0189e8cf8bcb9f8eaf Mon Sep 17 00:00:00 2001 From: waruneeta Date: Wed, 27 Dec 2023 15:31:41 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20dialog=20=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=95=E0=B8=AD?= =?UTF-8?q?=E0=B8=9A=E0=B8=81=E0=B8=A5=E0=B8=B1=E0=B8=9A=E0=B8=82=E0=B9=89?= =?UTF-8?q?=E0=B8=AD=E0=B8=84=E0=B8=A7=E0=B8=B2=E0=B8=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/01_dashboard/views/Dashboard.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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() { +