智能控制中心,出版发布
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const IFrameView = () => import('@vben/layouts').then((m) => m.IFrameView);
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
meta: {
|
||||
icon: 'ic:baseline-view-in-ar',
|
||||
keepAlive: true,
|
||||
order: 2,
|
||||
title: $t('ai.title'),
|
||||
},
|
||||
name: 'Ai',
|
||||
path: '/ai',
|
||||
children: [
|
||||
{
|
||||
name: 'IVA',
|
||||
path: '/ai/iva',
|
||||
meta: {
|
||||
icon: 'mdi:video',
|
||||
title: $t('ai.intelligence_video_analysis'),
|
||||
},
|
||||
component: () => import('#/views/ai/iva/index.vue'),
|
||||
},
|
||||
{
|
||||
name: 'YSA',
|
||||
path: '/ai/ysa',
|
||||
meta: {
|
||||
icon: 'mdi:home',
|
||||
title: $t('ai.young_silkworm_analysis'),
|
||||
},
|
||||
component: () => import('#/views/ai/ysa/index.vue'),
|
||||
},
|
||||
{
|
||||
name: 'RAG',
|
||||
path: '/ai/rag',
|
||||
component: IFrameView,
|
||||
meta: {
|
||||
icon: 'mdi:wall-fire',
|
||||
iframeSrc: 'http://171.212.101.199:13010/',
|
||||
keepAlive: true,
|
||||
title: '检索增强生成',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'CVAT',
|
||||
path: '/ai/cvat',
|
||||
component: IFrameView,
|
||||
meta: {
|
||||
icon: 'mdi:abjad-arabic',
|
||||
link: 'http://171.212.101.199:13013/',
|
||||
keepAlive: true,
|
||||
title: '标注平台入口',
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
@@ -0,0 +1,38 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
meta: {
|
||||
icon: 'lucide:layout-dashboard',
|
||||
order: -1,
|
||||
title: $t('page.dashboard.title'),
|
||||
},
|
||||
name: 'Dashboard',
|
||||
path: '/dashboard',
|
||||
children: [
|
||||
{
|
||||
name: 'Analytics',
|
||||
path: '/analytics',
|
||||
component: () => import('#/views/dashboard/analytics/index.vue'),
|
||||
meta: {
|
||||
affixTab: true,
|
||||
icon: 'lucide:area-chart',
|
||||
title: $t('page.dashboard.analytics'),
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'Workspace',
|
||||
path: '/workspace',
|
||||
component: () => import('#/views/dashboard/workspace/index.vue'),
|
||||
meta: {
|
||||
icon: 'carbon:workspace',
|
||||
title: $t('page.dashboard.workspace'),
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
@@ -0,0 +1,29 @@
|
||||
import type { RouteRecordRaw } from 'vue-router';
|
||||
|
||||
import { $t } from '#/locales';
|
||||
|
||||
const routes: RouteRecordRaw[] = [
|
||||
{
|
||||
meta: {
|
||||
icon: 'ic:baseline-view-in-ar',
|
||||
keepAlive: true,
|
||||
order: 1,
|
||||
title: $t('remote.tools'),
|
||||
},
|
||||
name: 'Room',
|
||||
path: '/room',
|
||||
children: [
|
||||
{
|
||||
name: 'Remote',
|
||||
path: '/remote',
|
||||
component: () => import('#/views/remote/index.vue'),
|
||||
meta: {
|
||||
icon: 'mdi:home',
|
||||
title: $t('remote.remote'),
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
export default routes;
|
||||
Reference in New Issue
Block a user