增加额外工作记录

This commit is contained in:
fengbohan 2024-07-03 16:38:04 +08:00
parent c47e49baaf
commit 1e83c98883

View File

@ -92,19 +92,20 @@ class WEEK_REPORT:
table.Cell(Row=i, Column=2).Range.Text = "\n".join(["{}:".format(i) for i in self.project_name])
table.Cell(Row=i, Column=3).Range.Text = "\n".join(["{}:".format(i) for i in self.project_name])
table.Cell(Row=i, Column=2).Range.Font.Bold = True
table.Cell(Row=i, Column=3).Range.Font.Bold = True
# table.Cell(Row=i, Column=2).Range.Font.Bold = True
# table.Cell(Row=i, Column=3).Range.Font.Bold = True
table.Cell(Row=i, Column=2).Range.Font.Name = "Times New Roman"
table.Cell(Row=i, Column=3).Range.Font.Name = "Times New Roman"
table.Cell(Row=i, Column=2).Range.Text = table.Cell(Row=i, Column=2).Range.Text.upper()
table.Cell(Row=i, Column=3).Range.Text = table.Cell(Row=i, Column=3).Range.Text.upper()
# 额外工作记录
table.Cell(Row=13, Column=1).Range.Text = ''
str_tmp = "\n" + " ;".join([" {}:".format(i) for i in self.project_name]);
table.Cell(Row=13, Column=1).Range.Text = "周一0h{0}\n周二0h{0}\n周三0h{0}\n周四0h{0}\n周五0h{0}\n周六0h{0}\n周日0h{0}\n".format(str_tmp)
# 工作完成情况
table.Cell(Row=15, Column=1).Range.Text = "\n".join(["{}(xx%)".format(i) for i in self.project_name])
table.Cell(Row=15, Column=1).Range.Font.Bold = True
#table.Cell(Row=15, Column=1).Range.Font.Bold = True
table.Cell(Row=15, Column=1).Range.Font.Name = "Times New Roman"
table.Cell(Row=15, Column=1).Range.Text = table.Cell(Row=15, Column=1).Range.Text.upper()
@ -113,7 +114,7 @@ class WEEK_REPORT:
# 下周工作重点
table.Cell(Row=19, Column=1).Range.Text = "\n".join(["{}:".format(i) for i in self.project_name])
table.Cell(Row=19, Column=1).Range.Font.Bold = True
#table.Cell(Row=19, Column=1).Range.Font.Bold = True
table.Cell(Row=19, Column=1).Range.Font.Name = "Times New Roman"
table.Cell(Row=19, Column=1).Range.Text = table.Cell(Row=19, Column=1).Range.Text.upper()