fix bug
This commit is contained in:
parent
aa9b04772b
commit
3b6c22027c
26 changed files with 155 additions and 134 deletions
|
|
@ -31,8 +31,8 @@ const id = ref<string>("");
|
|||
/**
|
||||
* props
|
||||
*/
|
||||
const props = defineProps({
|
||||
isLeave:Boolean
|
||||
const isLeave = defineModel<boolean>("isLeave", {
|
||||
required: true,
|
||||
});
|
||||
|
||||
const profileId = ref<string>(
|
||||
|
|
@ -209,7 +209,7 @@ onMounted(() => {
|
|||
<template>
|
||||
<div class="row items-center q-gutter-x-sm q-pb-sm">
|
||||
<q-btn
|
||||
v-if="props.isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
dense
|
||||
color="primary"
|
||||
icon="add"
|
||||
|
|
@ -327,7 +327,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"
|
||||
flat
|
||||
dense
|
||||
round
|
||||
|
|
@ -360,7 +360,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"
|
||||
color="edit"
|
||||
icon="edit"
|
||||
flat
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ const {
|
|||
/**
|
||||
* props
|
||||
*/
|
||||
const props = defineProps({
|
||||
isLeave: Boolean,
|
||||
const isLeave = defineModel<boolean>("isLeave", {
|
||||
required: true,
|
||||
});
|
||||
|
||||
const profileId = ref<string>(
|
||||
|
|
@ -193,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="props.isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
v-if="isLeave == false && checkPermission($route)?.attrIsUpdate"
|
||||
for="inputFiles"
|
||||
class="col-12"
|
||||
outlined
|
||||
|
|
@ -248,7 +248,7 @@ onMounted(() => {
|
|||
><q-tooltip>ดาวน์โหลดไฟล์</q-tooltip></q-btn
|
||||
>
|
||||
<q-btn
|
||||
v-if="props.isLeave == false"
|
||||
v-if="isLeave == false"
|
||||
size="12px"
|
||||
flat
|
||||
round
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue