25 lines
544 B
JavaScript
25 lines
544 B
JavaScript
import ngModule from '../../module';
|
|
|
|
class Controller {
|
|
constructor($stateParams) {
|
|
this.$stateParams = $stateParams;
|
|
this.filter = {
|
|
include: [
|
|
{
|
|
relation: "greugeType",
|
|
scope: {
|
|
fields: ["id", "name"]
|
|
}
|
|
}
|
|
]
|
|
};
|
|
}
|
|
}
|
|
|
|
Controller.$inject = ['$stateParams'];
|
|
|
|
ngModule.component('vnClientGreugeIndex', {
|
|
template: require('./index.html'),
|
|
controller: Controller
|
|
});
|