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后台', + }, + }, ], }, ];