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

22 lines
492 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.vnComponent('vnTicketPicture', {
template: require('./index.html'),
controller: Controller
});