1404/11/04- first
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
const Products: RouteRecordRaw = {
|
||||
name: 'products',
|
||||
path: '/products',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'productsMain_limitedOrder' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:box',
|
||||
// permissionsKey: 'project',
|
||||
title: 'محصولات',
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 3
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'productsMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/products/index.vue'),
|
||||
meta: {
|
||||
// permissionsKey: 'config',
|
||||
icon: 'vuesax-linear:box',
|
||||
title: 'محصولات',
|
||||
disabled: false,
|
||||
hideMenu: true
|
||||
//hideChildren: false
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'productsMain_limitedOrder',
|
||||
path: 'list',
|
||||
component: () => import('@/pages/menuPages/products/base/index.vue'),
|
||||
meta: {
|
||||
// permissionsKey: 'config.limitedOrder',
|
||||
icon: 'vuesax-linear:box',
|
||||
title: 'لیست محصولات'
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'productsMain_archive',
|
||||
path: 'archive',
|
||||
component: () => import('@/pages/menuPages/products/archive/index.vue'),
|
||||
meta: {
|
||||
// permissionsKey: 'user',
|
||||
icon: 'vuesax-linear:save-2',
|
||||
title: 'بایگانی'
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
export default Products
|
||||
|
||||
Reference in New Issue
Block a user