|  | @ -64,11 +64,6 @@
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             var tenantManager = {} ;
 | 
	
		
			
				|  |  |             var userRole = localStorage.getItem("userRole");
 | 
	
		
			
				|  |  |             if(userRole=="admin"){
 | 
	
		
			
				|  |  |                 //是管理中心用户,则添加租户管理模块
 | 
	
		
			
				|  |  | //                menu = menu.concat(tenantManager);
 | 
	
		
			
				|  |  |                 tenantManager =  {id: 75, pid: 7, text: '租户管理', url: '${contextRoot}/tenant/initial'};
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  |             //菜单列表
 | 
	
		
			
				|  |  |             var menu = [
 | 
	
		
			
				|  |  |                 //标准管理
 | 
	
	
		
			
				|  | @ -105,6 +100,15 @@
 | 
	
		
			
				|  |  |                 {id: 37, pid: 3, text: '维度类别配置', url: '${contextRoot}/dimension/dimensioncatetory'},
 | 
	
		
			
				|  |  |                 //用户安全中心
 | 
	
		
			
				|  |  |                 {id: 7, text: '用户安全', icon: '${staticRoot}/images/index/menu5_icon.png'},
 | 
	
		
			
				|  |  |             ];
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             if(userRole=="admin"){
 | 
	
		
			
				|  |  |                 //是管理中心用户,则添加租户管理模块
 | 
	
		
			
				|  |  | //                menu = menu.concat(tenantManager);
 | 
	
		
			
				|  |  |                  menu.push({id: 70, pid: 7, text: '租户管理', url: '${contextRoot}/tenant/initial'});
 | 
	
		
			
				|  |  |             }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             var menu_1 = [
 | 
	
		
			
				|  |  |                 {id: 71, pid: 7, text: '机构管理', url: '${contextRoot}/org/initial'},
 | 
	
		
			
				|  |  |                 {id: 72, pid: 7, text: '用户管理', url: '${contextRoot}/user/initial'},
 | 
	
		
			
				|  |  |                 {id: 73, pid: 7, text: '角色管理', url: '${contextRoot}/role/initial'},
 | 
	
	
		
			
				|  | @ -116,7 +120,12 @@
 | 
	
		
			
				|  |  |                 {id: 93, pid: 9, text: '菜单配置', url: '${contextRoot}/menu/initial'},
 | 
	
		
			
				|  |  |                 {id: 94, pid: 9, text: '菜单按钮配置', url: '${contextRoot}/menu/menuAction/initial'},
 | 
	
		
			
				|  |  |                 {id: 95, pid: 9, text: '数据源配置', url: '${contextRoot}/datasource/configSources'},
 | 
	
		
			
				|  |  |             ];
 | 
	
		
			
				|  |  |             ]
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             menu =  menu.concat(menu_1);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             debugger
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |             me.menuTree = $('#ulTree').ligerTree({
 | 
	
		
			
				|  |  |                 data: menu,
 | 
	
		
			
				|  |  |                 idFieldName: 'id',
 |