This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-01-16 16:00:24 +07:00
parent 6aa8a61b40
commit 99cba9f3bd
5 changed files with 37 additions and 9 deletions

View file

@ -145,6 +145,7 @@ const itemsMenuEmployee = ref<DataOptionSys[]>([
name: "ให้ออกจากราชการ",
system: "SYS_DISMISS_EMP",
},
{ id: "4", name: "ขอลาออก", system: "SYS_RESIGN_EMP" },
]);
const uploadUrl = ref<string>(""); //URL
@ -776,7 +777,7 @@ const titleName = computed(() => {
});
function openDialogSendTransferResign(
system: "SYS_TRANSFER_REQ" | "SYS_RESIGN"
system: "SYS_TRANSFER_REQ" | "SYS_RESIGN" | "SYS_RESIGN_EMP"
) {
system === "SYS_TRANSFER_REQ"
? (modalDialogTransfer.value = true)
@ -890,6 +891,8 @@ onMounted(async () => {
? clickPassaway()
: item.name == 'ให้ออกจากราชการ'
? outPost()
: item.system === 'SYS_RESIGN_EMP'
? openDialogSendTransferResign(item.system)
: null
"
v-close-popup