| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -47,7 +47,7 @@ Component({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        this.setData({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            selected: app.globalData.selected | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // secretary 书记
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        // secretary 书记 admin 管理员
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log( app.globalData.roleList.filter(item => item.roleKey === 'secretary')) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(app.globalData.roleList.length <= 0) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -55,13 +55,13 @@ Component({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            getOwnedRolesOfStaffId(res.data.id).then(res2 => { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                app.globalData.user = res.data | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                this.setData({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    "list[2].show": res2.data.filter(item => item.roleKey === 'secretary').length > 0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    "list[2].show": res2.data.filter(item => item.roleKey === 'secretary' || item.roleKey === 'admin').length > 0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            this.setData({ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                "list[2].show": app.globalData.roleList.filter(item => item.roleKey === 'secretary').length > 0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                "list[2].show": app.globalData.roleList.filter(item => item.roleKey === 'secretary' || item.roleKey === 'admin').length > 0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            }) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        console.log(app.globalData.roleList, 'userss') | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |