salix/modules/ticket/front/picture/index.js

22 lines
490 B
JavaScript

import ngModule from '../module';
import Section from 'salix/components/section';
class Controller extends Section {
constructor($element, $) {
super($element, $);
this.filter = {
include: {
relation: 'item',
scope: {
field: ['name', 'image']
}
}
};
}
}
ngModule.component('vnTicketPicture', {
template: require('./index.html'),
controller: Controller
});