salix/modules/account/front/alias/acl/main/index.js

19 lines
455 B
JavaScript
Raw Normal View History

2023-11-29 06:51:58 +00:00
import ngModule from '../../../module';
2023-11-29 06:33:49 +00:00
import ModuleMain from 'salix/components/module-main';
export default class ACL extends ModuleMain {
exprBuilder(param, value) {
switch (param) {
case 'search':
return {model: {like: `%${value}%`}};
default:
return {[param]: value};
}
}
}
ngModule.vnComponent('vnAclMailComponent', {
2023-11-29 06:51:58 +00:00
controller: ACL
// template: require('./index.html')
2023-11-29 06:33:49 +00:00
});