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