diff --git a/apps/system/filters.py b/apps/system/filters.py index a72cbe28..52312620 100755 --- a/apps/system/filters.py +++ b/apps/system/filters.py @@ -13,7 +13,11 @@ class UserFilterSet(filters.FilterSet): 'post': ['exact'], 'belong_dept': ['exact'], 'depts': ['exact'], - 'type': ['exact', 'in'] + 'type': ['exact', 'in'], + 'belong_dept__name': ['exact'], + 'depts__name': ["exact"], + 'posts__name': ["exact"], + 'posts__code': ["exact"], }