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