Members, Circuits
This commit is contained in:
@@ -1495,11 +1495,13 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
}
|
||||
},
|
||||
|
||||
getValueByTableSingle(table: string, val: any) {
|
||||
getValueByTableSingle(table: string, val: any, lab?: any) {
|
||||
if (table) {
|
||||
const mylist = this.getTableJoinByName(table)
|
||||
const key = fieldsTable.getKeyByTable(table)
|
||||
const collab = fieldsTable.getLabelByTable(table)
|
||||
let collab = lab
|
||||
if (!lab)
|
||||
collab = fieldsTable.getLabelByTable(table)
|
||||
|
||||
// console.table(mylist)
|
||||
let risultato = ''
|
||||
@@ -1622,6 +1624,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
else if (table === 'visibility') myarr = shared_consts.Visibility
|
||||
else if (table === 'pub_to_share') myarr = shared_consts.Pub_to_Share
|
||||
else if (table === 'visibilGroup') myarr = shared_consts.VisibilGroup
|
||||
else if (table === 'statuscircuit') myarr = shared_consts.StatusCircuit
|
||||
else if (table === 'lang') myarr = shared_consts.Lang
|
||||
else if (table === 'regions') myarr = shared_consts.Regions
|
||||
else if (table === 'shippings') myarr = shared_consts.Shippings
|
||||
|
||||
Reference in New Issue
Block a user