This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-04 15:21:23 +07:00
parent aa9b04772b
commit 3b6c22027c
26 changed files with 155 additions and 134 deletions

View file

@ -36,8 +36,8 @@ const profileId = ref<string>(
/**
* props
*/
const props = defineProps({
isLeave:Boolean
const isLeave = defineModel<boolean>("isLeave", {
required: true,
});
/** ข้อมูลลูกจ้างชั่วคราว*/
@ -303,7 +303,7 @@ onMounted(() => {
<div class="row q-gutter-sm items-center">
<div class="toptitle col text-right q-gutter-x-sm">
<q-btn
v-if="props.isLeave == false && checkPermission($route)?.attrIsUpdate"
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
flat
round
dense