- corretto img profilo
- corretto coordinata non obbligatoria
This commit is contained in:
@@ -177,8 +177,8 @@ export default defineComponent({
|
||||
|
||||
}
|
||||
|
||||
function showandsel(row: any, col: any, newval: any, valinitial: any) {
|
||||
console.log('showandsel CMyFieldDb', row, col, newval)
|
||||
function showandsave(row: any, col: any, newval: any, valinitial: any) {
|
||||
console.log('showandsave CMyFieldDb', row, col, newval)
|
||||
emit('save', props.rec, newval)
|
||||
|
||||
if (props.nosaveToDb)
|
||||
@@ -246,7 +246,7 @@ export default defineComponent({
|
||||
recordCol,
|
||||
pickup,
|
||||
jointable,
|
||||
showandsel,
|
||||
showandsave,
|
||||
mykey,
|
||||
mysubkey,
|
||||
mysubsubkey,
|
||||
|
||||
@@ -1,25 +1,45 @@
|
||||
<template>
|
||||
<div v-if="visuElem()" :class="mytitle ? `row items-center justify-center q-ma-xs text-center` : ``">
|
||||
<div
|
||||
v-if="visuElem()"
|
||||
:class="
|
||||
mytitle ? `row items-center justify-center q-ma-xs text-center` : ``
|
||||
"
|
||||
>
|
||||
<div v-if="mytitle" class="q-ma-xs">
|
||||
<q-field rounded outlined :bg-color="($q.dark.isActive ? '' : 'blue-4')" dense style="min-width:110px;">
|
||||
<q-field
|
||||
rounded
|
||||
outlined
|
||||
:bg-color="$q.dark.isActive ? '' : 'blue-4'"
|
||||
dense
|
||||
style="min-width: 110px"
|
||||
>
|
||||
<template v-slot:control>
|
||||
<div class="centermydiv">
|
||||
<div v-if="myimg" class="text-center">
|
||||
<q-img
|
||||
:src="myimg"
|
||||
class="text-center"
|
||||
style="height: 50px; width: 50px;"
|
||||
:alt="mytitle">
|
||||
style="height: 50px; width: 50px"
|
||||
:alt="mytitle"
|
||||
>
|
||||
</q-img>
|
||||
</div>
|
||||
<div v-if="mytitle" class="self-center full-width no-outline text-center" tabindex="0">{{ mytitle }}</div>
|
||||
<div
|
||||
v-if="mytitle"
|
||||
class="self-center full-width no-outline text-center"
|
||||
tabindex="0"
|
||||
>
|
||||
{{ mytitle }}
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</q-field>
|
||||
</div>
|
||||
|
||||
|
||||
<div :class="` col-grow clpopupVisuCard ` + getclass()" :style="withBorder() ? `` : ``">
|
||||
<div
|
||||
:class="` col-grow clpopupVisuCard ` + getclass()"
|
||||
:style="withBorder() ? `` : ``"
|
||||
>
|
||||
<CMyPopupEdit
|
||||
v-bind="$attrs"
|
||||
:isrec="true"
|
||||
@@ -46,9 +66,8 @@
|
||||
minuteinterval="1"
|
||||
:path="path"
|
||||
:nosaveToDb="nosaveToDb"
|
||||
@showandsave="showandsel"
|
||||
@showandsave="showandsave"
|
||||
>
|
||||
|
||||
</CMyPopupEdit>
|
||||
</div>
|
||||
<slot></slot>
|
||||
|
||||
Reference in New Issue
Block a user