sync(theme-4): 同步 main 最新 API/Admin 与玩家端逻辑

从 main 同步站内信手动发送、媒体库选择、列表子路由重构等 API/Admin 改动;玩家端仅合并 ADMIN_CUSTOM 富文本、消息预览与充值截图压缩逻辑,保留 theme-4 样式。
This commit is contained in:
2026-06-22 14:12:40 +08:00
parent 5fbb1fd1f6
commit cffad00652
50 changed files with 4654 additions and 1186 deletions

View File

@@ -55,6 +55,18 @@ const router = createRouter({
path: 'users',
component: () => import('../views/AgentManager.vue'),
meta: { adminOnly: true, permissions: [AdminPerm.usersView, AdminPerm.agentsView] },
children: [
{
path: 'agents/:agentId/players',
name: 'admin-agent-direct-players',
component: () => import('../views/agent/AgentDirectPlayersView.vue'),
},
{
path: 'settings',
name: 'admin-global-settings',
component: () => import('../views/agent/GlobalSettingsView.vue'),
},
],
},
{
path: 'finance-logs',
@@ -76,11 +88,25 @@ const router = createRouter({
path: 'matches',
component: () => import('../views/Matches.vue'),
meta: { adminOnly: true, permissions: [AdminPerm.matches] },
children: [
{
path: 'leagues/:leagueId',
name: 'admin-league-matches',
component: () => import('../views/matches/LeagueMatchesPage.vue'),
},
],
},
{
path: 'matches/outrights',
component: () => import('../views/MatchesOutrights.vue'),
meta: { adminOnly: true, permissions: [AdminPerm.matches] },
children: [
{
path: 'leagues/:leagueId',
name: 'admin-league-outrights',
component: () => import('../views/matches/LeagueOutrightsPage.vue'),
},
],
},
{
path: 'matches/market-templates',