บรรจุ แต่งตั้ง ย้าย โอน => permission รายการรับโอน,รายการช่วยราชการ,รายการส่งตัวกลับ,รายการแต่งตั้ง-เลื่อน-ย้าย,ปรับระดับชั้นงาน-ย้ายลูกจ้าง,รายการอื่นๆ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-07 09:37:59 +07:00
parent 71d2df7e63
commit 41a0d80b64
11 changed files with 248 additions and 531 deletions

View file

@ -293,8 +293,19 @@ onMounted(async () => {
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
v-if="checkPermission($route)?.attrIsGet"
flat
dense
round
color="info"
icon="mdi-eye"
@click.stop.prevent="openDetail(props.row.id)"
>
<q-tooltip>รายละเอยด</q-tooltip>
</q-btn>
<q-btn
v-if="
props.row.status !== 'REPORT' &&
@ -302,24 +313,18 @@ onMounted(async () => {
checkPermission($route)?.attrIsDelete
"
icon="delete"
size="14px"
flat
round
dense
color="red-7"
@click="clickDelete(props.row.fullname, props.row.id)"
color="red"
@click.stop.prevent="
clickDelete(props.row.fullname, props.row.id)
"
>
<q-tooltip>ลบขอม</q-tooltip>
</q-btn>
</q-td>
<q-td
v-for="col in props.cols"
:key="col.id"
@click.stop.prevent="
checkPermission($route)?.attrIsGet &&
openDetail(props.row.id)
"
>
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
{{ props.rowIndex + 1 }}
</div>