| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -22,7 +22,6 @@ import com.elink.esua.epdc.commons.tools.constant.Constant; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.commons.tools.security.user.UserDetail; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.commons.tools.utils.Result; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.dto.AppMenuGroupDTO; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.dto.epdc.result.EpdcAppChildNavResultDTO; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.dto.epdc.result.EpdcAppIndexPanelResultDTO; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import com.elink.esua.epdc.service.AppMenuService; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import org.springframework.beans.factory.annotation.Autowired; | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -44,7 +43,14 @@ public class AppMenuV2Controller { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @Autowired | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    private AppMenuService appMenuService; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * 管理端角色修改页面,获取全部菜单 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @param userDetail | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return com.elink.esua.epdc.commons.tools.utils.Result<com.elink.esua.epdc.dto.AppMenuGroupDTO> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @author work@yujt.net.cn | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @date 2020/9/1 17:31 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @GetMapping("select") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<AppMenuGroupDTO> select(UserDetail userDetail) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        AppMenuGroupDTO result = appMenuService.getUserMenuListV2(userDetail); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -52,26 +58,17 @@ public class AppMenuV2Controller { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @param mobile | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcIndexPanelResultDTO>> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Author yinzuomei | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Description 首页面板 获取工作端APP菜单 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Date 2019/11/20 10:43 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     **/ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @GetMapping("/indexPanel/{mobile}") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<List<EpdcAppIndexPanelResultDTO>> indexPanel(@PathVariable("mobile") String mobile) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return appMenuService.indexPanel(mobile); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * 首页面板 获取工作端、数据端首页菜单 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @param category {@link com.elink.esua.epdc.enums.AppMenuCategoryEnum} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @param mobile   管理员手机号 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcAppIndexPanelResultDTO>> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @author work@yujt.net.cn | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @date 2020/9/1 17:30 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     */ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @GetMapping("/indexPanel/${category}/{mobile}") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<List<EpdcAppIndexPanelResultDTO>> indexPanel(@PathVariable("category") String category, @PathVariable("mobile") String mobile) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return new Result().ok(appMenuService.indexPanel(category, mobile)); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    /** | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @param userId | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.epdc.result.EpdcAppChildNavResultDTO>> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Author lpf | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Description 首页面板 获取数据端APP菜单 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     * @Date 2020/03/18 10:42 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					     **/ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    @GetMapping("/analysisIndexPanel/{userId}") | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    public Result<List<EpdcAppChildNavResultDTO>> analysisIndexPanel(@PathVariable("userId") String userId) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return appMenuService.getAnalysisIndexPanel(userId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
					 | 
				
				 | 
				
					
  |