| | |
| | | SwitchButton, |
| | | Tickets, |
| | | User, |
| | | Wallet, |
| | | } from '@element-plus/icons-vue' |
| | | import { logoutAdmin } from '../api/auth' |
| | | import { useAppStore } from '../stores/app' |
| | |
| | | const merchantMenus: MenuItem[] = [ |
| | | { path: '/merchants', label: '商家查询' }, |
| | | { path: '/products', label: '团单审核' }, |
| | | ] |
| | | |
| | | const financeMenus: MenuItem[] = [ |
| | | { path: '/merchant-settlement', label: '商户结算审核' }, |
| | | ] |
| | | |
| | |
| | | { index: 'merchant-management', label: '商家管理', icon: OfficeBuilding, items: merchantMenus }, |
| | | { index: 'order-management', label: '订单管理', icon: Tickets, items: orderMenus }, |
| | | { index: 'reservation-management', label: '预约管理', icon: Calendar, items: reservationMenus }, |
| | | { index: 'finance-management', label: '财务管理', icon: Wallet, items: financeMenus }, |
| | | { index: 'operation-management', label: '运营管理', icon: Operation, items: operationMenus }, |
| | | { index: 'system-management', label: '系统管理', icon: Setting, items: systemMenus }, |
| | | ] |