From d13a2231bafcd7fd7c2e3b8dbca19fd044a185e2 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 20 Jan 2026 14:46:01 +0700 Subject: [PATCH] fix(resign):organizationPositionOld --- .../components/02_resign/DialogSendToCommand.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue b/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue index b4f454de5..443217e45 100644 --- a/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue +++ b/src/modules/06_retirement/components/02_resign/DialogSendToCommand.vue @@ -217,7 +217,12 @@ watch( selected.value = []; await fetchCheckOfficer(); const data = props?.rows?.filter((e: any) => { - if (isStaff.value) { + if ( + isStaff.value || + (e.organizationPositionOld?.includes("สำนักปลัดกรุงเทพมหานคร") && + isOfficer.value && + e.group === "1.1") + ) { return e.group === "1.1"; } else { return e.group !== "1.1";