From d923ac7e70a88a9ee74122039e709a2f66e6f614 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 12 Apr 2024 16:43:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20base=20systemuser=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/system/filters.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/system/filters.py b/apps/system/filters.py index a72cbe28..52312620 100755 --- a/apps/system/filters.py +++ b/apps/system/filters.py @@ -13,7 +13,11 @@ class UserFilterSet(filters.FilterSet): 'post': ['exact'], 'belong_dept': ['exact'], 'depts': ['exact'], - 'type': ['exact', 'in'] + 'type': ['exact', 'in'], + 'belong_dept__name': ['exact'], + 'depts__name': ["exact"], + 'posts__name': ["exact"], + 'posts__code': ["exact"], }