29 lines
697 B
JavaScript
29 lines
697 B
JavaScript
import ngModule from '../../module';
|
|
import Section from 'salix/components/section';
|
|
|
|
class Controller extends Section {
|
|
constructor($element, $) {
|
|
super($element, $);
|
|
this.filter = {
|
|
include: [
|
|
{
|
|
relation: 'user',
|
|
scope: {
|
|
fields: ['name']
|
|
}
|
|
}, {
|
|
relation: 'state',
|
|
scope: {
|
|
fields: ['name']
|
|
}
|
|
}
|
|
]
|
|
};
|
|
}
|
|
}
|
|
|
|
ngModule.vnComponent('vnTicketTrackingIndex', {
|
|
template: require('./index.html'),
|
|
controller: Controller
|
|
});
|