- User Profile

- DashBoard start
This commit is contained in:
Paolo Arena
2019-12-29 23:29:56 +01:00
parent cf91d45427
commit 9e5bd85328
23 changed files with 516 additions and 201 deletions

View File

@@ -30,12 +30,14 @@ export default class CMyFieldDb extends MixinBase {
public myvalue = ''
public col: IColGridTable = { name: 'test' }
public canEdit: boolean = true
public countryname = ''
public created() {
this.myvalue = this.getValDb(this.mykey, this.serv, '', this.table, this.mysubkey)
this.col.jointable = this.jointable
this.col.fieldtype = this.type
this.col.label = this.title
// console.log('created', this.myvalue)
}
@@ -101,4 +103,14 @@ export default class CMyFieldDb extends MixinBase {
this.setValDb(this.mykey, this.myvalue, this.type, this.serv, this.table, this.mysubkey)
}
public selectcountry({name, iso2, dialCode}) {
// console.log(name, iso2, dialCode)
this.myvalue = iso2
this.countryname = name
}
public intcode_change(coderec) {
this.myvalue = '+' + coderec.dialCode
}
}