ปรับ code ประวัติการลงเวลา
This commit is contained in:
parent
c78cc9b0bd
commit
5ec610fcc0
3 changed files with 57 additions and 43 deletions
|
|
@ -329,12 +329,12 @@ const checkRequestEdit = (checkInStatus: string, checkOutStatus: string) => {
|
|||
color="cyan-6"
|
||||
@click="openPopup(props.row)"
|
||||
/>
|
||||
<!-- <q-chip
|
||||
v-else
|
||||
:color="`${stores.classColorStatus(props.row.statusEdit)}-1`"
|
||||
:text-color="`${stores.classColorStatus(props.row.statusEdit)}-7`"
|
||||
>{{ props.row.statusEdit }}</q-chip
|
||||
> -->
|
||||
<q-chip
|
||||
v-else-if="props.row.editStatus != ''"
|
||||
:color="`${stores.classColorStatus(props.row.editStatus)}-2`"
|
||||
:text-color="`${stores.classColorStatus(props.row.editStatus)}-7`"
|
||||
>{{ props.row.editStatus }}</q-chip
|
||||
>
|
||||
</q-td>
|
||||
</q-tr>
|
||||
</template>
|
||||
|
|
@ -391,12 +391,12 @@ const checkRequestEdit = (checkInStatus: string, checkOutStatus: string) => {
|
|||
</div>
|
||||
<div class="col" v-else>
|
||||
<q-chip
|
||||
:color="`${stores.classColorStatus(props.row.statusEdit)}-1`"
|
||||
:color="`${stores.classColorStatus(props.row.editStatus)}-2`"
|
||||
:text-color="`${stores.classColorStatus(
|
||||
props.row.statusEdit
|
||||
props.row.editStatus
|
||||
)}-7`"
|
||||
>
|
||||
{{ props.row.statusEdit }}
|
||||
{{ props.row.editStatus }}
|
||||
</q-chip>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -404,19 +404,7 @@ const checkRequestEdit = (checkInStatus: string, checkOutStatus: string) => {
|
|||
</q-card>
|
||||
</div>
|
||||
</template>
|
||||
<!-- <template v-slot:pagination="scope">
|
||||
<q-pagination
|
||||
v-model="currentPage"
|
||||
active-color="primary"
|
||||
color="dark"
|
||||
:max="scope.pagesNumber"
|
||||
:max-pages="5"
|
||||
size="sm"
|
||||
boundary-links
|
||||
direction-links
|
||||
></q-pagination>
|
||||
</template> -->
|
||||
<template v-slot:pagination="scope">
|
||||
<template v-slot:pagination>
|
||||
ทั้งหมด {{ props.total }} รายการ
|
||||
<q-pagination
|
||||
v-model="currentPage"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue