Img Home
This commit is contained in:
@@ -248,6 +248,10 @@ export default defineComponent({
|
|||||||
refresh()
|
refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function toHome() {
|
||||||
|
$router.push('/')
|
||||||
|
}
|
||||||
|
|
||||||
function mounted() {
|
function mounted() {
|
||||||
|
|
||||||
optionsMainCards.value = tools.getoptionsMainCards(false)
|
optionsMainCards.value = tools.getoptionsMainCards(false)
|
||||||
@@ -332,6 +336,7 @@ export default defineComponent({
|
|||||||
tablesel,
|
tablesel,
|
||||||
gotoPageSel,
|
gotoPageSel,
|
||||||
createNewRecordDialog,
|
createNewRecordDialog,
|
||||||
|
toHome,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -18,6 +18,15 @@
|
|||||||
<div class="row no-wrap shadow-1">
|
<div class="row no-wrap shadow-1">
|
||||||
<q-header elevated reveal>
|
<q-header elevated reveal>
|
||||||
<q-toolbar class="glossy" style="">
|
<q-toolbar class="glossy" style="">
|
||||||
|
<div v-if="$q.screen.gt.xs" class="col-1">
|
||||||
|
<q-avatar @click="toHome" class="imglink">
|
||||||
|
<img
|
||||||
|
:src="tools.getimglogo()"
|
||||||
|
height="27"
|
||||||
|
alt="Immagine Logo"
|
||||||
|
/>
|
||||||
|
</q-avatar>
|
||||||
|
</div>
|
||||||
<div class="col-3">
|
<div class="col-3">
|
||||||
<q-select
|
<q-select
|
||||||
v-model="tablesel"
|
v-model="tablesel"
|
||||||
@@ -62,7 +71,11 @@
|
|||||||
item.type === costanti.FieldType.select ||
|
item.type === costanti.FieldType.select ||
|
||||||
item.type === costanti.FieldType.select_by_server
|
item.type === costanti.FieldType.select_by_server
|
||||||
"
|
"
|
||||||
:label="item.value && (item.value._id > 0) ? undefined : labelcombo(item)"
|
:label="
|
||||||
|
item.value && item.value._id > 0
|
||||||
|
? undefined
|
||||||
|
: labelcombo(item)
|
||||||
|
"
|
||||||
v-model:value="item.value"
|
v-model:value="item.value"
|
||||||
@update:value="searchval(item.value, item.table)"
|
@update:value="searchval(item.value, item.table)"
|
||||||
:addall="item.addall"
|
:addall="item.addall"
|
||||||
@@ -84,7 +97,7 @@
|
|||||||
:options="valoriopt(item, false)"
|
:options="valoriopt(item, false)"
|
||||||
:filter="item.filter"
|
:filter="item.filter"
|
||||||
:filter_extra="item.filter_extra"
|
:filter_extra="item.filter_extra"
|
||||||
style="font-size: 0.8rem !important;"
|
style="font-size: 0.8rem !important"
|
||||||
:useinput="
|
:useinput="
|
||||||
item.useinput &&
|
item.useinput &&
|
||||||
item.type !== costanti.FieldType.select_by_server
|
item.type !== costanti.FieldType.select_by_server
|
||||||
|
|||||||
Reference in New Issue
Block a user