This commit is contained in:
parent
7fb6ecd617
commit
05f09d0b87
|
@ -8,12 +8,11 @@ class Controller extends Section {
|
||||||
|
|
||||||
async $onInit() {
|
async $onInit() {
|
||||||
const url = await this.vnApp.getUrl(`worker/${this.$params.id}/pda`);
|
const url = await this.vnApp.getUrl(`worker/${this.$params.id}/pda`);
|
||||||
console.log('url: ', url);
|
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngModule.vnComponent('vnClaimPhotos', {
|
ngModule.vnComponent('vnWorkerPda', {
|
||||||
controller: Controller,
|
controller: Controller,
|
||||||
bindings: {
|
bindings: {
|
||||||
claim: '<'
|
claim: '<'
|
||||||
|
|
Loading…
Reference in New Issue