2018-01-18 07:38:04 +00:00
|
|
|
import ngModule from '../module';
|
2018-07-16 07:28:32 +00:00
|
|
|
|
|
|
|
class Controller {
|
|
|
|
constructor($stateParams) {
|
|
|
|
this.$stateParams = $stateParams;
|
|
|
|
this.filter = {
|
|
|
|
include: [{
|
|
|
|
relation: "item"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
relation: "user",
|
|
|
|
scope: {
|
|
|
|
fields: ["name"]
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Controller.$inject = ['$stateParams'];
|
2018-01-18 07:38:04 +00:00
|
|
|
|
|
|
|
ngModule.component('vnItemHistory', {
|
2018-05-25 08:03:45 +00:00
|
|
|
template: require('./index.html'),
|
2018-07-16 07:28:32 +00:00
|
|
|
controller: Controller
|
2018-01-18 07:38:04 +00:00
|
|
|
});
|