89 lines
2.0 KiB
TypeScript
89 lines
2.0 KiB
TypeScript
import type { RouteRecordRaw } from 'vue-router';
|
|
|
|
import { IFrameView } from '#/layouts';
|
|
import { $t } from '#/locales';
|
|
|
|
const routes: RouteRecordRaw[] = [
|
|
{
|
|
meta: {
|
|
icon: 'ic:round-handyman',
|
|
keepAlive: false,
|
|
authority: ['set'],
|
|
order: 2,
|
|
title: $t('控制后台'),
|
|
},
|
|
name: 'Set',
|
|
path: '/set',
|
|
children: [
|
|
{
|
|
name: 'Kong-set',
|
|
path: '/set/kong',
|
|
component: IFrameView,
|
|
meta: {
|
|
icon: 'mdi:monitor-dashboard',
|
|
link: 'http://10.10.10.9:8002/',
|
|
keepAlive: true,
|
|
title: 'Kong后台',
|
|
},
|
|
},
|
|
{
|
|
name: 'MinIO-webui',
|
|
path: '/set/rocketMQ',
|
|
component: IFrameView,
|
|
meta: {
|
|
icon: 'mdi:monitor-dashboard',
|
|
link: 'http://10.10.10.9:9001',
|
|
keepAlive: true,
|
|
title: 'MinIO后台',
|
|
},
|
|
},
|
|
{
|
|
name: 'Milvus-webui',
|
|
path: '/set/kong',
|
|
component: IFrameView,
|
|
meta: {
|
|
icon: 'mdi:monitor-dashboard',
|
|
link: 'http://10.10.10.9:9091/webui',
|
|
keepAlive: true,
|
|
title: 'Milvus后台',
|
|
},
|
|
},
|
|
{
|
|
name: 'Milvus-set',
|
|
path: '/set/kong',
|
|
component: IFrameView,
|
|
meta: {
|
|
icon: 'mdi:monitor-dashboard',
|
|
link: 'http://10.10.10.9:3000/',
|
|
keepAlive: true,
|
|
title: 'Milvus Attu后台',
|
|
},
|
|
},
|
|
{
|
|
name: 'RabbitMQ-webui',
|
|
path: '/set/rabbitMQ',
|
|
component: IFrameView,
|
|
meta: {
|
|
icon: 'mdi:monitor-dashboard',
|
|
link: 'http://10.10.10.9:15672',
|
|
keepAlive: true,
|
|
title: 'RabbitMQ后台',
|
|
},
|
|
},
|
|
{
|
|
name: 'Harbor-webui',
|
|
path: '/set/Harbor',
|
|
component: IFrameView,
|
|
meta: {
|
|
icon: 'mdi:monitor-dashboard',
|
|
link: 'http://10.10.10.9:13011',
|
|
keepAlive: true,
|
|
title: 'Harbor后台',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default routes;
|