- corretto img profilo

- corretto coordinata non obbligatoria
This commit is contained in:
Surya Paolo
2024-09-17 18:50:05 +02:00
parent b9a5c54071
commit d4e0f2cf1a
44 changed files with 155 additions and 96 deletions

View File

@@ -147,8 +147,8 @@ export default defineComponent({
const { setValDb, getValDb } = MixinBase()
function showandsel(row: any, col: any, newval: any, valinitial: any) {
console.log('showandsel CMyFieldDb:', newval)
function showandsave(row: any, col: any, newval: any, valinitial: any) {
console.log('showandsave CMyFieldDb:', newval)
console.log('subkey', props.mysubkey, 'sskey', props.mysubsubkey)
tools.saveInDBForTypes($q, props.mykey, newval, props.type, props.serv, props.table, props.mysubkey, props.id, props.indrec, props.mysubsubkey, props.specialField);
@@ -172,13 +172,13 @@ export default defineComponent({
}
function mounted() {
// console.log('CMYFIELDDB: Tab = ', props.table, 'subkey=', props.mysubkey, 'key=', props.mykey, 'mycolProp', props.mycol)
if (props.rec) {
row.value = props.rec
}
if (props.mycol && props.mycol.name !== '') {
col.value = props.mycol
} else {
// console.log('Tab = ', props.table, 'key=', props.mykey, 'mycolProp', props.mycol)
col.value = fieldsTable.getColByTable(props.table, props.mykey)
}
@@ -194,7 +194,7 @@ export default defineComponent({
globalStore,
col,
row,
showandsel,
showandsave,
withBorder,
save,
}