ย้ายไอคอน

This commit is contained in:
STW_TTTY\stwtt 2024-07-24 16:37:04 +07:00
parent da4e99f767
commit c3c11afd1f
58 changed files with 1115 additions and 1056 deletions

View file

@ -290,30 +290,15 @@ const monthYearThai = (val: any) => {
</template>
<template v-slot:header="props">
<q-tr :props="props">
<q-th auto-width />
<q-th v-for="col in props.cols" :key="col.name" :props="props">
<span class="text-weight-medium">{{ col.label }}</span>
</q-th>
<q-th auto-width />
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<div v-if="col.name == 'no'">
{{
(dataSpecialTime.page - 1) * dataSpecialTime.pageSize +
props.rowIndex +
1
}}
</div>
<div v-else-if="col.name === 'description'" class="table_ellipsis">
{{ props.row.description }}
</div>
<div v-else>
{{ col.value }}
</div>
</q-td>
<q-td auto-width>
<q-td auto-width class="text-right">
<q-btn
v-if="props.row.status == 'PENDING'"
color="orange"
@ -356,6 +341,24 @@ const monthYearThai = (val: any) => {
label="ไม่อนุมัติ"
/>
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<div v-if="col.name == 'no'">
{{
(dataSpecialTime.page - 1) * dataSpecialTime.pageSize +
props.rowIndex +
1
}}
</div>
<div
v-else-if="col.name === 'description'"
class="table_ellipsis"
>
{{ props.row.description }}
</div>
<div v-else>
{{ col.value }}
</div>
</q-td>
</q-tr>
</template>
</d-table>
@ -369,7 +372,7 @@ const monthYearThai = (val: any) => {
label="เหตุผล"
:savaForm="clickSave"
/>
<DialogApprove
:modal="modalApprove"
:closeDialog="closeDialog"