@@ -762,7 +762,7 @@ class AppletAttendance(Controller):
|
||||
else:
|
||||
has_exception = (check_in_status in ['迟到', '早退', '缺卡', '旷工']) or (
|
||||
check_out_status in ['迟到', '早退', '缺卡', '旷工'])
|
||||
color_select = 2 if has_exception else 1
|
||||
color_select = 3 if has_exception else 1
|
||||
|
||||
records.append({
|
||||
'date': att.current_data.strftime('%Y/%m/%d'),
|
||||
|
||||
Reference in New Issue
Block a user