feat(platform-ops): 增加用户商品交易资金分类统计

This commit is contained in:
yml
2026-11-15 21:42:50 +08:00
parent 991de90136
commit a68eb815a9
9 changed files with 791 additions and 140 deletions
+38 -1
View File
@@ -1,6 +1,14 @@
import type { RouteRecordRaw } from 'vue-router'
import { adminPath, ADMIN_DASHBOARD_PATH, PLATFORM_OPS_PATH } from '@/shared/utils/adminPath'
import {
adminPath,
ADMIN_DASHBOARD_PATH,
PLATFORM_OPS_FINANCE_PATH,
PLATFORM_OPS_LISTINGS_PATH,
PLATFORM_OPS_PATH,
PLATFORM_OPS_TRADE_PATH,
PLATFORM_OPS_USERS_PATH,
} from '@/shared/utils/adminPath'
const adminMeta = { layout: 'admin', requiresAdmin: true }
@@ -22,6 +30,35 @@ export const adminRoutes: RouteRecordRaw[] = [
path: PLATFORM_OPS_PATH,
name: 'platform-ops-overview',
component: () => import('@/features/admin/views/AdminPlatformOverviewView.vue'),
props: { mode: 'overview' },
meta: { ...adminMeta, platformOps: true },
},
{
path: PLATFORM_OPS_USERS_PATH,
name: 'platform-ops-users',
component: () => import('@/features/admin/views/AdminPlatformOverviewView.vue'),
props: { mode: 'users' },
meta: { ...adminMeta, platformOps: true },
},
{
path: PLATFORM_OPS_LISTINGS_PATH,
name: 'platform-ops-listings',
component: () => import('@/features/admin/views/AdminPlatformOverviewView.vue'),
props: { mode: 'listings' },
meta: { ...adminMeta, platformOps: true },
},
{
path: PLATFORM_OPS_TRADE_PATH,
name: 'platform-ops-trade',
component: () => import('@/features/admin/views/AdminPlatformOverviewView.vue'),
props: { mode: 'trade' },
meta: { ...adminMeta, platformOps: true },
},
{
path: PLATFORM_OPS_FINANCE_PATH,
name: 'platform-ops-finance',
component: () => import('@/features/admin/views/AdminPlatformOverviewView.vue'),
props: { mode: 'finance' },
meta: { ...adminMeta, platformOps: true },
},
{