feat: base systemuser增加筛选条件
This commit is contained in:
parent
b2b2cf70bc
commit
d923ac7e70
|
|
@ -13,7 +13,11 @@ class UserFilterSet(filters.FilterSet):
|
||||||
'post': ['exact'],
|
'post': ['exact'],
|
||||||
'belong_dept': ['exact'],
|
'belong_dept': ['exact'],
|
||||||
'depts': ['exact'],
|
'depts': ['exact'],
|
||||||
'type': ['exact', 'in']
|
'type': ['exact', 'in'],
|
||||||
|
'belong_dept__name': ['exact'],
|
||||||
|
'depts__name': ["exact"],
|
||||||
|
'posts__name': ["exact"],
|
||||||
|
'posts__code': ["exact"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue