feat: utask mtask 增加筛选条件
This commit is contained in:
parent
4960ee7fac
commit
26172b767f
|
@ -21,6 +21,7 @@ class UtaskFilter(filters.FilterSet):
|
||||||
"belong_dept__name": ["exact"],
|
"belong_dept__name": ["exact"],
|
||||||
"mgroup__belong_dept__name": ["exact"],
|
"mgroup__belong_dept__name": ["exact"],
|
||||||
"mtask_utask__mgroup": ["exact"],
|
"mtask_utask__mgroup": ["exact"],
|
||||||
|
"mtask_utask__mgroup__name": ["exact"],
|
||||||
"mtask_utask__mgroup__belong_dept": ['exact'],
|
"mtask_utask__mgroup__belong_dept": ['exact'],
|
||||||
"mtask_utask__mgroup__belong_dept__name": ['exact']
|
"mtask_utask__mgroup__belong_dept__name": ['exact']
|
||||||
}
|
}
|
||||||
|
@ -49,6 +50,7 @@ class MtaskFilter(filters.FilterSet):
|
||||||
"start_date": ["exact", "gte", "lte"],
|
"start_date": ["exact", "gte", "lte"],
|
||||||
"end_date": ["exact", "gte", "lte"],
|
"end_date": ["exact", "gte", "lte"],
|
||||||
"mgroup": ["exact"],
|
"mgroup": ["exact"],
|
||||||
|
"mgroup__name": ["exact"],
|
||||||
"mgroup__cate": ["exact"],
|
"mgroup__cate": ["exact"],
|
||||||
"mgroup__process": ["exact"],
|
"mgroup__process": ["exact"],
|
||||||
"mgroup__process__cate": ["exact"],
|
"mgroup__process__cate": ["exact"],
|
||||||
|
|
Loading…
Reference in New Issue