瀏覽代碼

feat(管理端): 系统提示词管理菜单

- router/index.js 新增 /system-prompt 路由 → SystemPromptManagement
- Layout.vue 配置中心菜单新增「系统提示词」入口(perm: system:base)
Sisyphus 1 周之前
父節點
當前提交
f262fa5033
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. 6 0
      cfc-web/src/router/index.js
  2. 1 0
      cfc-web/src/views/Layout.vue

+ 6 - 0
cfc-web/src/router/index.js

@@ -410,6 +410,12 @@ const routes = [
         component: () => import('@/views/admin/gates.vue'),
         meta: { title: '关卡配置', perm: 'system:base' }
       },
+      {
+        path: 'system-prompt',
+        name: 'SystemPromptManagement',
+        component: () => import('@/views/admin/SystemPromptManagement.vue'),
+        meta: { title: '系统提示词', perm: 'system:base' }
+      },
       // ========== 佣金推荐系统 ==========
       {
         path: 'product-profit-rate',

+ 1 - 0
cfc-web/src/views/Layout.vue

@@ -298,6 +298,7 @@ export default {
                 { path: '/badge-manage', label: '勋章管理', icon: 'el-icon-medal', perm: 'config:member' },
                 { path: '/virtual-goods-config', label: '虚拟支付道具', icon: 'el-icon-goods', perm: 'config:member' },
                 { path: '/gates', label: '关卡配置', icon: 'el-icon-key', perm: 'system:base' },
+                { path: '/system-prompt', label: '系统提示词', icon: 'el-icon-chat-line-square', perm: 'system:base' },
                 { path: '/file-manage', label: '文件管理', icon: 'el-icon-files', perm: 'system:base' },
               ]},
             // --- 配置中心 ---