|
@@ -86,10 +86,10 @@ import { VehicleMovementReportComponent } from './vehicle-movement-report/vehicl
|
|
|
|
|
|
const dashboardRouting: Routes = [
|
|
|
{path: 'service/:userID/:serviceID', component: ServiceItemComponent, canActivate: [AuthGuard], children: [
|
|
|
- {path: 'users/:userPageId', component: UsersComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'roles/:rolesPageId', component: RolesListComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'departments/:departsPageId', component: DepartmentListComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'sections/:sectionPageId', component: SectionListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'users/:listPageId', component: UsersComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'roles/:listPageId', component: RolesListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'departments/:listPageId', component: DepartmentListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'sections/:listPageId', component: SectionListComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'reports', component: ReportsPageComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addu/:type_add', component: FormUserComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addJoinUs', component: AddJoinUsComponent, canActivate:[AuthGuard]},
|
|
@@ -102,37 +102,37 @@ const dashboardRouting: Routes = [
|
|
|
{path: 'editAdminstration/:typeAdminMode/:editAdminId', component: AddDepartmentComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addSection', component: AddSectionComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'editSection/:typeSectionMode/:editSectionId', component: AddSectionComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'hospitalsList/:typePageId', component: HospitalListComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'mangementList/:typePageId', component: HospitalListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'hospitalsList/:listPageId', component: HospitalListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'mangementList/:listPageId', component: HospitalListComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'add/:typeAdd' , component: AddHospitalComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'Hospital/:typeHospitalMode/:editTypePageId', component: AddHospitalComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'Management/:typeHospitalMode/:editTypePageId', component: AddHospitalComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'eventsList/:eventPageId', component: EventsComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'eventsList/:listPageId', component: EventsComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addEvent', component: AddEventComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'Event/:typeEventMode/:editEventId', component: AddEventComponent, canActivate:[AuthGuard]},
|
|
|
- {path: 'externalsList/:externalPageId', component: ExternalListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'externalsList/:listPageId', component: ExternalListComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addExternal', component: AddExternalComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'externalService/:typeExternalMode/:editExternalId', component: AddExternalComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'achievementsList/:achievementPageId', component: AchievementComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'achievementsList/:listPageId', component: AchievementComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addAchievement', component: AddAchievementComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'achievement/:typeAchieventMode/:editAchievementId', component: AddAchievementComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'joinUs/:userPageId', component: UsersComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'tabs/:tabPageId', component: TabListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'tabs/:listPageId', component: TabListComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addTab', component: AddTabComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'tab/:typeTabMode/:editTabId', component: AddTabComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'newsList/:newsPageId', component: NewsListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'newsList/:listPageId', component: NewsListComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addNews', component: AddNewsComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'new/:typeNewMode/:editNewId', component: AddNewsComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'footerList/:footerPageId', component: FooterListComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'footerList/:listPageId', component: FooterListComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addFooter', component: AddFooterComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'footer/:typeFooterMode/:editFooterId', component: AddFooterComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'internalServicesList/:internalPageId', component: InternalServicesComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'internalServicesList/:listPageId', component: InternalServicesComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'addInternalServices', component: AddInternalServicesComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'InternalServices/:typeInternalMode/:editInternalId', component: AddInternalServicesComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'lecturesList/:lecturePageId', component: LecturesListComponent, canActivate:[AuthGuard]},
|
|
|
+ {path: 'lecturesList/:listPageId', component: LecturesListComponent, canActivate:[AuthGuard]},
|
|
|
{path: 'addLecture', component: AddLectureComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'Lecture/:typeLectureMode/:editLectureId', component: AddLectureComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'mainMenuList/:menuPageId', component: MainListComponent, canActivate:[AuthGuard]},
|
|
|
+ {path: 'mainMenuList/:listPageId', component: MainListComponent, canActivate:[AuthGuard]},
|
|
|
{path: 'addMenu', component: AddMenuComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'menu/:typeMenuMode/:editMenuId', component: AddMenuComponent, canActivate: [AuthGuard]},
|
|
|
{path: 'userPermission/:userPermissionId', component: UserPermissionComponent, canActivate: [AuthGuard]},
|
|
@@ -142,58 +142,58 @@ const dashboardRouting: Routes = [
|
|
|
{path: 'reportList/:reportName', component: ReportListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'advertisimentList/:adverId', component: AdvertisimentComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'advertisiment/:typeAdver', component: AddAdverComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'barEventsList/:barEventId', component: BarEventsListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'barEventsList/:listPageId', component: BarEventsListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'barEvent/:typeEventBar', component: AddBarEventComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'contactUsList/:contactUsId', component: ContactUsListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'contactUsList/:listPageId', component: ContactUsListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'contactUs/:typeContactUs/:contactId', component: AddContactUsComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'visitingTimesList/:visitingTimesId', component: VisitingTimesListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'visitingTimesList/:listPageId', component: VisitingTimesListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'visitingTime/:typeVisitingTime/:visitingTimeId', component: AddVisitingTimeComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'eventCalendarsList/:eventCalendarsId', component: EventCalendarsListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'eventCalendarsList/:listPageId', component: EventCalendarsListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'addEventCalendar', component: AddEventCalendarComponent, canActivate: [AuthGuard] },
|
|
|
{path: 'eventCalendar/:typeEventCalendar/:eventCalendarId', component: AddEventCalendarComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'externalAchievementsList/:externalAchievementsListIds', component: ExternalAchievementsListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'externalAchievementsList/:listPageId', component: ExternalAchievementsListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'addExternalAchievement', component: AddExternalAchievementComponent, canActivate: [AuthGuard] },
|
|
|
{path: 'externalAchievement/:typeExternalAchievement/:externalAchievementId', component: AddExternalAchievementComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'statisticsList/:statisticsListIds', component: StatisticsListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'statisticsList/:listPageId', component: StatisticsListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'addStatistic', component: AddStatisticComponent, canActivate: [AuthGuard] },
|
|
|
{path: 'statistic/:typeStatistic/:statisticId', component: AddStatisticComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'advertisingList/:advertisingListIds', component: AdvertisingServicesListComponent , canActivate: [AuthGuard]},
|
|
|
+ {path: 'advertisingList/:listPageId', component: AdvertisingServicesListComponent , canActivate: [AuthGuard]},
|
|
|
{path: 'addAdvertising', component: AddAdvertisingServiceComponent, canActivate: [AuthGuard] },
|
|
|
{path: 'advertising/:typeAdvertising/:advertisingId', component: AddAdvertisingServiceComponent , canActivate: [AuthGuard]},
|
|
|
- {path: 'map/:mapId', component: MapComponent, canActivate: [AuthGuard]},
|
|
|
- {path: 'supervisorList/:superVisorId', component: SupervisorListComponent},
|
|
|
+ {path: 'map/:listPageId', component: MapComponent, canActivate: [AuthGuard]},
|
|
|
+ {path: 'supervisorList/:listPageId', component: SupervisorListComponent},
|
|
|
{path: 'superVisor/Add', component: SupervisorAddComponent},
|
|
|
{path: 'superVisor/edit/:superEditId', component: SupervisorAddComponent},
|
|
|
- {path: 'absorpationList/:absorpationListId', component: AbsorpationListComponent},
|
|
|
+ {path: 'absorpationList/:listPageId', component: AbsorpationListComponent},
|
|
|
{path: 'absorpation/Add', component: AbsorpationAddComponent},
|
|
|
{path: 'absorpation/edit/:absorpationEditId', component: AbsorpationAddComponent},
|
|
|
- {path: 'trainnerList/:trainnerListId', component: TrainnerDataListComponent},
|
|
|
+ {path: 'trainnerList/:listPageId', component: TrainnerDataListComponent},
|
|
|
{path: 'trainer/add', component: TrainnerDataAddComponent},
|
|
|
{path: 'trainer/edit/:trainnerEditId', component: TrainnerDataAddComponent},
|
|
|
- {path: 'reviewTrainerData/:reviewTrainerId', component: ReviewTraineeDataListComponent},
|
|
|
+ {path: 'reviewTrainerData/:listPageId', component: ReviewTraineeDataListComponent},
|
|
|
{path: 'reviewTraineeData/add', component: ReviewTraineeAddComponent},
|
|
|
{path: 'reviewTraineeData/edit/:reviewTraineeId', component: ReviewTraineeAddComponent},
|
|
|
{path: 'reviewSectionForTrainee/:reviewSectionId', component: SectionReviewTraineeListComponent},
|
|
|
{path: 'reviewSectionForTrainee/edit/:reviewSectionAddId', component: SectionReviewTraineeAddComponent},
|
|
|
{path: 'registrationTraineeList/:registrationListId', component: RegistrationTraineeMovementListComponent},
|
|
|
{path: 'registrationTraineeList/edit/:registrationTraineereviewSectionAddId', component: RegistrationTraineeMovementAddComponent},
|
|
|
- {path: 'printCardTraineeList/:printTraineeId', component: PrintCardTraineeListComponent},
|
|
|
+ {path: 'printCardTraineeList/:listPageId', component: PrintCardTraineeListComponent},
|
|
|
{path: 'printCardTrainee/edit/:printCardAddId', component: PrintCardTraineeAddComponent},
|
|
|
- {path: 'finalAccerditationList/:finalAccerditationId', component: FinalAccerditationListComponent},
|
|
|
+ {path: 'finalAccerditationList/:listPageId', component: FinalAccerditationListComponent},
|
|
|
{path: 'finalAccerditationList/edit/:finalAccerditationEdit', component: FinalAccerditationAddComponent},
|
|
|
- {path: 'vehicleList/:vehicleListId', component: VehicleListComponent},
|
|
|
+ {path: 'vehicleList/:listPageId', component: VehicleListComponent},
|
|
|
{path: 'vehicle/add', component: VehicleAddComponent},
|
|
|
{path: 'vehicle/edit/:vehicleEditId', component: VehicleAddComponent},
|
|
|
- {path: 'vehicleModelList/:modelVehicleListId' , component: ModelVehicleListComponent},
|
|
|
+ {path: 'vehicleModelList/:listPageId' , component: ModelVehicleListComponent},
|
|
|
{path: 'vehicleModel/add' , component: ModelVehicleAddComponent},
|
|
|
{path: 'vehicleModel/edit/:modelVehicleEditId', component:ModelVehicleAddComponent },
|
|
|
- {path: 'registrationVehicleList/:registrationVehicleListId', component: RegistrationVehicleListComponent},
|
|
|
+ {path: 'registrationVehicleList/:listPageId', component: RegistrationVehicleListComponent},
|
|
|
{path: 'registrationVehicle/add', component: RegistrationVehicleAddComponent},
|
|
|
{path: 'registrationVehicle/edit/:registrationVehicleEditId', component:RegistrationVehicleAddComponent },
|
|
|
- {path: 'registerMovementVehicleList/:registerMovementVehicleListId', component: RegisterMovementVehicleListComponent},
|
|
|
+ {path: 'registerMovementVehicleList/:listPageId', component: RegisterMovementVehicleListComponent},
|
|
|
{path: 'registerMovementVehicle/add', component: RegisterMovementVehicleAddComponent},
|
|
|
{path: 'registerMovementVehicle/edit/:registerMovementVehicleEditId', component: RegisterMovementVehicleAddComponent },
|
|
|
- {path: 'vehicleMaintenanceList/:vehicleMaintenanceListId', component: VehicleMaintenanceListComponent},
|
|
|
+ {path: 'vehicleMaintenanceList/:listPageId', component: VehicleMaintenanceListComponent},
|
|
|
{path: 'vehicleMaintenance/add', component: VehicleMaintenanceAddComponent},
|
|
|
{path: 'vehicleMaintenance/edit/:vehicleMaintenanceEditId', component: VehicleMaintenanceAddComponent },
|
|
|
{path: 'existingReportVehicle', component: ExistingReportComponent},
|