2021-05-04 10:44:21 +00:00
|
|
|
import ngModule from '../module';
|
|
|
|
import Section from 'salix/components/section';
|
2021-05-11 07:43:15 +00:00
|
|
|
import './style.scss';
|
2021-05-04 10:44:21 +00:00
|
|
|
export default class Controller extends Section {
|
|
|
|
openSummary(supplier, event) {
|
|
|
|
if (event.defaultPrevented) return;
|
|
|
|
event.preventDefault();
|
|
|
|
event.stopPropagation();
|
|
|
|
|
|
|
|
this.supplierSelected = supplier;
|
|
|
|
this.$.dialogSummarySupplier.show();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ngModule.vnComponent('vnMonitorIndex', {
|
|
|
|
template: require('./index.html'),
|
|
|
|
controller: Controller
|
|
|
|
});
|