2026-01-24 17:45:54 +03:30
|
|
|
import type { RouteRecordRaw } from 'vue-router'
|
|
|
|
|
const Setting: RouteRecordRaw = {
|
|
|
|
|
name: 'settings',
|
|
|
|
|
path: '/settings',
|
|
|
|
|
component: () => import('@core/layouts/BasicLayout.vue'),
|
|
|
|
|
redirect: { name: 'settingMain' },
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'vuesax-linear:setting',
|
|
|
|
|
permissionsKey: 'config',
|
|
|
|
|
title: 'پیکربندی',
|
|
|
|
|
disabled: false,
|
|
|
|
|
hideMenu: false,
|
|
|
|
|
hideChildren: true,
|
|
|
|
|
order: 10
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'settingMain',
|
|
|
|
|
path: '',
|
|
|
|
|
component: () => import('@/pages/menuPages/setting/index.vue'),
|
2026-05-02 13:53:43 +03:30
|
|
|
redirect: { name: 'configuration' },
|
2026-01-24 17:45:54 +03:30
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'config',
|
|
|
|
|
icon: 'vuesax-linear:setting',
|
|
|
|
|
order: 5,
|
|
|
|
|
title: 'پیکربندی',
|
|
|
|
|
disabled: false,
|
|
|
|
|
hideMenu: true
|
|
|
|
|
//hideChildren: false
|
|
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
name: 'settingMain_limitedOrder',
|
|
|
|
|
path: 'limitedOrder',
|
|
|
|
|
component: () => import('@/pages/menuPages/setting/limitedOrder/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'config.limitedOrder',
|
|
|
|
|
icon: 'vuesax-linear:document-text',
|
|
|
|
|
title: '' +
|
|
|
|
|
'' +
|
|
|
|
|
'محدودیت سفارش'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'usersMain',
|
|
|
|
|
path: 'admins',
|
|
|
|
|
component: () => import('@/pages/menuPages/users/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'user',
|
|
|
|
|
icon: 'vuesax-linear:profile',
|
|
|
|
|
title: 'لیست مدیران'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'priceTriggers',
|
|
|
|
|
path: 'priceTriggers',
|
|
|
|
|
component: () => import('@/pages/menuPages/priceTriggers/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'priceTriggers',
|
|
|
|
|
icon: 'vuesax-linear:notification-bing',
|
|
|
|
|
title: 'هشدار قیمت'
|
|
|
|
|
}
|
2026-02-12 11:10:19 +03:30
|
|
|
},
|
2026-06-13 12:23:07 +03:30
|
|
|
{
|
|
|
|
|
name: 'smsMain',
|
|
|
|
|
path: 'sms',
|
|
|
|
|
component: () => import('@/pages/menuPages/sms/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'sms',
|
|
|
|
|
icon: 'vuesax-linear:sms',
|
|
|
|
|
title: 'پیامکها'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
name: 'giftCardMain',
|
|
|
|
|
path: 'giftCard',
|
|
|
|
|
component: () => import('@/pages/menuPages/giftCards/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'project',
|
|
|
|
|
icon: 'vuesax-linear:gift',
|
|
|
|
|
title: 'کارت هدیه',
|
|
|
|
|
hideMenu: true
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-02-19 17:55:23 +03:30
|
|
|
{
|
|
|
|
|
name: 'discounts',
|
|
|
|
|
path: 'discounts',
|
|
|
|
|
component: () => import('@/pages/menuPages/discount/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
permissionsKey: 'discounts',
|
2026-02-21 20:24:59 +03:30
|
|
|
icon: 'vuesax-linear:discount-shape',
|
2026-02-19 17:55:23 +03:30
|
|
|
title: 'تخفیفات',
|
2026-06-13 12:23:07 +03:30
|
|
|
hideMenu: true
|
2026-02-19 17:55:23 +03:30
|
|
|
}
|
|
|
|
|
},
|
2026-02-12 11:10:19 +03:30
|
|
|
{
|
|
|
|
|
name: 'configuration',
|
|
|
|
|
path: 'configuration',
|
|
|
|
|
component: () => import('@/pages/menuPages/configuration/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'vuesax-linear:setting-2',
|
|
|
|
|
title: 'تنظیمات'
|
|
|
|
|
//hideChildren: false
|
|
|
|
|
}
|
|
|
|
|
},
|
2026-02-21 20:24:59 +03:30
|
|
|
{
|
|
|
|
|
name: 'banners',
|
|
|
|
|
path: 'banners',
|
|
|
|
|
component: () => import('@/pages/menuPages/banners/index.vue'),
|
|
|
|
|
meta: {
|
|
|
|
|
icon: 'vuesax-linear:image',
|
2026-06-21 14:25:21 +03:30
|
|
|
title: 'بنرها'
|
2026-02-21 20:24:59 +03:30
|
|
|
}
|
|
|
|
|
},
|
2026-01-24 17:45:54 +03:30
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default Setting
|