Feature/update profile sidebar

This commit is contained in:
AmirHossein Mahmoodi
2024-09-16 07:59:19 +00:00
parent 3e8abb7580
commit 9387f85cf7
19 changed files with 230 additions and 203 deletions

View File

@@ -11,4 +11,4 @@ export const getValueByPath = (obj, path) => {
}
return value;
}
};

View File

@@ -1,80 +1,80 @@
export const headerMenu = [
{
title: 'تصادفات',
title: "تصادفات",
subMenu: [
[
{
title: 'تصادفات روزانه',
href: 'https://rms.witel.ir/v2/daily_accidents/create'
}
]
]
title: "تصادفات روزانه",
href: "https://rms.witel.ir/v2/daily_accidents/create",
},
],
],
},
{
title: 'گزارش های جامع',
title: "گزارش های جامع",
subMenu: [
[
{
title: 'گزارش محوری',
href: 'https://rms.witel.ir/v2/axis_reports'
title: "گزارش محوری",
href: "https://rms.witel.ir/v2/axis_reports",
},
{
title: 'هوش تجاری (BI)',
href: 'https://rms.witel.ir/v2/axis_reports'
}
]
]
title: "هوش تجاری (BI)",
href: "https://rms.witel.ir/v2/axis_reports",
},
],
],
},
{
title: 'زیرساخت و ناوگان',
title: "زیرساخت و ناوگان",
subMenu: [
[
{
title: 'پراکندگی بر روی نقشه راهدارخانه ها',
href: 'https://rms.witel.ir/v2/map?type=rahdar'
title: "پراکندگی بر روی نقشه راهدارخانه ها",
href: "https://rms.witel.ir/v2/map?type=rahdar",
},
{
title: 'راهدارخانه ها',
href: 'https://rms.witel.ir/v2/rahdari_points'
}
title: "راهدارخانه ها",
href: "https://rms.witel.ir/v2/rahdari_points",
},
],
[
{
title: 'ممیزی ماشین آلات راهداری کشور',
href: 'https://rms.witel.ir/cmms-audit'
}
]
]
title: "ممیزی ماشین آلات راهداری کشور",
href: "https://rms.witel.ir/cmms-audit",
},
],
],
},
{
title: 'سامانه های راهداری',
title: "سامانه های راهداری",
subMenu: [
[
{
title: 'تحقیق و توسعه',
href: 'https://rms.witel.ir/RandD'
title: "تحقیق و توسعه",
href: "https://rms.witel.ir/RandD",
},
{
title: 'سامانه مدیریت یکپارچه زیرساخت های راه (PMS,BMS,SMS)',
href: 'http://roadams.rmto.ir'
title: "سامانه مدیریت یکپارچه زیرساخت های راه (PMS,BMS,SMS)",
href: "http://roadams.rmto.ir",
},
{
title: 'سامانه مدیریت ناوگان (FMS)',
href: 'http://fms.141.ir'
title: "سامانه مدیریت ناوگان (FMS)",
href: "http://fms.141.ir",
},
{
title: 'سامانه جامع مدیریت سوانح و حوادث جاده ای',
href: 'https://items.rmto.ir'
title: "سامانه جامع مدیریت سوانح و حوادث جاده ای",
href: "https://items.rmto.ir",
},
{
title: 'سامانه مدیریت نگهداری ماشین آلات (CMMS)',
href: 'https://cmms.rmto.ir/Login.aspx?ReturnUrl=%2f'
title: "سامانه مدیریت نگهداری ماشین آلات (CMMS)",
href: "https://cmms.rmto.ir/Login.aspx?ReturnUrl=%2f",
},
{
title: 'درگاه کاتالوگ داده',
href: 'https://roadams.rmto.ir:8080'
}
]
]
}
]
title: "درگاه کاتالوگ داده",
href: "https://roadams.rmto.ir:8080",
},
],
],
},
];

View File

@@ -91,7 +91,7 @@ export const pageMenu = [
type: "menu",
icon: <FactCheckIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_items.total'],
badges: ["road_items.total"],
Subitems: [
{
id: "roadItemManagmentSupervisor",
@@ -99,7 +99,7 @@ export const pageMenu = [
type: "menu",
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_items.supervise_cnt'],
badges: ["road_items.supervise_cnt"],
Subitems: [
{
id: "roadItemManagmentSupervisorCartable",
@@ -119,7 +119,7 @@ export const pageMenu = [
type: "menu",
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_items.operation_cnt'],
badges: ["road_items.operation_cnt"],
Subitems: [
{
id: "roadItemManagmentOparationCreate",
@@ -169,7 +169,7 @@ export const pageMenu = [
type: "menu",
icon: <FireTruckIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_patrols.total'],
badges: ["road_patrols.total"],
Subitems: [
{
id: "roadPatrolManagmentSupervisor",
@@ -177,7 +177,7 @@ export const pageMenu = [
type: "menu",
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_patrols.supervise_cnt'],
badges: ["road_patrols.supervise_cnt"],
Subitems: [
{
id: "roadPatrolManagmentSupervisorCartable",
@@ -197,7 +197,7 @@ export const pageMenu = [
type: "menu",
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_patrols.operation_cnt'],
badges: ["road_patrols.operation_cnt"],
Subitems: [
{
id: "roadPatrolManagmentOparationCreate",
@@ -277,7 +277,7 @@ export const pageMenu = [
type: "menu",
icon: <RouteIcon sx={{ width: "inherit", height: "inherit" }} />,
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: [
{
id: "safetyAndPrivacyManagmentOparation",
@@ -340,7 +340,7 @@ export const pageMenu = [
type: "menu",
icon: <ElectricBoltIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_observations.total'],
badges: ["road_observations.total"],
Subitems: [
{
id: "roadObservationsManagmentSupervisor",
@@ -348,7 +348,7 @@ export const pageMenu = [
type: "menu",
icon: <SpeedIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_observations.supervise_cnt'],
badges: ["road_observations.supervise_cnt"],
Subitems: [
{
id: "roadObservationsManagmentSupervisorCartable",
@@ -373,7 +373,7 @@ export const pageMenu = [
type: "menu",
icon: <EngineeringIcon sx={{ width: "inherit", height: "inherit" }} />,
hasSubitems: true,
badges: ['road_observations.operation_cnt'],
badges: ["road_observations.operation_cnt"],
Subitems: [
{
id: "roadObservationsManagmentOparationCartable",