fix bug 22/4
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر پیکربندی است */
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر حساب کتاب است */
|
||||
const Accounting: RouteRecordRaw = {
|
||||
name: 'accounting',
|
||||
path: '/accounting',
|
||||
|
||||
@@ -1,35 +1,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
const Withdraw: RouteRecordRaw = {
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر حساب کتاب است */
|
||||
const Accounts: RouteRecordRaw = {
|
||||
name: 'accounts',
|
||||
path: '/accounts',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'accountsMain' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:cards',
|
||||
// permissionsKey: 'orders',
|
||||
title: 'حساب ها',
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 6
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'accountsMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/cards/index.vue'),
|
||||
meta: {
|
||||
// permissionsKey: 'project',
|
||||
icon: 'vuesax-linear:money-send',
|
||||
order: 3,
|
||||
title: 'حساب ها',
|
||||
disabled: false,
|
||||
hideMenu: false
|
||||
//hideChildren: false
|
||||
}
|
||||
}
|
||||
]
|
||||
hideMenu: true
|
||||
}
|
||||
}
|
||||
|
||||
export default Withdraw
|
||||
export default Accounts
|
||||
|
||||
@@ -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
|
||||
@@ -12,7 +12,7 @@ const Orders: RouteRecordRaw = {
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 7
|
||||
order: 5
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -1,31 +1,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر حساب کتاب است */
|
||||
const PhysicalWithdraw: RouteRecordRaw = {
|
||||
name: 'physicalWithdraw',
|
||||
path: '/physical-withdraw',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'physicalWithdrawMain' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:truck-tick',
|
||||
title: 'برداشت فیزیکی',
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 7.5
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'physicalWithdrawMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/physicalWithdraw/index.vue'),
|
||||
meta: {
|
||||
icon: 'vuesax-linear:truck-tick',
|
||||
title: 'برداشت فیزیکی',
|
||||
disabled: false,
|
||||
hideMenu: false
|
||||
}
|
||||
}
|
||||
]
|
||||
hideMenu: true
|
||||
}
|
||||
}
|
||||
|
||||
export default PhysicalWithdraw
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر پیکربندی است */
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر حساب کتاب است */
|
||||
const Pricing: RouteRecordRaw = {
|
||||
name: 'pricing',
|
||||
path: '/pricing',
|
||||
|
||||
@@ -16,7 +16,7 @@ const Setting: RouteRecordRaw = {
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 10
|
||||
order: 7
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -43,17 +43,6 @@ const Setting: RouteRecordRaw = {
|
||||
order: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'pricingMain',
|
||||
path: 'pricing',
|
||||
component: () => import('@/pages/menuPages/pricing/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'pricing',
|
||||
icon: 'vuesax-linear:dollar-circle',
|
||||
title: 'تاریخچه قیمت',
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'captureSitesMain',
|
||||
path: 'capture-sites',
|
||||
@@ -62,7 +51,7 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'pricing',
|
||||
icon: 'vuesax-linear:global',
|
||||
title: 'سایتهای ریگیری',
|
||||
order: 2.5
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -115,17 +104,6 @@ const Setting: RouteRecordRaw = {
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'priceTriggers',
|
||||
path: 'priceTriggers',
|
||||
component: () => import('@/pages/menuPages/priceTriggers/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'priceTriggers',
|
||||
icon: 'vuesax-linear:notification-bing',
|
||||
title: 'هشدار قیمت',
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'smsMain',
|
||||
path: 'sms',
|
||||
@@ -134,7 +112,7 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'sms',
|
||||
icon: 'vuesax-linear:sms',
|
||||
title: 'پیامکها',
|
||||
order: 6
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -146,7 +124,7 @@ const Setting: RouteRecordRaw = {
|
||||
icon: 'vuesax-linear:gift',
|
||||
title: 'کارت هدیه',
|
||||
hideMenu: true,
|
||||
order: 7
|
||||
order: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -158,7 +136,7 @@ const Setting: RouteRecordRaw = {
|
||||
icon: 'vuesax-linear:discount-shape',
|
||||
title: 'تخفیفات',
|
||||
hideMenu: true,
|
||||
order: 8
|
||||
order: 7
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -169,19 +147,27 @@ const Setting: RouteRecordRaw = {
|
||||
permissionsKey: 'user',
|
||||
icon: 'vuesax-linear:profile',
|
||||
title: 'مدیران',
|
||||
order: 9
|
||||
order: 8
|
||||
}
|
||||
},
|
||||
/** ریدایرکت آدرس قدیمی — به حساب کتاب منتقل شد */
|
||||
{
|
||||
name: 'accountingMain',
|
||||
name: 'settingsPricingRedirect',
|
||||
path: 'pricing',
|
||||
redirect: { name: 'pricingMain' },
|
||||
meta: { hideMenu: true }
|
||||
},
|
||||
{
|
||||
name: 'settingsPriceTriggersRedirect',
|
||||
path: 'priceTriggers',
|
||||
redirect: { name: 'priceTriggers' },
|
||||
meta: { hideMenu: true }
|
||||
},
|
||||
{
|
||||
name: 'settingsAccountingRedirect',
|
||||
path: 'accounting',
|
||||
component: () => import('@/pages/menuPages/accounting/index.vue'),
|
||||
meta: {
|
||||
permissionsKey: 'accounting',
|
||||
icon: 'vuesax-linear:calculator',
|
||||
title: 'حسابداری',
|
||||
order: 10
|
||||
}
|
||||
redirect: { name: 'accountingMain' },
|
||||
meta: { hideMenu: true }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@ const Transactions: RouteRecordRaw = {
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 5
|
||||
order: 4
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
||||
@@ -1,35 +1,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر حساب کتاب است */
|
||||
const Wallet: RouteRecordRaw = {
|
||||
name: 'wallet',
|
||||
path: '/wallet',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'walletMain' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:wallet',
|
||||
// permissionsKey: 'project',
|
||||
title: 'کیف پول',
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 4
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'walletMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/wallet/index.vue'),
|
||||
meta: {
|
||||
// permissionsKey: 'wallet',
|
||||
icon: 'vuesax-linear:wallet',
|
||||
order: 3,
|
||||
title: 'پروژه ها',
|
||||
disabled: false,
|
||||
hideMenu: false
|
||||
//hideChildren: false
|
||||
}
|
||||
}
|
||||
]
|
||||
hideMenu: true
|
||||
}
|
||||
}
|
||||
|
||||
export default Wallet
|
||||
|
||||
@@ -1,35 +1,13 @@
|
||||
import type { RouteRecordRaw } from 'vue-router'
|
||||
|
||||
/** ریدایرکت آدرس قدیمی — منو زیر حساب کتاب است */
|
||||
const Withdraw: RouteRecordRaw = {
|
||||
name: 'withdraw',
|
||||
path: '/withdraw',
|
||||
component: () => import('@core/layouts/BasicLayout.vue'),
|
||||
redirect: { name: 'withdrawMain' },
|
||||
meta: {
|
||||
icon: 'vuesax-linear:money-change',
|
||||
// permissionsKey: 'orders',
|
||||
title: 'برداشت و واریز',
|
||||
disabled: false,
|
||||
hideMenu: false,
|
||||
hideChildren: true,
|
||||
order: 8
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'withdrawMain',
|
||||
path: '',
|
||||
component: () => import('@/pages/menuPages/withdraw/index.vue'),
|
||||
meta: {
|
||||
// permissionsKey: 'project',
|
||||
icon: 'vuesax-linear:money-change',
|
||||
order: 3,
|
||||
title: 'برداشت و واریز',
|
||||
disabled: false,
|
||||
hideMenu: false
|
||||
//hideChildren: false
|
||||
}
|
||||
}
|
||||
]
|
||||
hideMenu: true
|
||||
}
|
||||
}
|
||||
|
||||
export default Withdraw
|
||||
|
||||
Reference in New Issue
Block a user