push rasad front on new repo
This commit is contained in:
107
src/routes/vetSupervisorRouting.js
Normal file
107
src/routes/vetSupervisorRouting.js
Normal file
@@ -0,0 +1,107 @@
|
||||
import { lazy } from "react";
|
||||
import { lazyRetry } from "../utils/lazyRetry";
|
||||
import {
|
||||
ROUTE_VETـSUPERVISOR_ALLOCATIONS,
|
||||
ROUTE_VETـSUPERVISOR_HATCHING,
|
||||
ROUTE_VETـSUPERVISOR_ILLEGALـKILLING,
|
||||
ROUTE_VETـSUPERVISOR_KILLS_STATS,
|
||||
ROUTE_VETـSUPERVISOR_REPORTING,
|
||||
ROUTE_VETـSUPERVISOR_ROUTE_FILES_STATE,
|
||||
ROUTE_VETـSUPERVISOR_STATICS,
|
||||
ROUTE_VETـSUPERVISOR_STATICS_CHARTS,
|
||||
ROUTE_VETـSUPERVISOR_STATICS_PREDICTION,
|
||||
ROUTE_VETـSUPERVISOR_STATICS_PREDICTION_VIEW,
|
||||
ROUTEـVET_SUPERVISOR_POULTRIES,
|
||||
ROUTEـVET_SUPERVISOR_POULTRIES_DETAILS,
|
||||
} from "./routes";
|
||||
|
||||
const Statics = lazy(() => lazyRetry(() => import("../pages/AdminStatics")));
|
||||
|
||||
// const Reporting = lazy(() =>
|
||||
// lazyRetry(() => import("../pages/InspectorReporting"))
|
||||
// );
|
||||
|
||||
const Reports = lazy(() => lazyRetry(() => import("../pages/ProvinceReports")));
|
||||
|
||||
const VetFarmAllocations = lazy(() =>
|
||||
lazyRetry(() => import("../pages/VetFarmAllocations"))
|
||||
);
|
||||
|
||||
const JahadKillStats = lazy(() =>
|
||||
lazyRetry(() => import("../pages/JahadKillStats"))
|
||||
);
|
||||
|
||||
const Poultries = lazy(() => lazyRetry(() => import("../pages/Poultries")));
|
||||
|
||||
const JahadIllegalKilling = lazy(() =>
|
||||
lazyRetry(() => import("../pages/JahadIllegalKilling"))
|
||||
);
|
||||
const FilesState = lazy(() => lazyRetry(() => import("../pages/FilesState")));
|
||||
|
||||
const Hatching = lazy(() => lazyRetry(() => import("../pages/Hatching")));
|
||||
|
||||
const PoultriesDetails = lazy(() =>
|
||||
lazyRetry(() => import("../pages/PoultriesDetailsPage"))
|
||||
);
|
||||
|
||||
export const vetSupervisorRouting = [
|
||||
{
|
||||
path: [ROUTE_VETـSUPERVISOR_HATCHING],
|
||||
Page: Hatching,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTEـVET_SUPERVISOR_POULTRIES],
|
||||
Page: Poultries,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTE_VETـSUPERVISOR_ALLOCATIONS],
|
||||
Page: VetFarmAllocations,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTE_VETـSUPERVISOR_ILLEGALـKILLING],
|
||||
Page: JahadIllegalKilling,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTE_VETـSUPERVISOR_KILLS_STATS],
|
||||
Page: JahadKillStats,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [
|
||||
ROUTE_VETـSUPERVISOR_STATICS,
|
||||
ROUTE_VETـSUPERVISOR_STATICS_PREDICTION,
|
||||
ROUTE_VETـSUPERVISOR_STATICS_PREDICTION_VIEW,
|
||||
ROUTE_VETـSUPERVISOR_STATICS_CHARTS,
|
||||
],
|
||||
Page: Statics,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTE_VETـSUPERVISOR_ROUTE_FILES_STATE],
|
||||
Page: FilesState,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTE_VETـSUPERVISOR_REPORTING],
|
||||
Page: Reports,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
{
|
||||
path: [ROUTEـVET_SUPERVISOR_POULTRIES_DETAILS],
|
||||
Page: PoultriesDetails,
|
||||
exact: false,
|
||||
props: {},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user