- Ricerca Titolo per nome o autore o ISBN o codice articolo
This commit is contained in:
@@ -4168,12 +4168,16 @@ export const fieldsTable = {
|
||||
if (myrec) return ((myrec.colkey) ? myrec.colkey : '_id')
|
||||
return '_id'
|
||||
},
|
||||
getLabelByTable(mytable: string): string {
|
||||
const myrec = this.getrecTableList(mytable)
|
||||
if (myrec) { // @ts-ignore
|
||||
return ((myrec.collabel) ? myrec.collabel : 'label')
|
||||
getLabelByTable(mytable: string, collabel?: any): string {
|
||||
if (collabel) {
|
||||
return collabel
|
||||
} else {
|
||||
const myrec = this.getrecTableList(mytable)
|
||||
if (myrec) { // @ts-ignore
|
||||
return ((myrec.collabel) ? myrec.collabel : 'label')
|
||||
}
|
||||
return 'label'
|
||||
}
|
||||
return 'label'
|
||||
},
|
||||
getValByTabAndId(table: string, field: string, idvalue: any) {
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
Reference in New Issue
Block a user