refactor: add bages urgent
This commit is contained in:
parent
0b696032c1
commit
bbb2d5c8b4
1 changed files with 16 additions and 4 deletions
|
|
@ -115,10 +115,22 @@ defineEmits<{
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
||||||
<q-td v-if="visibleColumns.includes('status')">
|
<q-td v-if="visibleColumns.includes('status')">
|
||||||
<BadgeComponent
|
<div class="row" style="min-width: 150px">
|
||||||
:title="$t(quotationStatus(props.row.quotationStatus))"
|
<BadgeComponent
|
||||||
:hsla-color="hslaColors[props.row.quotationStatus] || ''"
|
:title="$t(quotationStatus(props.row.quotationStatus))"
|
||||||
/>
|
:hsla-color="hslaColors[props.row.quotationStatus] || ''"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<div v-if="props.row.urgent" class="q-ml-sm" style="font-size: 90%">
|
||||||
|
<BadgeComponent
|
||||||
|
icon="mdi-fire"
|
||||||
|
:title="$t('general.urgent2')"
|
||||||
|
hsla-color="--gray-1-hsl"
|
||||||
|
hsla-background="--red-8-hsl"
|
||||||
|
solid
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
|
|
||||||
<q-td class="text-right">
|
<q-td class="text-right">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue