- Aggiornate tutte le categorie ottimizzandole.
- Migrazione delle vecchie categ. con quelle nuove. - Create le Categorie e sottocategorie degli Eventi (a parte). - Aggiornato la card dell'Ospitalità
This commit is contained in:
@@ -45,13 +45,13 @@
|
||||
>
|
||||
Clicca qui per cercarlo su GM
|
||||
</span>
|
||||
<span v-else>
|
||||
Testo non trovato: '{{ mystr }}'
|
||||
</span>
|
||||
<span v-else> Testo non trovato: '{{ mystr }}' </span>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-else>
|
||||
<q-item-section class="text-grey"> Digita il testo da cercare </q-item-section>
|
||||
<q-item-section class="text-grey">
|
||||
Digita il testo da cercare
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</template>
|
||||
|
||||
@@ -80,7 +80,9 @@
|
||||
<template v-slot:option="{ itemProps, opt, selected, toggleOption }">
|
||||
<q-item v-bind="itemProps">
|
||||
<q-item-section>
|
||||
<q-item-label>{{ opt[fieldsTable.getLabelByTable(tablesel)] }}</q-item-label>
|
||||
<q-item-label>{{
|
||||
opt[fieldsTable.getLabelByTable(tablesel)]
|
||||
}}</q-item-label>
|
||||
</q-item-section>
|
||||
<q-item-section side>
|
||||
<q-toggle
|
||||
@@ -137,20 +139,19 @@
|
||||
>
|
||||
Clicca qui per cercarlo su GM
|
||||
</span>
|
||||
<span v-else>
|
||||
Testo non trovato: '{{ mystr }}'
|
||||
</span>
|
||||
<span v-else> Testo non trovato: '{{ mystr }}' </span>
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
<q-item v-else>
|
||||
<q-item-section class="text-grey"> Digita il testo da cercare </q-item-section>
|
||||
<q-item-section class="text-grey">
|
||||
Digita il testo da cercare
|
||||
</q-item-section>
|
||||
</q-item>
|
||||
</template>
|
||||
<template v-slot:option="scope">
|
||||
<q-item v-bind="scope.itemProps">
|
||||
<q-item-section :class="applyLabelColorBasedOnProductStatus(scope.opt)">
|
||||
<q-item-label >
|
||||
|
||||
<q-item-label>
|
||||
{{ tools.getValueByFunzOrVal(scope.opt, optlab) }}
|
||||
</q-item-label>
|
||||
</q-item-section>
|
||||
@@ -183,8 +184,6 @@
|
||||
:option-label="optlab"
|
||||
:dense="dense"
|
||||
>
|
||||
<!--options-selected-class="text-deep-blue"-->
|
||||
|
||||
<template
|
||||
v-if="getIcon()"
|
||||
v-slot:prepend
|
||||
@@ -198,15 +197,13 @@
|
||||
dense
|
||||
@remove="scope.removeAtIndex(scope.index)"
|
||||
v-if="checkIfShowRec(scope.opt)"
|
||||
:color="$q.dark.isActive ? `black` : `white`"
|
||||
:style="`background-color: ${scope.opt.color || ($q.dark.isActive ? `black` : `white`) }`"
|
||||
:text-color="
|
||||
scope.opt.color ? 'white' : $q.dark.isActive ? `white` : `black`
|
||||
"
|
||||
:icon="scope.opt.icon || undefined"
|
||||
class="q-my-none q-ml-xs q-mr-none"
|
||||
>
|
||||
<q-avatar
|
||||
color="primary"
|
||||
text-color="white"
|
||||
:icon="scope.opt.icon ? scope.opt.icon : ''"
|
||||
size="12px"
|
||||
/>
|
||||
{{ tools.getValueByFunzOrVal(scope.opt, optlab) }}
|
||||
</q-chip>
|
||||
</div>
|
||||
@@ -216,6 +213,12 @@
|
||||
v-slot:option="{ itemProps, opt, selected, toggleOption }"
|
||||
>
|
||||
<q-item v-bind="itemProps">
|
||||
<q-item-section avatar>
|
||||
<q-icon
|
||||
:name="opt.icon || ''"
|
||||
:style="`background-color: ${opt.color || 'var(--q-primary)'}`"
|
||||
/>
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
<q-item-label>{{ tools.getValueByFunzOrVal(opt, optlab) }}</q-item-label>
|
||||
<q-item-label
|
||||
@@ -270,7 +273,9 @@
|
||||
<q-icon :name="scope.opt.icon ? scope.opt.icon : ''" />
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
<q-item-label>{{ tools.getValueByFunzOrVal(scope.opt, optlab) }}</q-item-label>
|
||||
<q-item-label>{{
|
||||
tools.getValueByFunzOrVal(scope.opt, optlab)
|
||||
}}</q-item-label>
|
||||
<q-item-label
|
||||
v-if="'hint' in scope.opt"
|
||||
class="hint"
|
||||
|
||||
Reference in New Issue
Block a user