refactor: use prefixId

This commit is contained in:
Net 2024-08-19 17:17:38 +07:00
parent 81b24a118d
commit b8a67a0b97
2 changed files with 5 additions and 2 deletions

View file

@ -174,6 +174,7 @@ const insuranceCompanyFilter = selectFilterOptionRefMod(
v-bind:key="index"
class="col-12 row q-col-gutter-sm"
:class="{ 'q-pt-lg': index !== 0 }"
:id="`${prefixId}-checkup-${index}`"
>
<q-separator
v-if="index > 0"
@ -182,7 +183,7 @@ const insuranceCompanyFilter = selectFilterOptionRefMod(
spaced="lg"
/>
<span class="col-12 flex justify-between items-center">
{{ `ครั้งที่ ${index + 1}` }}
{{ $t('customer.form.instance', { index: index + 1 }) }}
<div class="row items-center">
<UndoButton
v-if="!readonly && !!checkup.id && !checkup.statusSave"

View file

@ -129,6 +129,7 @@ const workplaceFilter = selectFilterOptionRefMod(
v-bind:key="index"
class="col-12 row q-col-gutter-sm"
:class="{ 'q-pt-lg': index !== 0 }"
:id="`${prefixId}-work-history-${index}`"
>
<q-separator
v-if="index > 0"
@ -137,7 +138,8 @@ const workplaceFilter = selectFilterOptionRefMod(
spaced="lg"
/>
<span class="col-12 flex justify-between items-center">
{{ `ครั้งที่ ${index + 1}` }}
{{ $t('customer.form.instance', { index: index + 1 }) }}
<div class="row items-center">
<UndoButton
v-if="!readonly && !!work.id && !work.statusSave"