| 1234567891011121314151617181920212223242526272829303132333435363738 |
- import Home from './Home.vue';
- /**
- * 路由表配置
- */
- const routes = [
- { path: '/', component: Home },
- // 登录与注册
- { path: '/login', component: () => import('./Login.vue') },
- { path: '/reg', component: () => import('./Register.vue') },
- // 会话
- { path: '/conversation', component: () => import('./Conversation.vue') },
- // 知识库
- { path: '/knowledge', component: () => import('./Knowledge.vue') },
- // 模型
- { path: '/model', component: () => import('./Model.vue') },
- // Agent
- { path: '/agent', component: () => import('./Agent.vue') },
- // 智能体
- { path: '/intelligent', component: () => import('./Intelligent.vue') },
- // 权限管理
- { path: '/permission', component: () => import('./Permissions.vue') },
- { path: '/permission/org', component: () => import('./PermissionOrganization.vue') },
- { path: '/permission/account', component: () => import('./PermissionAccount.vue') },
- { path: '/permission/role', component: () => import('./PermissionRole.vue') },
- { path: '/permission/resource', component: () => import('./PermissionResource.vue') },
- // 个人中心
- { path: '/profile', component: () => import('./Profiles.vue') },
- { path: '/setting', component: () => import('./Settings.vue') },
- { path: '/about', component: () => import('./About.vue') }
- ];
- export default routes;
|