22 lines
432 B
JavaScript
22 lines
432 B
JavaScript
import ngModule from '../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
class Controller extends Section {
|
|
onSubmit() {
|
|
this.$.watcher.submit().then(() =>
|
|
this.card.reload()
|
|
);
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnZoneBasicData', {
|
|
template: require('./index.html'),
|
|
controller: Controller,
|
|
bindings: {
|
|
zone: '<'
|
|
},
|
|
require: {
|
|
card: '^vnZoneCard'
|
|
}
|
|
});
|