- Installa APP: Messaggio in CIMA

- in sistemazione: select compare la scelta di prima.
This commit is contained in:
Surya Paolo
2022-12-07 18:16:23 +01:00
parent 077c2dbd9e
commit 944d121943
29 changed files with 1119 additions and 752 deletions

View File

@@ -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 = ''