fix bug 22/4
This commit is contained in:
@@ -16,7 +16,7 @@ const Setting: RouteRecordRaw = {
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 10
|
||||
order: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -43,17 +43,6 @@ const Setting: RouteRecordRaw = {
|
||||
order: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'pricingMain',
|
||||
path: 'pricing',
|
||||
component: () => import('@/pages/menuPages/pricing/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'pricing',
|
||||
icon: 'vuesax-linear:dollar-circle',
|
||||
title: 'تاریخچه قیمت',
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'captureSitesMain',
|
||||
path: 'capture-sites',
|
||||
@@ -62,7 +51,7 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'pricing',
|
||||
icon: 'vuesax-linear:global',
|
||||
title: 'سایتهای ریگیری',
|
||||
order: 2.5
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -115,17 +104,6 @@ const Setting: RouteRecordRaw = {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'priceTriggers',
|
||||
path: 'priceTriggers',
|
||||
component: () => import('@/pages/menuPages/priceTriggers/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'priceTriggers',
|
||||
icon: 'vuesax-linear:notification-bing',
|
||||
title: 'هشدار قیمت',
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'smsMain',
|
||||
path: 'sms',
|
||||
@@ -134,7 +112,7 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'sms',
|
||||
icon: 'vuesax-linear:sms',
|
||||
title: 'پیامکها',
|
||||
order: 6
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -146,7 +124,7 @@ const Setting: RouteRecordRaw = {
|
||||
icon: 'vuesax-linear:gift',
|
||||
title: 'کارت هدیه',
|
||||
hideMenu: true,
|
||||
order: 7
|
||||
order: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -158,7 +136,7 @@ const Setting: RouteRecordRaw = {
|
||||
icon: 'vuesax-linear:discount-shape',
|
||||
title: 'تخفیفات',
|
||||
hideMenu: true,
|
||||
order: 8
|
||||
order: 7
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -169,19 +147,27 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'user',
|
||||
icon: 'vuesax-linear:profile',
|
||||
title: 'مدیران',
|
||||
order: 9
|
||||
order: 8
|
||||
}
|
||||
},
|
||||
/** ریدایرکت آدرس قدیمی — به حساب کتاب منتقل شد */
|
||||
{
|
||||
name: 'accountingMain',
|
||||
name: 'settingsPricingRedirect',
|
||||
path: 'pricing',
|
||||
redirect: { name: 'pricingMain' },
|
||||
meta: { hideMenu: true }
|
||||
},
|
||||
{
|
||||
name: 'settingsPriceTriggersRedirect',
|
||||
path: 'priceTriggers',
|
||||
redirect: { name: 'priceTriggers' },
|
||||
meta: { hideMenu: true }
|
||||
},
|
||||
{
|
||||
name: 'settingsAccountingRedirect',
|
||||
path: 'accounting',
|
||||
component: () => import('@/pages/menuPages/accounting/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'accounting',
|
||||
icon: 'vuesax-linear:calculator',
|
||||
title: 'حسابداری',
|
||||
order: 10
|
||||
}
|
||||
redirect: { name: 'accountingMain' },
|
||||
meta: { hideMenu: true }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user