feat: mgroup添加查询条件
This commit is contained in:
parent
80fd2090ad
commit
a432dca39b
|
@ -102,7 +102,8 @@ class MgroupViewSet(CustomModelViewSet):
|
|||
"process": ["exact"],
|
||||
"cate": ["exact"],
|
||||
"belong_dept__name": ["exact", "contains"],
|
||||
"name": ["exact", "contains"]
|
||||
"name": ["exact", "contains"],
|
||||
"code": ["exact", "in", "isnull"]
|
||||
}
|
||||
search_fields = ['name']
|
||||
ordering = ['sort', 'create_time']
|
||||
|
|
Loading…
Reference in New Issue