0
0
Fork 0

add_circle

This commit is contained in:
Javier Segarra 2024-09-19 00:02:45 +02:00
parent b3f27d9a84
commit 08bec59a37
6 changed files with 37 additions and 28 deletions

View File

@ -297,11 +297,12 @@ const removeTag = (index, params, search) => {
/> />
</QItem> </QItem>
<QItem class="q-mt-lg"> <QItem class="q-mt-lg">
<QIcon <QBtn
name="add_circle" icon="add_circle"
shortcut="+"
flat
class="fill-icon-on-hover q-px-xs" class="fill-icon-on-hover q-px-xs"
color="primary" color="primary"
size="sm"
@click="tagValues.push({})" @click="tagValues.push({})"
/> />
</QItem> </QItem>

View File

@ -65,17 +65,18 @@ const focusLastInput = () => {
</QTooltip> </QTooltip>
</QIcon> </QIcon>
</div> </div>
<QIcon <QBtn
@click="insertRow()" @click="insertRow()"
class="cursor-pointer fill-icon-on-hover" class="cursor-pointer fill-icon-on-hover"
color="primary" color="primary"
name="add_circle" icon="add_circle"
size="sm" shortcut="+"
flat
> >
<QTooltip> <QTooltip>
{{ t('Add barcode') }} {{ t('Add barcode') }}
</QTooltip> </QTooltip>
</QIcon> </QBtn>
</QCard> </QCard>
</template> </template>
</CrudModel> </CrudModel>

View File

@ -374,8 +374,10 @@ function addOrder(value, field, params) {
/> />
</QItem> </QItem>
<QItem class="q-mt-lg"> <QItem class="q-mt-lg">
<QIcon <QBtn
name="add_circle" icon="add_circle"
shortcut="+"
flat
class="filter-icon" class="filter-icon"
@click="tagValues.push({})" @click="tagValues.push({})"
/> />

View File

@ -87,17 +87,18 @@ watch(
</QIcon> </QIcon>
</div> </div>
<VnRow v-if="observationTypes.length > rows.length"> <VnRow v-if="observationTypes.length > rows.length">
<QIcon <QBtn
name="add_circle" icon="add_circle"
shortcut="+"
flat
class="fill-icon-on-hover q-ml-md" class="fill-icon-on-hover q-ml-md"
size="sm"
color="primary" color="primary"
@click="ticketNotesCrudRef.insert()" @click="ticketNotesCrudRef.insert()"
> >
<QTooltip> <QTooltip>
{{ t('ticketNotes.addNote') }} {{ t('ticketNotes.addNote') }}
</QTooltip> </QTooltip>
</QIcon> </QBtn>
</VnRow> </VnRow>
</QCard> </QCard>
</template> </template>

View File

@ -114,17 +114,20 @@ watch(
</QTooltip> </QTooltip>
</QIcon> </QIcon>
</div> </div>
<QIcon <VnRow>
name="add_circle" <QBtn
icon="add_circle"
shortcut="+"
flat
class="fill-icon-on-hover q-ml-md" class="fill-icon-on-hover q-ml-md"
size="sm"
color="primary" color="primary"
@click="ticketPackagingsCrudRef.insert()" @click="ticketPackagingsCrudRef.insert()"
> >
<QTooltip> <QTooltip>
{{ t('package.addPackage') }} {{ t('package.addPackage') }}
</QTooltip> </QTooltip>
</QIcon> </QBtn>
</VnRow>
</QCard> </QCard>
</template> </template>
</CrudModel> </CrudModel>

View File

@ -561,15 +561,16 @@ onMounted(async () => {
<span class="q-mb-md text-sm text-body1"> <span class="q-mb-md text-sm text-body1">
{{ secondsToHoursMinutes(day.dayData?.workedHours) }} {{ secondsToHoursMinutes(day.dayData?.workedHours) }}
</span> </span>
<QIcon <QBtn
name="add_circle" icon="add_circle"
shortcut="+"
flat
color="primary" color="primary"
class="fill-icon cursor-pointer" class="fill-icon cursor-pointer"
size="sm"
@click="showWorkerTimeForm(day.dayData?.dated, 'create')" @click="showWorkerTimeForm(day.dayData?.dated, 'create')"
> >
<QTooltip>{{ t('Add time') }}</QTooltip> <QTooltip>{{ t('Add time') }}</QTooltip>
</QIcon> </QBtn>
</div> </div>
</QTd> </QTd>
</QTr> </QTr>