salix/modules/client/front/credit/index/index.js

31 lines
764 B
JavaScript
Raw Normal View History

2018-05-23 12:26:51 +00:00
import ngModule from '../../module';
2018-07-16 06:00:04 +00:00
class Controller {
constructor($stateParams) {
this.$stateParams = $stateParams;
this.filter = {
include: [
{
relation: 'worker',
scope: {
fields: ['userFk'],
include: {
relation: 'user',
scope: {
fields: ['nickname']
}
}
2018-07-16 06:00:04 +00:00
}
}
]
};
}
}
Controller.$inject = ['$stateParams'];
2018-05-23 12:26:51 +00:00
ngModule.component('vnClientCreditIndex', {
template: require('./index.html'),
2018-07-16 06:00:04 +00:00
controller: Controller
2018-05-23 12:26:51 +00:00
});