diff --git a/src/modules/09_leave/components/2_Leave/DetailLeave.vue b/src/modules/09_leave/components/2_Leave/DetailLeave.vue index 1c37941e7..7d9e5cf2a 100644 --- a/src/modules/09_leave/components/2_Leave/DetailLeave.vue +++ b/src/modules/09_leave/components/2_Leave/DetailLeave.vue @@ -38,6 +38,7 @@ const paramsId = route.params.id.toString(); const modalApprove = ref(false); const dialogTitleUnapprove = ref("ไม่อนุมัติ"); const dialogTitle = ref("อนุมัติ"); +const dialogLabel = ref("เหตุผล"); const closeDialog = () => { modalApprove.value = false; }; @@ -242,6 +243,7 @@ const openModal = async (data: string) => { if (data === "authority") { modalApprove.value = true; dialogTitle.value = "ส่งไปยังผู้มีอำนาจ"; + dialogLabel.value = "ความคิดเห็นผู้มีอำนาจ"; } }; @@ -585,8 +587,8 @@ function clickSave() { diff --git a/src/modules/09_leave/views/LeaveListMain.vue b/src/modules/09_leave/views/LeaveListMain.vue index e90c50397..55a9919f6 100644 --- a/src/modules/09_leave/views/LeaveListMain.vue +++ b/src/modules/09_leave/views/LeaveListMain.vue @@ -11,7 +11,7 @@ const leaveStore = useLeavelistDataStore();