add new pages for panjere vahed to sidebar
This commit is contained in:
@@ -6,7 +6,7 @@ import { Stack } from "@mui/material";
|
|||||||
const AssistantZaminGovComponent = () => {
|
const AssistantZaminGovComponent = () => {
|
||||||
return (
|
return (
|
||||||
<Stack spacing={1}>
|
<Stack spacing={1}>
|
||||||
<PageTitle title={"استعلام حریم پنجره واحد"} />
|
<PageTitle title={"استعلام حرائم پنجره واحد"} />
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { Stack } from "@mui/material";
|
|||||||
const CityAdminZaminGovComponent = () => {
|
const CityAdminZaminGovComponent = () => {
|
||||||
return (
|
return (
|
||||||
<Stack spacing={1}>
|
<Stack spacing={1}>
|
||||||
<PageTitle title={"استعلام حریم پنجره واحد"} />
|
<PageTitle title={"استعلام حرائم پنجره واحد"} />
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { Stack } from "@mui/material";
|
|||||||
const GeneralManagerZaminGovComponent = () => {
|
const GeneralManagerZaminGovComponent = () => {
|
||||||
return (
|
return (
|
||||||
<Stack spacing={1}>
|
<Stack spacing={1}>
|
||||||
<PageTitle title={"استعلام حریم پنجره واحد"} />
|
<PageTitle title={"استعلام حرائم پنجره واحد"} />
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { Stack } from "@mui/material";
|
|||||||
const ProvinceAdminZaminGovComponent = () => {
|
const ProvinceAdminZaminGovComponent = () => {
|
||||||
return (
|
return (
|
||||||
<Stack spacing={1}>
|
<Stack spacing={1}>
|
||||||
<PageTitle title={"استعلام حریم پنجره واحد"} />
|
<PageTitle title={"استعلام حرائم پنجره واحد"} />
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <FactCheckIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <FactCheckIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_items.total'],
|
badges: ["road_items.total"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadItemManagmentSupervisor",
|
id: "roadItemManagmentSupervisor",
|
||||||
@@ -99,7 +99,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_items.supervise_cnt'],
|
badges: ["road_items.supervise_cnt"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadItemManagmentSupervisorCartable",
|
id: "roadItemManagmentSupervisorCartable",
|
||||||
@@ -119,7 +119,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_items.operation_cnt'],
|
badges: ["road_items.operation_cnt"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadItemManagmentOparationCreate",
|
id: "roadItemManagmentOparationCreate",
|
||||||
@@ -169,7 +169,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <FireTruckIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <FireTruckIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_patrols.total'],
|
badges: ["road_patrols.total"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadPatrolManagmentSupervisor",
|
id: "roadPatrolManagmentSupervisor",
|
||||||
@@ -177,7 +177,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_patrols.supervise_cnt'],
|
badges: ["road_patrols.supervise_cnt"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadPatrolManagmentSupervisorCartable",
|
id: "roadPatrolManagmentSupervisorCartable",
|
||||||
@@ -197,7 +197,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_patrols.operation_cnt'],
|
badges: ["road_patrols.operation_cnt"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadPatrolManagmentOparationCreate",
|
id: "roadPatrolManagmentOparationCreate",
|
||||||
@@ -249,24 +249,31 @@ export const pageMenu = [
|
|||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "inquiryPrivacyManagmentFencing",
|
id: "cityAdminZaminGov",
|
||||||
label: "احداث و بهره برداری دیوارکشی و مستحدثات",
|
label: "استعلام حرائم پنجره واحد",
|
||||||
type: "page",
|
type: "page",
|
||||||
route: "/dashboard/inquiry_privacy/fencing",
|
route: "/dashboard/inquiry-privacy/city-admin/zamin-gov",
|
||||||
permissions: ["all"],
|
permissions: ["all"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "inquiryPrivacyManagmentRoad",
|
id: "provinceAdminZaminGov",
|
||||||
label: "احداث راه دسترسی اختصاصی",
|
label: "استعلام حرائم پنجره واحد",
|
||||||
type: "page",
|
type: "page",
|
||||||
route: "/dashboard/inquiry_privacy/road",
|
route: "/dashboard/inquiry-privacy/province-admin/zamin-gov",
|
||||||
permissions: ["all"],
|
permissions: ["all"],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "inquiryPrivacyManagmentInfrastructure",
|
id: "assistantZaminGov",
|
||||||
label: "احداث و بهره برداری تاسیسات زیربنایی",
|
label: "استعلام حرائم پنجره واحد",
|
||||||
type: "page",
|
type: "page",
|
||||||
route: "/dashboard/inquiry_privacy/infrastructure",
|
route: "/dashboard/inquiry-privacy/assistant/zamin-gov",
|
||||||
|
permissions: ["all"],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "generalManagerZaminGov",
|
||||||
|
label: "استعلام حرائم پنجره واحد",
|
||||||
|
type: "page",
|
||||||
|
route: "/dashboard/inquiry-privacy/general-manager/zamin-gov",
|
||||||
permissions: ["all"],
|
permissions: ["all"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -277,7 +284,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <RouteIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <RouteIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['safety_and_privacy.step_one', 'safety_and_privacy.step_two'],
|
badges: ["safety_and_privacy.step_one", "safety_and_privacy.step_two"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "safetyAndPrivacyManagmentOparation",
|
id: "safetyAndPrivacyManagmentOparation",
|
||||||
@@ -340,7 +347,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <ElectricBoltIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <ElectricBoltIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_observations.total'],
|
badges: ["road_observations.total"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadObservationsManagmentSupervisor",
|
id: "roadObservationsManagmentSupervisor",
|
||||||
@@ -348,7 +355,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_observations.supervise_cnt'],
|
badges: ["road_observations.supervise_cnt"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadObservationsManagmentSupervisorCartable",
|
id: "roadObservationsManagmentSupervisorCartable",
|
||||||
@@ -373,7 +380,7 @@ export const pageMenu = [
|
|||||||
type: "menu",
|
type: "menu",
|
||||||
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
|
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||||
hasSubitems: true,
|
hasSubitems: true,
|
||||||
badges: ['road_observations.operation_cnt'],
|
badges: ["road_observations.operation_cnt"],
|
||||||
Subitems: [
|
Subitems: [
|
||||||
{
|
{
|
||||||
id: "roadObservationsManagmentOparationCartable",
|
id: "roadObservationsManagmentOparationCartable",
|
||||||
|
|||||||
@@ -4,8 +4,5 @@ export const GET_USER_ROUTE = api + "/api/v3/profile/info";
|
|||||||
export const UPDATE_USER_ROUTE = api + "/api/v3/profile/edit";
|
export const UPDATE_USER_ROUTE = api + "/api/v3/profile/edit";
|
||||||
export const CHANGE_USER_PASSWORD = api + "/api/v3/profile/change_password";
|
export const CHANGE_USER_PASSWORD = api + "/api/v3/profile/change_password";
|
||||||
export const GET_LOGIN_ROUTE = api + "/login_dev";
|
export const GET_LOGIN_ROUTE = api + "/login_dev";
|
||||||
export const GET_INQUIRY_PRIVACY_FENCING_ROUTE = api + "/api/v3/harim/divarkeshi";
|
|
||||||
export const GET_PERMISSIONS_ROUTE = api + "/webapi/user/get-permission";
|
export const GET_PERMISSIONS_ROUTE = api + "/webapi/user/get-permission";
|
||||||
export const GET_SIDEBAR_BADGE_ROUTE = api + "/v2/activity_statistics";
|
export const GET_SIDEBAR_BADGE_ROUTE = api + "/v2/activity_statistics";
|
||||||
|
|
||||||
export const SET_INQUIRE_PRIVACY_FENCING = api + "/api/v3/harim/divarkeshi/store";
|
|
||||||
|
|||||||
Reference in New Issue
Block a user