- corretto img profilo
- corretto coordinata non obbligatoria
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user