L1L2 gen1Gen2 kialakítása
This commit is contained in:
@@ -339,9 +339,20 @@ const menuGroups: MenuGroup[] = [
|
||||
title: 'menu.finance',
|
||||
items: [
|
||||
{
|
||||
path: '/packages',
|
||||
label: 'menu.packages',
|
||||
label: 'menu.finance_management',
|
||||
icon: '<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20.25 7.5l-.625 10.632a2.25 2.25 0 01-2.247 2.118H6.622a2.25 2.25 0 01-2.247-2.118L3.75 7.5m8.25 3v6.75m0 0l-3-3m3 3l3-3M3.375 7.5h17.25c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125z" /></svg>',
|
||||
children: [
|
||||
{
|
||||
path: '/packages',
|
||||
label: 'menu.packages',
|
||||
icon: '<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" /></svg>',
|
||||
},
|
||||
{
|
||||
path: '/finance/commission-rules',
|
||||
label: 'menu.commission_rules',
|
||||
icon: '<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -460,6 +471,7 @@ const pageTitle = computed(() => {
|
||||
if (route.path.startsWith('/users')) return 'menu.users'
|
||||
if (route.path.startsWith('/logs')) return 'menu.system_logs'
|
||||
if (route.path.startsWith('/packages')) return 'menu.packages'
|
||||
if (route.path.startsWith('/finance/commission-rules')) return 'commission_rules.title'
|
||||
if (route.path.startsWith('/providers')) {
|
||||
if (route.path === '/providers/pending') return 'providers.pending_title'
|
||||
if (route.path.startsWith('/providers/')) return 'providers.provider_detail'
|
||||
|
||||
Reference in New Issue
Block a user