fix some bugs
This commit is contained in:
@@ -1,35 +1,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
const Orders: RouteRecordRaw = {
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر پیکربندی است */
|
||||
const Accounting: RouteRecordRaw = {
|
||||
name: 'accounting',
|
||||
path: '/accounting',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'accountingMain' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:calculator',
|
||||
permissionsKey: 'accounting',
|
||||
title: 'حسابداری',
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'accountingMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/accounting/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'project',
|
||||
icon: 'vuesax-linear:empty-wallet-time',
|
||||
order: 3,
|
||||
title: 'حسابداری',
|
||||
disabled: false,
|
||||
hideMenu: false
|
||||
//hideChildren: false
|
||||
}
|
||||
}
|
||||
]
|
||||
hideMenu: true
|
||||
}
|
||||
}
|
||||
|
||||
export default Orders
|
||||
export default Accounting
|
||||
|
||||
@@ -136,6 +136,17 @@ const Setting: RouteRecordRaw = {
|
||||
title: 'مدیران',
|
||||
order: 9
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'accountingMain',
|
||||
path: 'accounting',
|
||||
component: () => import('@/pages/menuPages/accounting/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'accounting',
|
||||
icon: 'vuesax-linear:calculator',
|
||||
title: 'حسابداری',
|
||||
order: 10
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user