แก้ condition แสดง action ต่างๆ ของเกษียณ
This commit is contained in:
parent
e731d12fd9
commit
d5ee366ea2
1 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue