รายการให้ออกจากราชการ (ลูกจ้าง

This commit is contained in:
setthawutttty 2025-01-27 11:52:40 +07:00
parent 78fd30bc9d
commit ef992ac559
6 changed files with 449 additions and 14 deletions

View file

@ -154,7 +154,7 @@ function openModalOrder() {
async function getData() {
showLoader();
await http
.get(config.API.retirementOut)
.get(config.API.retirementOut+`/officer`)
.then((res: any) => {
const data = res.data.result;
rows.value = data;

View file

@ -154,19 +154,19 @@ function openModalOrder() {
async function getData() {
showLoader();
await http
.get(config.API.retirementOut)
.get(config.API.retirementOut + `/employee`)
.then((res: any) => {
const data = res.data.result;
rows.value = data;
rowsData.value = data;
filters.value = data;
hideLoader();
})
.catch((e) => {
messageError($q, e);
})
.finally(() => {
hideLoader();
});
})
.finally(() => {});
}
async function clickDelete(id: string) {
@ -209,7 +209,9 @@ onMounted(async () => {
</script>
<template>
<div class="toptitle text-dark col-12 row items-center">รายการใหออก (กจาง)</div>
<div class="toptitle text-dark col-12 row items-center">
รายการใหออก (กจาง)
</div>
<q-card flat bordered class="col-12 q-mt-sm">
<q-separator />
<div class="row q-pa-md">
@ -287,7 +289,7 @@ onMounted(async () => {
icon="mdi-eye"
@click="
router.push(
`/retirement/dismiss-order-detail/${props.row.id}`
`/retirementEmployee/dismiss-order-detail/${props.row.id}`
)
"
>
@ -304,7 +306,7 @@ onMounted(async () => {
color="edit"
icon="edit"
@click="
router.push(`/retirement/dismiss-order/${props.row.id}`)
router.push(`/retirementEmployee/dismiss-order/${props.row.id}`)
"
>
<q-tooltip>แกไขขอม</q-tooltip>