รายการลา สิทธ์
This commit is contained in:
parent
3dec9ee381
commit
c198d3d153
5 changed files with 48 additions and 31 deletions
|
|
@ -15,6 +15,8 @@ import DialogApprove from "@/modules/09_leave/components/4_specialTime/DialogApp
|
|||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useSpecialTimeStore } from "@/modules/09_leave/stores/SpecialTimeStore";
|
||||
|
||||
import { checkPermission } from "@/utils/permissions";
|
||||
|
||||
const dataSpecialTime = useSpecialTimeStore();
|
||||
const $q = useQuasar(); // show dialog
|
||||
const mixin = useCounterMixin();
|
||||
|
|
@ -297,10 +299,14 @@ const monthYearThai = (val: any) => {
|
|||
</q-tr>
|
||||
</template>
|
||||
<template v-slot:body="props">
|
||||
<q-tr :props="props" class="cursor-pointer">
|
||||
<q-tr :props="props">
|
||||
<q-td auto-width class="text-right">
|
||||
<q-btn
|
||||
v-if="props.row.status == 'PENDING'"
|
||||
v-if="
|
||||
props.row.status == 'PENDING' &&
|
||||
checkPermission($route)?.attrIsUpdate &&
|
||||
checkPermission($route)?.attrIsGet
|
||||
"
|
||||
color="orange"
|
||||
class="q-px-md"
|
||||
dense
|
||||
|
|
@ -310,7 +316,11 @@ const monthYearThai = (val: any) => {
|
|||
>
|
||||
|
||||
<q-btn
|
||||
v-if="props.row.status == 'PENDING'"
|
||||
v-if="
|
||||
props.row.status == 'PENDING' &&
|
||||
checkPermission($route)?.attrIsUpdate &&
|
||||
checkPermission($route)?.attrIsGet
|
||||
"
|
||||
color="primary"
|
||||
class="q-px-md q-ml-sm"
|
||||
dense
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue