...
Code Block | ||||
---|---|---|---|---|
| ||||
<template> <div > <header> <a @click="callAkiomaCode('$ akioma.testvueTemplates.stamm.OpenVersicherterLaunchDetailsWindow(eventSource); ')"><h3>{{fullName}}</h3></a> </header> </div> </template> <script> import mixinAkioma from '@/mixins/mixinGlobalAkioma'; export default { mixins: [ mixinAkioma ], props: { dataSource:{ type: Object }, datasourceNamespace: { type: Object }, currentRecord: { type: Object }, controller: { type:Object } }, computed: { fullName(){ if(this.currentRecord.stamm_nr_nachname || this.currentRecord.vorname) return `${this.currentRecord.stamm_nr_nachname} ${this.currentRecord.vorname}`; else return ''; } } } </script> |
...
List of default available Vue Mixins:
Vue Mixins |
---|
@/mixins/mixinGlobalAkioma |
(see example above, where callAkiomaCode is used to call the method defined in akioma.test.stamm.OpenVersicherter)
...