fix: 打卡记录导出bug
This commit is contained in:
parent
1ed0a2542e
commit
e0210c4bef
|
@ -251,7 +251,7 @@ class ClockRecordViewSet(ListModelMixin, CustomGenericViewSet):
|
|||
i['detail'].get('deviceName', None),
|
||||
i['create_time']],
|
||||
crOptions[i['type']],
|
||||
crEoptions[i['exception_type']]
|
||||
crEoptions[i['exception_type']] if i['exception_type'] else ''
|
||||
)
|
||||
return Response({'path': export_excel(field_data, data, '打卡记录')})
|
||||
|
||||
|
|
Loading…
Reference in New Issue