update file utils
This commit is contained in:
parent
70358eef67
commit
c6884c81a8
@ -423,6 +423,8 @@ def dict2xlsx(input: json, _type='report'):
|
|||||||
ws[key + str(start_index)].font = font_black_bold
|
ws[key + str(start_index)].font = font_black_bold
|
||||||
if key_index == 0 or (key_index >= 9 and key_index <= 15):
|
if key_index == 0 or (key_index >= 9 and key_index <= 15):
|
||||||
ws[key + str(start_index)].fill = fill_gray
|
ws[key + str(start_index)].fill = fill_gray
|
||||||
|
elif key_index == 1:
|
||||||
|
ws[key + str(start_index)].fill = fill_green
|
||||||
elif key_index >= 4 and key_index <= 8:
|
elif key_index >= 4 and key_index <= 8:
|
||||||
ws[key + str(start_index)].fill = fill_yellow
|
ws[key + str(start_index)].fill = fill_yellow
|
||||||
elif _type == 'report_detail':
|
elif _type == 'report_detail':
|
||||||
|
Loading…
Reference in New Issue
Block a user