|  | @@ -1,12 +1,12 @@
 | 
	
		
			
				|  |  |  import { Routes } from '@angular/router';
 | 
	
		
			
				|  |  | -// import { WxworkAuthGuard } from 'fmode-ng'; // 临时禁用以解决初始化问题
 | 
	
		
			
				|  |  | +import { WxworkAuthGuard } from 'fmode-ng/social'; 
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export const routes: Routes = [
 | 
	
		
			
				|  |  |    // 客服路由
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      path: 'customer-service',
 | 
	
		
			
				|  |  |      loadComponent: () => import('./pages/customer-service/customer-service-layout/customer-service-layout').then(m => m.CustomerServiceLayout),
 | 
	
		
			
				|  |  | -    // canActivate: [WxworkAuthGuard], // 临时禁用
 | 
	
		
			
				|  |  | +    canActivate: [WxworkAuthGuard], 
 | 
	
		
			
				|  |  |      children: [
 | 
	
		
			
				|  |  |        { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 | 
	
		
			
				|  |  |        {
 | 
	
	
		
			
				|  | @@ -61,7 +61,7 @@ export const routes: Routes = [
 | 
	
		
			
				|  |  |    // 设计师路由
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      path: 'designer',
 | 
	
		
			
				|  |  | -    // canActivate: [WxworkAuthGuard], // 临时禁用
 | 
	
		
			
				|  |  | +    canActivate: [WxworkAuthGuard], 
 | 
	
		
			
				|  |  |      children: [
 | 
	
		
			
				|  |  |        { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 | 
	
		
			
				|  |  |        {
 | 
	
	
		
			
				|  | @@ -85,7 +85,7 @@ export const routes: Routes = [
 | 
	
		
			
				|  |  |    // 组长路由
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      path: 'team-leader',
 | 
	
		
			
				|  |  | -    // canActivate: [WxworkAuthGuard], // 临时禁用用于开发测试
 | 
	
		
			
				|  |  | +    canActivate: [WxworkAuthGuard], 
 | 
	
		
			
				|  |  |      children: [
 | 
	
		
			
				|  |  |        { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 | 
	
		
			
				|  |  |        {
 | 
	
	
		
			
				|  | @@ -125,7 +125,7 @@ export const routes: Routes = [
 | 
	
		
			
				|  |  |    // 财务路由
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      path: 'finance',
 | 
	
		
			
				|  |  | -    // canActivate: [WxworkAuthGuard], // 临时禁用
 | 
	
		
			
				|  |  | +    canActivate: [WxworkAuthGuard], 
 | 
	
		
			
				|  |  |      children: [
 | 
	
		
			
				|  |  |        { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 | 
	
		
			
				|  |  |        {
 | 
	
	
		
			
				|  | @@ -160,7 +160,7 @@ export const routes: Routes = [
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      path: 'hr',
 | 
	
		
			
				|  |  |      loadComponent: () => import('./pages/hr/hr-layout/hr-layout').then(m => m.HrLayout),
 | 
	
		
			
				|  |  | -    // canActivate: [WxworkAuthGuard], // 临时禁用
 | 
	
		
			
				|  |  | +    canActivate: [WxworkAuthGuard], 
 | 
	
		
			
				|  |  |      children: [
 | 
	
		
			
				|  |  |        {
 | 
	
		
			
				|  |  |          path: 'dashboard',
 | 
	
	
		
			
				|  | @@ -185,7 +185,7 @@ export const routes: Routes = [
 | 
	
		
			
				|  |  |    {
 | 
	
		
			
				|  |  |      path: 'admin',
 | 
	
		
			
				|  |  |      loadComponent: () => import('./pages/admin/admin-layout/admin-layout').then(m => m.AdminLayout),
 | 
	
		
			
				|  |  | -    // canActivate: [WxworkAuthGuard], // 临时禁用
 | 
	
		
			
				|  |  | +    canActivate: [WxworkAuthGuard], 
 | 
	
		
			
				|  |  |      children: [
 | 
	
		
			
				|  |  |        { path: '', redirectTo: 'dashboard', pathMatch: 'full' },
 | 
	
		
			
				|  |  |        {
 |