This commit is contained in:
setthawutttty 2024-10-21 17:56:47 +07:00
parent 979ecb381f
commit 9d3601f23f
32 changed files with 262 additions and 79 deletions

View file

@ -23,6 +23,13 @@ const {
dialogRemove,
} = mixin;
/**
* props
*/
const props = defineProps({
isLeave: Boolean,
});
const profileId = ref<string>(
route.params.id ? route.params.id.toString() : ""
);
@ -186,7 +193,7 @@ onMounted(() => {
<div class="row col-12 q-col-gutter-y-sm q-pa-sm">
<div class="col-12 row">
<q-file
v-if="checkPermission($route)?.attrIsUpdate"
v-if="props.isLeave == false && checkPermission($route)?.attrIsUpdate"
for="inputFiles"
class="col-12"
outlined
@ -241,6 +248,7 @@ onMounted(() => {
><q-tooltip>ดาวนโหลดไฟล</q-tooltip></q-btn
>
<q-btn
v-if="props.isLeave == false"
size="12px"
flat
round