refactor: quotation table width & clear warning
This commit is contained in:
parent
e48f2a66ee
commit
28b48e6c6f
2 changed files with 91 additions and 95 deletions
|
|
@ -55,6 +55,7 @@ defineEmits<{
|
|||
flat
|
||||
hide-pagination
|
||||
card-container-class="q-col-gutter-sm"
|
||||
class="full-width"
|
||||
>
|
||||
<template v-slot:header="props">
|
||||
<q-tr
|
||||
|
|
@ -62,7 +63,7 @@ defineEmits<{
|
|||
:props="props"
|
||||
>
|
||||
<q-th v-for="col in props.cols" :key="col.name" :props="props">
|
||||
{{ $t(col.label) }}
|
||||
{{ col.label && $t(col.label) }}
|
||||
</q-th>
|
||||
</q-tr>
|
||||
</template>
|
||||
|
|
@ -106,7 +107,7 @@ defineEmits<{
|
|||
|
||||
<q-td v-if="visibleColumns.includes('status')">
|
||||
<BadgeComponent
|
||||
:title-i18n="$t(quotationStatus(props.row.quotationStatus))"
|
||||
:title="$t(quotationStatus(props.row.quotationStatus))"
|
||||
/>
|
||||
</q-td>
|
||||
|
||||
|
|
@ -120,7 +121,7 @@ defineEmits<{
|
|||
</span>
|
||||
</q-td>
|
||||
|
||||
<q-td>
|
||||
<q-td class="text-right">
|
||||
<q-btn
|
||||
:id="`btn-eye-${props.row.firstName}`"
|
||||
icon="mdi-eye-outline"
|
||||
|
|
@ -132,6 +133,8 @@ defineEmits<{
|
|||
/>
|
||||
|
||||
<KebabAction
|
||||
:idName="`btn-kebab-${props.row.firstName}`"
|
||||
status="'ACTIVE'"
|
||||
hide-toggle
|
||||
@view="$emit('view', props.row)"
|
||||
@edit="$emit('edit', props.row)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue