|  | @ -520,7 +520,7 @@ def try_create_dir(dir_name): | 
			
		
	
		
		
			
				
					|  |  | def generate_procinst_by_department(procinst_by_senior, procinst_by_department_user): |  |  | def generate_procinst_by_department(procinst_by_senior, procinst_by_department_user): | 
			
		
	
		
		
			
				
					|  |  |     departments = {}  # 存储每个部门的信息 |  |  |     departments = {}  # 存储每个部门的信息 | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |     procinst_by_senior_user = [('高管', item[0], item[1], item[2]) for item in procinst_by_senior] |  |  |     procinst_by_senior_user = [('总监以上团队长', item[0], item[1], item[2]) for item in procinst_by_senior] | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |     all_departments = procinst_by_department_user + procinst_by_senior_user |  |  |     all_departments = procinst_by_department_user + procinst_by_senior_user | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     for item in all_departments: |  |  |     for item in all_departments: | 
			
		
	
	
		
		
			
				
					|  | 
 |