แก้ condition แสดง action ต่างๆ ของเกษียณ

This commit is contained in:
Warunee Tamkoo 2023-08-07 17:40:57 +07:00
parent e731d12fd9
commit d5ee366ea2

View file

@ -362,7 +362,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
:profile-id="profileId" :profile-id="profileId"
:UpdateListId="UpdateListId" :UpdateListId="UpdateListId"
v-if=" v-if="
statusReport !== true && typeReport == 'ADD' || typeReport == '' statusReport === false && (typeReport == 'ADD' || typeReport == '' || typeReport == null)
" "
/> />
@ -459,11 +459,11 @@ const paginationLabel = (start: number, end: number, total: number) => {
<q-th auto-width /> <q-th auto-width />
<q-th <q-th
auto-width auto-width
v-if="typeReport === 'EDIT' && statusReport !== true" v-if="(typeReport === 'EDIT' || typeReport === null || typeReport === '') && statusReport === false"
/> />
<q-th <q-th
auto-width auto-width
v-if="typeReport === 'REMOVE' && statusReport !== true" v-if="(typeReport === 'REMOVE' || typeReport === null || typeReport === '') && statusReport === false"
/> />
</q-tr> </q-tr>
</template> </template>
@ -535,7 +535,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
<q-td <q-td
auto-width auto-width
v-if="typeReport === 'EDIT' && statusReport !== true" v-if="(typeReport === 'EDIT' || typeReport === null || typeReport === '') && statusReport === false"
> >
<q-btn <q-btn
flat flat
@ -555,7 +555,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
</q-td> </q-td>
<q-td <q-td
auto-width auto-width
v-if="typeReport === 'REMOVE' && statusReport !== true" v-if="(typeReport === 'REMOVE' || typeReport === null || typeReport === '') && statusReport === false"
> >
<q-btn <q-btn
flat flat