|
|
@ -165,9 +165,13 @@ def add_chapter_2(doc): |
|
|
|
|
|
|
|
departments_excluded = ['汇派-质量部', '汇派-生产部', '汇派-计划部', '汇派-人事部', '汇派-采购部', '党建工会', '工程项目中心', '北京技术中心'] |
|
|
|
|
|
|
|
for index, (department, elapse) in enumerate(procinst_duration_by_department): |
|
|
|
d = [] |
|
|
|
for department, elapse in procinst_duration_by_department: |
|
|
|
if department not in departments_excluded: |
|
|
|
add_section(doc, index + 1, department, elapse) |
|
|
|
d.append((department, elapse)) |
|
|
|
|
|
|
|
for index, (department, elapse) in enumerate(d): |
|
|
|
add_section(doc, index + 1, department, elapse) |
|
|
|
|
|
|
|
|
|
|
|
def add_chapter_1(doc): |
|
|
|