feat: base user增加筛选条件
This commit is contained in:
parent
e3a276c634
commit
166ae8b12c
|
@ -15,9 +15,9 @@ class UserFilterSet(filters.FilterSet):
|
|||
'depts': ['exact'],
|
||||
'type': ['exact', 'in'],
|
||||
'belong_dept__name': ['exact'],
|
||||
'depts__name': ["exact"],
|
||||
'posts__name': ["exact"],
|
||||
'posts__code': ["exact"],
|
||||
'depts__name': ["exact", "contains"],
|
||||
'posts__name': ["exact", "contains"],
|
||||
'posts__code': ["exact", "contains"],
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue