store 3
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
import { getConfigApp, isStoreApp } from '@/utils/config'
|
||||
const Setting: RouteRecordRaw = {
|
||||
name: 'settings',
|
||||
path: '/settings',
|
||||
@@ -62,6 +61,27 @@ const Setting: RouteRecordRaw = {
|
||||
title: 'هشدار قیمت'
|
||||
}
|
||||
},
|
||||
{
|
||||
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
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'discounts',
|
||||
path: 'discounts',
|
||||
@@ -70,7 +90,7 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'discounts',
|
||||
icon: 'vuesax-linear:discount-shape',
|
||||
title: 'تخفیفات',
|
||||
hideMenu: isStoreApp() || getConfigApp('name') !== 'goldsun'
|
||||
hideMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -90,7 +110,7 @@ const Setting: RouteRecordRaw = {
|
||||
meta: {
|
||||
icon: 'vuesax-linear:image',
|
||||
title: 'بنرها',
|
||||
hideMenu: getConfigApp('name') !== "garoosi"
|
||||
hideMenu: true
|
||||
}
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user