From 111be55c1da6b9b05a9903b0e5da8a330b7dfe8c Mon Sep 17 00:00:00 2001 From: BBIT-Kai <2911862937@qq.com> Date: Tue, 14 Oct 2025 09:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=8F=9C=E5=8D=95=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0Harbor=E5=90=8E=E5=8F=B0=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbit_ai/app/service/Analyze.py | 3 +- .../src/router/routes/modules/dashboard.ts | 12 ++++ .../web-antd/src/router/routes/modules/out.ts | 68 +++++++++---------- .../web-antd/src/router/routes/modules/set.ts | 14 +++- 4 files changed, 59 insertions(+), 38 deletions(-) diff --git a/bbit_ai/app/service/Analyze.py b/bbit_ai/app/service/Analyze.py index e4dfd17..e3e9636 100644 --- a/bbit_ai/app/service/Analyze.py +++ b/bbit_ai/app/service/Analyze.py @@ -60,8 +60,7 @@ def mq_pull_analysis(): ch.basic_ack(delivery_tag=method.delivery_tag) channel.basic_consume(queue=QUEUE_NAME, on_message_callback=callback) - print("开启队列消费者") - print("等待分析任务...") + print("开启队列消费者,等待分析任务...") try: channel.start_consuming() finally: diff --git a/vue/apps/web-antd/src/router/routes/modules/dashboard.ts b/vue/apps/web-antd/src/router/routes/modules/dashboard.ts index 4c52446..1ec3ed1 100644 --- a/vue/apps/web-antd/src/router/routes/modules/dashboard.ts +++ b/vue/apps/web-antd/src/router/routes/modules/dashboard.ts @@ -1,5 +1,6 @@ import type { RouteRecordRaw } from 'vue-router'; +import { IFrameView } from '#/layouts'; import { $t } from '#/locales'; const routes: RouteRecordRaw[] = [ @@ -31,6 +32,17 @@ const routes: RouteRecordRaw[] = [ title: $t('remote.remote'), }, }, + { + name: 'RAG', + path: '/out/rag', + component: IFrameView, + meta: { + icon: 'mdi:wall-fire', + iframeSrc: 'http://s1.ronsunny.cn:13010/', + keepAlive: false, + title: 'RAG Flow', + }, + }, ], }, ]; diff --git a/vue/apps/web-antd/src/router/routes/modules/out.ts b/vue/apps/web-antd/src/router/routes/modules/out.ts index 9dc28da..57dac70 100644 --- a/vue/apps/web-antd/src/router/routes/modules/out.ts +++ b/vue/apps/web-antd/src/router/routes/modules/out.ts @@ -1,34 +1,34 @@ -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:round-handyman', - keepAlive: false, - authority: ['user'], - order: 2, - title: $t('其他平台'), - }, - name: 'Out', - path: '/out', - children: [ - { - name: 'RAG', - path: '/out/rag', - component: IFrameView, - meta: { - icon: 'mdi:wall-fire', - iframeSrc: 'http://s1.ronsunny.cn:13010/', - keepAlive: false, - title: 'RAG Flow', - }, - }, - ], - }, -]; - -export default routes; +// 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:round-handyman', +// keepAlive: false, +// authority: ['user'], +// order: 2, +// title: $t('其他平台'), +// }, +// name: 'Out', +// path: '/out', +// children: [ +// { +// name: 'RAG', +// path: '/out/rag', +// component: IFrameView, +// meta: { +// icon: 'mdi:wall-fire', +// iframeSrc: 'http://s1.ronsunny.cn:13010/', +// keepAlive: false, +// title: 'RAG Flow', +// }, +// }, +// ], +// }, +// ]; +// +// export default routes; diff --git a/vue/apps/web-antd/src/router/routes/modules/set.ts b/vue/apps/web-antd/src/router/routes/modules/set.ts index 6d6f5da..ba30603 100644 --- a/vue/apps/web-antd/src/router/routes/modules/set.ts +++ b/vue/apps/web-antd/src/router/routes/modules/set.ts @@ -1,9 +1,8 @@ import type { RouteRecordRaw } from 'vue-router'; +import { IFrameView } from '#/layouts'; import { $t } from '#/locales'; -const IFrameView = () => import('@vben/layouts').then((m) => m.IFrameView); - const routes: RouteRecordRaw[] = [ { meta: { @@ -71,6 +70,17 @@ const routes: RouteRecordRaw[] = [ 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后台', + }, + }, ], }, ];