แก้ 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"
:UpdateListId="UpdateListId"
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
v-if="typeReport === 'EDIT' && statusReport !== true"
v-if="(typeReport === 'EDIT' || typeReport === null || typeReport === '') && statusReport === false"
/>
<q-th
auto-width
v-if="typeReport === 'REMOVE' && statusReport !== true"
v-if="(typeReport === 'REMOVE' || typeReport === null || typeReport === '') && statusReport === false"
/>
</q-tr>
</template>
@ -535,7 +535,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
<q-td
auto-width
v-if="typeReport === 'EDIT' && statusReport !== true"
v-if="(typeReport === 'EDIT' || typeReport === null || typeReport === '') && statusReport === false"
>
<q-btn
flat
@ -555,7 +555,7 @@ const paginationLabel = (start: number, end: number, total: number) => {
</q-td>
<q-td
auto-width
v-if="typeReport === 'REMOVE' && statusReport !== true"
v-if="(typeReport === 'REMOVE' || typeReport === null || typeReport === '') && statusReport === false"
>
<q-btn
flat