You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
139 lines
11 KiB
139 lines
11 KiB
import React from 'react'; |
|
|
|
const Absensi = React.lazy(() => import('./views/Master/MasterAbsensi')); |
|
const BaseLayers = React.lazy(() => import('./views/BaseLayers')); |
|
const Broadcast = React.lazy(() => import('./views/Master/MasterBroadcast')); |
|
const ChecklistK3 = React.lazy(() => import('./views/SimproV2/ChecklistK3')); |
|
const Closing = React.lazy(() => import('./views/SimproV2/Closing')); |
|
const ConfigAlert = React.lazy(() => import('./views/Master/ConfigAlert')); |
|
const ControlMonitoring = React.lazy(() => import('./views/Report/ControlMonitoring')); |
|
const ControlMonitoringGantt = React.lazy(() => import('./views/ControlMonitoringGantt')); |
|
const CreatedProyek = React.lazy(() => import('./views/SimproV2/CreatedProyek')); |
|
const GanttImportActivity = React.lazy(() => import('./views/SimproV2/CreatedProyek/ImportActivity')); |
|
const Dashboard = React.lazy(() => import('./views/Dashboard')); |
|
const Divisi = React.lazy(() => import('./views/SimproV2/Divisi')); |
|
const DivisiKaryawan = React.lazy(() => import('./views/Master/MasterTipeKaryawan')); |
|
const Gantt = React.lazy(() => import('./views/SimproV2/Gantt')); |
|
const Izin = React.lazy(() => import('./views/Master/MasterCuti')); |
|
const K3 = React.lazy(() => import('./views/Report/k3')); |
|
const LaporanAlert = React.lazy(() => import('./views/Report/alert')); |
|
const LaporanTugas = React.lazy(() => import('./views/Master/MasterTask')); |
|
const Layer = React.lazy(() => import('./views/Layers/Layer')); |
|
const Layers = React.lazy(() => import('./views/Layers/Layers')); |
|
const Lembur = React.lazy(() => import('./views/Master/MasterLembur')); |
|
const MapConfig = React.lazy(() => import('./views/MapConfig')); |
|
const Menu = React.lazy(() => import('./views/Master/MenuCompany')); |
|
const OfficeHours = React.lazy(() => import('./views/Master/MasterOfficeHours')); |
|
const Organization = React.lazy(() => import('./views/Master/MasterOrganization')); |
|
const PanicButton = React.lazy(() => import('./views/SimproV2/PanicButton')); |
|
const PlanningHarian = React.lazy(() => import('./views/SimproV2/PlanningHarian')); |
|
const Presensi = React.lazy(() => import('./views/SimproV2/Presence')); |
|
const ProjectRole = React.lazy(() => import('./views/Master/RoleProject')); |
|
const ProjectType = React.lazy(() => import('./views/SimproV2/ProjectType')); |
|
const ProjectPhase = React.lazy(() => import('./views/Master/ProjectPhase')); |
|
const ProjectExpenditure = React.lazy(() => import('./views/Master/ProjectExpenditure')); |
|
const ProjectFinancialHealth = React.lazy(() => import('./views/Master/ProjectFinancialHealth')); |
|
const ProjectScheduleHealth = React.lazy(() => import('./views/Master/ProjectScheduleHealth')); |
|
const ProjectInvoice = React.lazy(() => import('./views/Master/ProjectInvoice')); |
|
const Proyek = React.lazy(() => import('./views/Master/Proyek')); |
|
const RateCost = React.lazy(() => import('./views/SimproV2/RateCost')); |
|
const ResourceMaterial = React.lazy(() => import('./views/SimproV2/ResourceMaterial')); |
|
const ResourceTools = React.lazy(() => import('./views/SimproV2/ResourceTools')); |
|
const ResourceWorker = React.lazy(() => import('./views/SimproV2/ResourceWorker')); |
|
const Roles = React.lazy(() => import('./views/Master/MasterRoles')); |
|
const Satuan = React.lazy(() => import('./views/SimproV2/Satuan')); |
|
const ScheduleShift = React.lazy(() => import('./views/SimproV2/ScheduleShift')); |
|
const Shift = React.lazy(() => import('./views/SimproV2/Shift')); |
|
const TestGantt = React.lazy(() => import('./views/testgantt')); |
|
const UserAdmin = React.lazy(() => import('./views/Master/UserAdmin')); |
|
const UserShift = React.lazy(() => import('./views/SimproV2/UserShift')); |
|
const Kanban = React.lazy(() => import('./views/SimproV2/Kanban')); |
|
// const DashboardProject = React.lazy(() => import('./views/DashboardProject')); |
|
const DashboardBOD = React.lazy(() => import('./views/Dashboard/DashboardBOD')); |
|
const DashboardDyna = React.lazy(() => import('./views/Dashboard/DashboardDyna')); |
|
const DashboardCustomer = React.lazy(() => import('./views/Dashboard/DashboardCustomer')); |
|
const DashboardProject = React.lazy(() => import('./views/Dashboard/DashboardProject')); |
|
const DashboardProjectCarousell = React.lazy(() => import('./views/Dashboard/DashboardProjectCarousell')); |
|
const MapMonitoring = React.lazy(() => import('./views/MapMonitoring')); |
|
const Settings = React.lazy(() => import('./views/SimproV2/Settings/Desktop')); |
|
const CompanyManagement = React.lazy(() => import('./views/Master/MasterCompany')) |
|
const TransactionManagement = React.lazy(() => import('./views/Master/MasterTransaction')) |
|
const DemoRequest = React.lazy(() => import('./views/SimproV2/DemoRequest')) |
|
const ReferralCode = React.lazy(() => import('./views/SimproV2/ReferralCode')) |
|
const SalesContact = React.lazy(() => import('./views/SimproV2/SalesContact')) |
|
const MasterWidget = React.lazy(() => import('./views/Master/MasterWidget')) |
|
const LimitasiUser = React.lazy(() => import('./views/SimproV2/LimitasiUser')) |
|
const routes = [ |
|
{ path: '/', exact: true, name: 'Home' }, |
|
{ path: '/dashboard', name: 'DashboardBOD', component: DashboardBOD }, |
|
{ path: '/dashboard-dyna', name: 'DashboardBOD', component: DashboardDyna }, |
|
{ path: '/dashboard-customer/:PROJECT_ID/:GANTT_ID/:SCURVE', name: 'DashboardCustomer', component: DashboardCustomer }, |
|
{ path: '/dashboard-project/:PROJECT_ID/:GANTT_ID/:Header', exact: true, name: 'Dashboard Project', component: DashboardProject }, |
|
{ path: '/dashboard-perproject', exact: true, name: 'Dashboard Project Carousell', component: DashboardProjectCarousell }, |
|
{ path: '/dashboard-project/:PROJECT_ID/:GANTT_ID/:SCURVE', exact: true, name: 'Dashboard Project', component: DashboardProject }, |
|
{ path: '/projects', exact: true, name: 'Projects', component: CreatedProyek }, |
|
{ path: '/projects/:id/import/activity', exact: true, name: 'Gantt Import Activity', component: GanttImportActivity }, |
|
{ path: '/projects/:id/:project/import/activity', exact: true, name: 'Gantt Import Activity', component: GanttImportActivity }, |
|
{ path: '/projects/:id/:project/gantt', exact: true, name: 'Gantt', component: Gantt }, |
|
{ path: '/projects/:id/:project/:timestamp/gantt/', exact: true, name: 'Gantt', component: Gantt }, |
|
{ path: '/human-resource', exact: true, name: 'Human Resource', component: ResourceWorker }, |
|
{ path: '/material-resource', exact: true, name: 'Material Resource', component: ResourceMaterial }, |
|
{ path: '/tools-resource', exact: true, name: 'Tools Resource', component: ResourceTools }, |
|
{ path: '/control-monitoring', exact: true, name: 'Control Monitoring', component: ControlMonitoring }, |
|
{ path: '/control-monitoring-gantt', exact: true, name: 'Control Monitoring Gantt', component: ControlMonitoringGantt }, |
|
{ path: '/presensi-resource', exact: true, name: 'Presensi Resource', component: Presensi }, |
|
{ path: '/absensi-resource', exact: true, name: 'Absensi Resource', component: Absensi }, |
|
{ path: '/laporan-k3', exact: true, name: 'Laporan K3', component: K3 }, |
|
{ path: '/broadcast', exact: true, name: 'Broadcast', component: Broadcast }, |
|
{ path: '/panic-button', exact: true, name: 'Tombol Darurat', component: PanicButton }, |
|
{ path: '/kanban', exact: true, name: 'Kanban', component: Kanban }, |
|
{ path: '/kanban/:proyek_id/:version_gantt_id', exact: true, name: 'Kanban', component: Kanban }, |
|
{ path: '/closing', exact: true, name: 'Closing', component: Closing }, |
|
{ path: '/menu', exact: true, name: 'Menu', component: Menu }, |
|
{ path: '/roles', exact: true, name: 'Roles', component: Roles }, |
|
{ path: '/project-role', exact: true, name: 'Project Role', component: ProjectRole }, |
|
{ path: '/project-type', exact: true, name: 'Project Type', component: ProjectType }, |
|
{ path: '/project-phase', exact: true, name: 'Project Phase', component: ProjectPhase }, |
|
{ path: '/project-expenditure', exact: true, name: 'Project Expenditure', component: ProjectExpenditure }, |
|
{ path: '/project-financial-health', exact: true, name: 'Project Financial Health', component: ProjectFinancialHealth }, |
|
{ path: '/project-schedule-health', exact: true, name: 'Project Schedule Health', component: ProjectScheduleHealth }, |
|
{ path: '/project-invoice', exact: true, name: 'Project Invoice vs Cash In', component: ProjectInvoice }, |
|
{ path: '/divisi', exact: true, name: 'Divisi', component: Divisi }, |
|
{ path: '/satuan', exact: true, name: 'Satuan', component: Satuan }, |
|
{ path: '/config-alert', exact: true, name: 'Config Alert', component: ConfigAlert }, |
|
{ path: '/checklist-k3', exact: true, name: 'Checklist K3', component: ChecklistK3 }, |
|
{ path: '/absensi', exact: true, name: 'Absensi', component: Absensi }, |
|
{ path: '/divisi-karyawan', exact: true, name: 'Divisi Karyawan', component: DivisiKaryawan }, |
|
{ path: '/izin', exact: true, name: 'Izin', component: Izin }, |
|
{ path: '/laporan-alert', exact: true, name: 'Laporan Alert', component: LaporanAlert }, |
|
{ path: '/laporan-tugas-karyawan', exact: true, name: 'Laporan Tugas Karyawan', component: LaporanTugas }, |
|
{ path: '/lembur', exact: true, name: 'Lembur', component: Lembur }, |
|
{ path: '/map/baselayers', exact: true, name: 'Base Layers', component: BaseLayers }, |
|
{ path: '/map/config', exact: true, name: 'Config', component: MapConfig }, |
|
{ path: '/map/layers', exact: true, name: 'Layers', component: Layers }, |
|
{ path: '/map/layers/:id', exact: true, name: 'Layer Details', component: Layer }, |
|
{ path: '/office-hours', exact: true, name: 'Jam Kerja', component: OfficeHours }, |
|
{ path: '/organization', exact: true, name: 'Organisasi', component: Organization }, |
|
{ path: '/planning-harian', exact: true, name: 'Planning Harian', component: PlanningHarian }, |
|
{ path: '/presensi', exact: true, name: 'Presensi', component: Presensi }, |
|
{ path: '/proyek', exact: true, name: 'Created Project', component: Proyek }, |
|
{ path: '/proyek-gantt', exact: true, name: 'Gantt Chart Proyek', component: TestGantt }, |
|
{ path: '/rate-cost', exact: true, name: 'Rate Cost', component: RateCost }, |
|
{ path: '/schedule-shift', exact: true, name: 'Schedule Shift', component: ScheduleShift }, |
|
{ path: '/user-admin', exact: true, name: 'User Admin', component: UserAdmin }, |
|
{ path: '/user-shift', exact: true, name: 'Shift', component: UserShift }, |
|
{ path: '/working-hour', exact: true, name: 'Working Hour', component: Shift }, |
|
{ path: '/map-monitoring', exact: true, name: 'Map Monitoring', component: MapMonitoring }, |
|
// { path: '/dashboard-project/:ID/:GANTTID', exact: true, name: 'Dashboard Project', component: DashboardProject }, |
|
{ path: '/settings', exact: true, name: 'Settings', component: Settings }, |
|
{ path: '/transaction-management', exact: true, name: 'Transaction Management', component: TransactionManagement }, |
|
{ path: '/register-management', exact: true, name: 'Register Management', component: CompanyManagement }, |
|
{ path: '/demo-request', exact: true, name: 'Request Demo', component: DemoRequest }, |
|
{ path: '/referral-code-management', exact: true, name: 'Referral Code Management', component: ReferralCode }, |
|
{ path: '/sales-contact', exact: true, name: 'Sales Contact', component: SalesContact }, |
|
{ path: '/master-widget', exact: true, name: 'Master Widget', component: MasterWidget }, |
|
{ path: '/limitasi-user', exact: true, name: 'Limitasi User', component: LimitasiUser }, |
|
|
|
]; |
|
|
|
export default routes;
|
|
|