2020-10-15 06:15:04 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import ModuleMain from 'salix/components/module-main';
|
|
|
|
|
2024-06-18 11:44:39 +00:00
|
|
|
export default class Supplier extends ModuleMain {
|
|
|
|
constructor($element, $) {
|
|
|
|
super($element, $);
|
|
|
|
}
|
|
|
|
async $onInit() {
|
|
|
|
this.$state.go('home');
|
|
|
|
window.location.href = await this.vnApp.getUrl(`supplier/`);
|
|
|
|
}
|
|
|
|
}
|
2020-10-15 06:15:04 +00:00
|
|
|
|
|
|
|
ngModule.vnComponent('vnSupplier', {
|
|
|
|
controller: Supplier,
|
|
|
|
template: require('./index.html')
|
|
|
|
});
|