2019-11-10 10:08:44 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
2024-07-19 10:58:34 +00:00
|
|
|
export default class Claim extends ModuleMain {
|
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
|
|
|
}
|
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
2024-08-28 07:42:59 +00:00
|
|
|
window.location.href = await this.vnApp.getUrl(`claim/`);
|
2024-07-19 10:58:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-10 10:08:44 +00:00
|
|
|
ngModule.vnComponent('vnClaim', {
|
2024-07-19 10:58:34 +00:00
|
|
|
controller: Claim,
|
2019-11-10 10:08:44 +00:00
|
|
|
template: require('./index.html')
|
|
|
|
});
|
2024-07-19 10:58:34 +00:00
|
|
|
|