fix some bugs

This commit is contained in:
2026-06-23 22:31:07 +03:30
parent 4e7d6bca00
commit 71764f7e9a
68 changed files with 1941 additions and 1288 deletions
+5 -27
View File
@@ -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
+11
View File
@@ -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
}
}
]
}