From 30b2525144f109626957ee22a708596517f2d5ad Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 13 Jan 2025 17:23:04 +0700 Subject: [PATCH] fix reasonResign --- .../components/02_resign/DialogSendToCommand.vue | 4 +++- .../components/03_resignEmp/DialogSendToCommand.vue | 2 +- src/modules/06_retirement/interface/response/Main.ts | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue b/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue index 8d736d6aa..31a612835 100644 --- a/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue +++ b/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue @@ -25,7 +25,7 @@ const dataMapToSend = computed(() => { firstName: i.firstName, lastName: i.lastName, citizenId: i.citizenId, - remarkVertical: i.reason, + remarkVertical: i.reasonResign, remarkHorizontal: i.remarkHorizontal, })); }); @@ -158,6 +158,8 @@ const modalCommand = ref(false); /** popup ยืนยันส่งัว */ function saveOrder() { + console.log(selected.value); + dialogConfirm( $q, () => { diff --git a/src/modules/06_retirement/components/03_resignEmp/DialogSendToCommand.vue b/src/modules/06_retirement/components/03_resignEmp/DialogSendToCommand.vue index e04ed5ea8..dc73d8fcc 100644 --- a/src/modules/06_retirement/components/03_resignEmp/DialogSendToCommand.vue +++ b/src/modules/06_retirement/components/03_resignEmp/DialogSendToCommand.vue @@ -25,7 +25,7 @@ const dataMapToSend = computed(() => { firstName: i.firstName, lastName: i.lastName, citizenId: i.citizenId, - remarkVertical: i.reason, + remarkVertical: i.reasonResign, remarkHorizontal: i.remarkHorizontal, })); }); diff --git a/src/modules/06_retirement/interface/response/Main.ts b/src/modules/06_retirement/interface/response/Main.ts index d1eb43a8e..e0252e9e8 100644 --- a/src/modules/06_retirement/interface/response/Main.ts +++ b/src/modules/06_retirement/interface/response/Main.ts @@ -29,6 +29,7 @@ interface ResponseItems { fullname: string; datetext: string | null; citizenId: string; + reasonResign: string; } interface TypeFile {