Animations, Policy, Toolbar Colors
This commit is contained in:
@@ -12,6 +12,7 @@ import MixinBase from '@/mixins/mixin-base'
|
||||
|
||||
export default defineComponent({
|
||||
name: 'CMyFieldDb',
|
||||
emits: ['save'],
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
@@ -139,6 +140,11 @@ export default defineComponent({
|
||||
|
||||
if (newval !== valinitial)
|
||||
setValDb($q, props.mykey, newval, props.type, props.serv, props.table, props.mysubkey, props.id, props.indrec, props.mysubsubkey, props.specialField)
|
||||
|
||||
}
|
||||
|
||||
function save(newval: any) {
|
||||
emit('save', newval)
|
||||
}
|
||||
|
||||
function withBorder() {
|
||||
@@ -155,9 +161,9 @@ export default defineComponent({
|
||||
if (props.mycol && props.mycol.name !== '') {
|
||||
col.value = props.mycol
|
||||
} else {
|
||||
console.log('Tab = ', props.table, 'key=', props.mykey)
|
||||
// console.log('Tab = ', props.table, 'key=', props.mykey, 'mycolProp', props.mycol)
|
||||
col.value = fieldsTable.getColByTable(props.table, props.mykey)
|
||||
console.log('MYCOL = ', col.value)
|
||||
// console.log('MYCOL = ', col.value)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -173,6 +179,7 @@ export default defineComponent({
|
||||
row,
|
||||
showandsel,
|
||||
withBorder,
|
||||
save,
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user