- Installa APP: Messaggio in CIMA
- in sistemazione: select compare la scelta di prima.
This commit is contained in:
@@ -180,6 +180,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
editOn: false,
|
||||
myselector: { data: {}, table: ''},
|
||||
addNewRecord: '',
|
||||
isAppRunning: false,
|
||||
}),
|
||||
|
||||
getters: {
|
||||
@@ -1797,6 +1798,26 @@ export const useGlobalStore = defineStore('GlobalStore', {
|
||||
return ''
|
||||
},
|
||||
|
||||
getTableJoinLabelValueByName(col: IColGridTable) {
|
||||
let myarrrec: any = []
|
||||
if (col.jointable) {
|
||||
let myarrtab = this.getTableJoinByName(col.jointable, col.addall, col.addnone, col.filter)
|
||||
|
||||
const key = fieldsTable.getKeyByTable(col.jointable)
|
||||
const collab = fieldsTable.getLabelByTable(col.jointable)
|
||||
|
||||
for (let index = 0; index < myarrtab.length; index++) {
|
||||
let obj = {label: '', value: 0}
|
||||
obj.label = myarrtab[index][collab]
|
||||
obj.value = myarrtab[index][key]
|
||||
myarrrec.push(obj)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return myarrrec
|
||||
},
|
||||
|
||||
getServerHost() {
|
||||
|
||||
let myserv = ''
|
||||
|
||||
Reference in New Issue
Block a user