Files
boursecu_admin/src/router/routes/giftCard.ts
T

37 lines
893 B
TypeScript
Raw Normal View History

2026-05-04 16:22:10 +03:30
import type { RouteRecordRaw } from 'vue-router'
2026-05-04 18:09:50 +03:30
import {getConfigApp} from "@/utils/config";
2026-05-04 16:22:10 +03:30
const Orders: RouteRecordRaw = {
name: 'giftCard',
path: '/giftCard',
component: () => import('@core/layouts/BasicLayout.vue'),
redirect: { name: 'giftCardMain' },
meta: {
icon: 'vuesax-linear:gift',
permissionsKey: 'giftCard',
title: 'کارت هدیه',
disabled: false,
2026-05-04 18:09:50 +03:30
hideMenu: getConfigApp('name')!='garoosi',
2026-05-04 16:22:10 +03:30
hideChildren: true,
order: 7
},
children: [
{
name: 'giftCardMain',
path: '',
component: () => import('@/pages/menuPages/giftCards/index.vue'),
meta: {
permissionsKey: 'project',
icon: 'vuesax-linear:empty-wallet-time',
order: 3,
title: 'کارت هدیه',
disabled: false,
hideMenu: false
//hideChildren: false
}
}
]
}
export default Orders