|
@@ -85,5 +85,18 @@ order by first_unit,
|
|
worksheet.write(row_num + 1, col, item.get('xing_shi_tian_shu_sum'))
|
|
worksheet.write(row_num + 1, col, item.get('xing_shi_tian_shu_sum'))
|
|
col += 1
|
|
col += 1
|
|
worksheet.write(row_num + 1, col, item.get('workday_sum'))
|
|
worksheet.write(row_num + 1, col, item.get('workday_sum'))
|
|
|
|
+ worksheet.set_column('A:A', 12)
|
|
|
|
+ worksheet.set_column('B:B', 12)
|
|
|
|
+ worksheet.set_column('C:C', 12)
|
|
|
|
+ worksheet.set_column('D:D', 12)
|
|
|
|
+ worksheet.set_column('E:E', 12)
|
|
|
|
+ worksheet.set_column('F:F', 12)
|
|
|
|
+ worksheet.set_column('G:G', 12)
|
|
|
|
+ worksheet.set_column('H:H', 12)
|
|
|
|
+ worksheet.set_column('I:I', 12)
|
|
|
|
+ worksheet.set_column('J:J', 12)
|
|
|
|
+ worksheet.set_column('K:K', 12)
|
|
|
|
+ worksheet.set_column('L:L', 12)
|
|
|
|
+ worksheet.set_column('M:M', 12)
|
|
# 保存并关闭工作簿
|
|
# 保存并关闭工作簿
|
|
workbook.close()
|
|
workbook.close()
|