2018-05-25 08:03:45 +00:00
|
|
|
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'];
|
2018-05-25 08:03:45 +00:00
|
|
|
|
|
|
|
ngModule.component('vnTicketTrackingIndex', {
|
|
|
|
template: require('./index.html'),
|
2018-07-17 06:44:31 +00:00
|
|
|
controller: Controller
|
2018-05-25 08:03:45 +00:00
|
|
|
});
|