fix bug 22/4

This commit is contained in:
2026-07-13 13:32:08 +03:30
parent 50f6d7f7e5
commit 61235b3bf8
25 changed files with 435 additions and 297 deletions
+108
View File
@@ -0,0 +1,108 @@
import type { RouteRecordRaw } from 'vue-router'
const HesabKetab: RouteRecordRaw = {
name: 'hesabKetab',
path: '/hesab-ketab',
component: () => import('@core/layouts/BasicLayout.vue'),
redirect: { name: 'hesabKetabMain' },
meta: {
icon: 'vuesax-linear:book',
title: 'حساب کتاب',
disabled: false,
hideMenu: false,
hideChildren: true,
order: 6
},
children: [
{
name: 'hesabKetabMain',
path: '',
component: () => import('@/pages/menuPages/hesabKetab/index.vue'),
redirect: { name: 'accountsMain' },
meta: {
icon: 'vuesax-linear:book',
order: 5,
title: 'حساب کتاب',
disabled: false,
hideMenu: true
},
children: [
{
name: 'accountsMain',
path: 'accounts',
component: () => import('@/pages/menuPages/cards/index.vue'),
meta: {
icon: 'vuesax-linear:cards',
title: 'حساب ها',
order: 1
}
},
{
name: 'walletMain',
path: 'wallet',
component: () => import('@/pages/menuPages/wallet/index.vue'),
meta: {
icon: 'vuesax-linear:wallet',
title: 'کیف پول',
order: 2
}
},
{
name: 'physicalWithdrawMain',
path: 'physical-withdraw',
component: () => import('@/pages/menuPages/physicalWithdraw/index.vue'),
meta: {
icon: 'vuesax-linear:truck-tick',
title: 'برداشت فیزیکی',
order: 3
}
},
{
name: 'withdrawMain',
path: 'withdraw',
component: () => import('@/pages/menuPages/withdraw/index.vue'),
meta: {
icon: 'vuesax-linear:money-change',
title: 'برداشت و واریز',
order: 4
}
},
{
name: 'pricingMain',
path: 'pricing',
component: () => import('@/pages/menuPages/pricing/index.vue'),
meta: {
permissionsKey: 'pricing',
icon: 'vuesax-linear:dollar-circle',
title: 'تاریخچه قیمت',
order: 5
}
},
{
name: 'priceTriggers',
path: 'priceTriggers',
component: () => import('@/pages/menuPages/priceTriggers/index.vue'),
meta: {
permissionsKey: 'priceTriggers',
icon: 'vuesax-linear:notification-bing',
title: 'هشدار قیمت',
order: 6
}
},
{
name: 'accountingMain',
path: 'accounting',
component: () => import('@/pages/menuPages/accounting/index.vue'),
meta: {
permissionsKey: 'accounting',
icon: 'vuesax-linear:calculator',
title: 'حسابداری',
order: 7
}
}
]
}
]
}
export default HesabKetab