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

31 lines
717 B
JavaScript
Raw Normal View History

import ngModule from '../../module';
2018-07-17 06:44:31 +00:00
class Controller {
constructor($stateParams) {
this.$stateParams = $stateParams;
this.filter = {
include: [
{
relation: "worker",
scope: {
fields: ["firstName", "name"]
}
},
{
relation: "state",
scope: {
fields: ["name"]
}
}
]
};
}
}
Controller.$inject = ['$stateParams'];
ngModule.component('vnTicketTrackingIndex', {
template: require('./index.html'),
2018-07-17 06:44:31 +00:00
controller: Controller
});