feat: base systemuser增加筛选条件

This commit is contained in:
caoqianming 2024-04-12 16:43:48 +08:00
parent 35387a8333
commit 153fca308e
1 changed files with 3 additions and 1 deletions

View File

@ -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"],
}