dashboard-routing.module.ts 8.18 KB
Newer Older
Ooh-Ao committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AnalyticsComponent } from './analytics/analytics.component';
import { EcommerceComponent } from './ecommerce/ecommerce.component';
import { SalesComponent } from './sales/sales.component';
import { CryptoComponent } from './crypto/crypto.component';
import { CrmComponent } from './crm/crm.component';
import { HrmComponent } from './hrm/hrm.component';
import { JobsComponent } from './jobs/jobs.component';
import { NftComponent } from './nft/nft.component';
import { PersonalComponent } from './personal/personal.component';
import { ProjectsComponent } from './projects/projects.component';
import { StocksComponent } from './stocks/stocks.component';
import { CourseComponent } from './course/course.component';
15 16
import { CompanyRegistrationComponent } from '../company-components/company-registration/company-registration.component';
import { JobDetailManagementComponent } from '../job-detail-components/job-detail-management/job-detail-management.component';
17 18 19 20 21 22 23
import { JobDescriptionComponent } from '../company-components/job-description/job-description.component';
import { AccountSettingsComponent } from '../company-components/account-settings/account-settings.component';
import { NameRegistrationComponent } from '../competency-assessment/name-registration/name-registration.component';
import { ToolRegisterComponent } from '../competency-assessment/tool-register/tool-register.component';
import { CourseRegistrationComponent } from '../competency-assessment/course-registration/course-registration.component';
import { CompetencyManagementComponent } from '../competency-assessment/competency-management/competency-management.component';
import { EditGruopCompetenciesComponent } from '../competency-assessment/competency-management/group-competencies/edit-group-competencies/edit-group-competencies.component';
24
import { EvaluationCycleManagerComponent } from '../competency-assessment/evaluation-cycle-manager/evaluation-cycle-manager.component';
25
import { SettingCompetencyComponent } from '../competency-assessment/setting-competency/setting-competency.component';
26
import { IdpDevelopmentPlanComponent } from '../competency-assessment/idp-development-plan/idp-development-plan.component';
27 28
import { JobCompetencyComponent } from '../job-detail-components/job-competency/job-competency.component';
import { JobQualificationsComponent } from '../job-detail-components/job-qualifications/job-qualifications.component';
29
import { JobDetailComponent } from '../job-detail-components/job-detail/job-detail.component';
30
import { CommandStructureComponent } from '../job-detail-components/command-structure/command-structure.component';
31
import { AssessmentManagementComponent } from '../performance-management-evaluation/assessment-management/assessment-management.component';
32
import { JobPositionIndicatorsComponent } from '../job-detail-components/job-position-indicators/job-position-indicators.component';
33
import { EvaluationCyclePerformanceComponent } from '../performance-management-evaluation/evaluation-cycle-performance/evaluation-cycle-performance.component';
34
import { SupervisorEvaluationComponent } from '../Performance Evaluation/supervisor-evaluation/supervisor-evaluation.component';
35
import { EmployeeRegistrationComponent } from '../company-components/employee-registration/employee-registration.component';
36
import { NameRegistrationPerfomanceComponent } from '../performance-management-evaluation/name-registration-perfomance/name-registration-perfomance.component';
37
import { EvaluationFactorsComponent } from '../performance-management-evaluation/evaluation-factors/evaluation-factors.component';
38
import { SettingPerformanceEvalutionComponent } from '../performance-management-evaluation/setting-performance-evalution/setting-performance-evalution.component';
39

40

41

Ooh-Ao committed
42
const routes: Routes = [
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  {
    path: "",
    children: [
      { path: "dashboard/analytics", component: AnalyticsComponent },
      { path: "dashboard/crypto", component: CryptoComponent },
      { path: "dashboard/ecommerce", component: EcommerceComponent },
      { path: "dashboard/sales", component: SalesComponent },
      { path: "dashboard/crm", component: CrmComponent },
      { path: "dashboard/jobs", component: JobsComponent },
      { path: "dashboard/hrm", component: HrmComponent },
      { path: "dashboard/personal", component: PersonalComponent },
      { path: "dashboard/nft", component: NftComponent },
      { path: "dashboard/projects", component: ProjectsComponent },
      { path: "dashboard/stocks", component: StocksComponent },
      { path: "dashboard/course", component: CourseComponent },
Ooh-Ao committed
58

59
      // myComponent
60 61 62
      { path: "company-registration",title: 'ทะเบียนบริษัท', component: CompanyRegistrationComponent },
      { path: "job-description",title: 'ข้อมูลลักษณะงาน', component: JobDescriptionComponent },
      { path: "account-settings",title: 'ตั้งค่าผู้ใช้งาน', component: AccountSettingsComponent },
63 64 65
      { path: "name-registration",title: 'ทะเบียนกำหนดชื่อ', component: NameRegistrationComponent },
      { path: "tool-register",title: 'ทะเบียนเครื่องมือ', component: ToolRegisterComponent },
      { path: "competency-management",title: 'การจัดการสมรรถนะ', component: CompetencyManagementComponent },
66
      { path: "job-detail-management",title: 'การจัดการรายละเอียดงาน', component: JobDetailManagementComponent },
67
      { path: "course-registration",title: 'ทะเบียนหลักสูตร', component: CourseRegistrationComponent },
68
      { path: "edit-group-competencies",title: 'แก้ไขกลุ่มสมรรถนะ', component: EditGruopCompetenciesComponent },
69
      { path: "evaluation-cycle-manager",title: 'การจัดการรอบการประเมิน', component: EvaluationCycleManagerComponent  },
70 71
      { path: "setting-competency",title: 'การตั้งค่า', component: SettingCompetencyComponent },
      { path: "idp-development-plan",title: 'เเผนพัฒนา IDP', component: IdpDevelopmentPlanComponent },
72 73
      { path: "job-competency",title: 'ความรู้ ทักษะ ความสามารถในตำเเหน่งงาน', component: JobCompetencyComponent },
      { path: "job-qualifications",title: 'คุณสมบัติที่จำเป็นต่อการปฏิบัติหน้าที่', component: JobQualificationsComponent },
74
      { path: "job-detail",title: 'รายละเอียดของงาน', component: JobDetailComponent },
75
      { path: "command-structure",title: 'โครงสร้างสายการบังคับบัญชา', component: CommandStructureComponent },
76
      { path: "assessment-management",title: 'การจัดการการประเมิน', component: AssessmentManagementComponent },
77
      { path: "job-position-indicators",title: 'ตัวชี้วัดของตำแหน่งงาน', component: JobPositionIndicatorsComponent },
78
      { path: "evaluation-cycle-performance",title: 'รอบการประเมิน', component: EvaluationCyclePerformanceComponent },
79
      { path: "supervisor-evaluation",title: 'ประเมินโดยหัวหน้า', component: SupervisorEvaluationComponent },
80
      { path: "employee-registration",title: 'ทะเบียนพนักงาน', component: EmployeeRegistrationComponent },
81
      { path: "name-registration-perfomance",title: 'ทะเบียนกำหนดชื่อ', component: NameRegistrationPerfomanceComponent },
82
      { path: "evaluation-factors",title: 'การประเมินจัดการประสิทธิภาพ', component: EvaluationFactorsComponent },
83
      { path: "setting-performance-evalution",title: 'การตั้งค่า', component: SettingPerformanceEvalutionComponent },
84

85 86
    ]
  }
Ooh-Ao committed
87 88 89 90 91 92
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DashboardRoutingModule { }