feat: 创建独立的授权管理页面

- 在左侧导航添加授权管理链接(代理管理后)

- 创建独立的授权管理页面,参考版本管理页面样式

- 添加统计卡片显示授权应用总数、活跃授权、授权卡类

- 创建添加/编辑授权页面

- 从代理编辑页面移除授权管理部分

- 添加路由配置
This commit is contained in:
2026-05-09 04:30:46 +08:00
parent f650efc7a1
commit c3536166b7
9 changed files with 950 additions and 301 deletions
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { Boxes, Code, CreditCard, DollarSign, FileLock, Gauge, GitBranch, HardDrive, Hash, Key, Mail, Megaphone, MessageSquare, Monitor, Network, Plug, ScrollText, Settings, Shield, Smartphone, Users, Variable } from 'lucide-vue-next'
import { Boxes, Code, CreditCard, DollarSign, FileLock, Gauge, GitBranch, HardDrive, Hash, Key, KeyRound, Mail, Megaphone, MessageSquare, Monitor, Network, Plug, ScrollText, Settings, Shield, Smartphone, Users, Variable } from 'lucide-vue-next'
import { computed, onMounted, onUnmounted, reactive } from 'vue'
import { useI18n } from 'vue-i18n'
@@ -137,6 +137,11 @@ const navMain = computed(() => [
url: '/admin/agents',
icon: Network,
},
{
title: t('nav.agentApps'),
url: '/admin/agent-apps',
icon: KeyRound,
},
],
},
{