fix bug
This commit is contained in:
parent
aa9b04772b
commit
3b6c22027c
26 changed files with 155 additions and 134 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -34,8 +34,8 @@ const profileId = ref<string>(route.params.id.toString());
|
|||
/**
|
||||
* props
|
||||
*/
|
||||
const props = defineProps({
|
||||
isLeave:Boolean
|
||||
const isLeave = defineModel<boolean>("isLeave", {
|
||||
required: true,
|
||||
});
|
||||
|
||||
/** ข้อมูลการจ้าง*/
|
||||
|
|
@ -234,7 +234,7 @@ onMounted(() => {
|
|||
<div class="flex items-center">
|
||||
<div class="q-gutter-sm">
|
||||
<q-btn
|
||||
v-if="props.isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
size="12px"
|
||||
flat
|
||||
round
|
||||
|
|
@ -317,7 +317,7 @@ onMounted(() => {
|
|||
<q-tooltip>ประวัติข้อมูลการจ้าง </q-tooltip>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-if="props.isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
|
|
@ -328,7 +328,7 @@ onMounted(() => {
|
|||
<q-tooltip>แก้ไขข้อมูล</q-tooltip>
|
||||
</q-btn>
|
||||
<q-btn
|
||||
v-if="props.isLeave == false && checkPermission($route)?.attrIsDelete"
|
||||
v-if="isLeave == false && checkPermission($route)?.attrIsDelete"
|
||||
dense
|
||||
flat
|
||||
round
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue