diff --git a/apps/system/filters.py b/apps/system/filters.py index 5ab6c501..0013a133 100755 --- a/apps/system/filters.py +++ b/apps/system/filters.py @@ -13,7 +13,9 @@ class UserFilterSet(filters.FilterSet): 'post': ['exact'], 'belong_dept': ['exact'], 'depts': ['exact'], - 'type': ['exact', 'in'] + 'type': ['exact', 'in'], + 'belong_dept__name': ['exact'], + 'depts__name': ["exact"] }