feat: attendance增加筛选日期
This commit is contained in:
parent
92c9a51967
commit
fe032c8e1d
|
@ -254,7 +254,7 @@ class AttendanceViewSet(CustomModelViewSet):
|
|||
select_related_fields = ['user',
|
||||
'user__belong_dept', 'user__post', 'shift', 'team']
|
||||
filterset_fields = ['user',
|
||||
'user__belong_dept', 'user__post', 'state']
|
||||
'user__belong_dept', 'user__post', 'state', 'work_date']
|
||||
ordering = ['-create_time']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue