From 577529c7ad2cc1231d3030ed009faec71cda0254 Mon Sep 17 00:00:00 2001
From: han2015 <1019850453@qq.com>
Date: Mon, 13 Oct 2025 15:22:06 +0800
Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E4=BD=93=EF=BC=9A=E6=94=AF?=
=?UTF-8?q?=E6=8C=81=E4=BC=9A=E8=AF=9D=E5=88=86=E4=BA=AB=E5=92=8C=E5=A4=8D?=
=?UTF-8?q?=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/doc/space.ts | 25 +++++
src/router/index.ts | 5 +
src/views/doc/agent.vue | 69 +++++++++++++-
src/views/doc/showtext.vue | 183 +++++++++++++++++++++++++++++++++++++
4 files changed, 277 insertions(+), 5 deletions(-)
create mode 100644 src/views/doc/showtext.vue
diff --git a/src/api/doc/space.ts b/src/api/doc/space.ts
index 219160e..2013476 100644
--- a/src/api/doc/space.ts
+++ b/src/api/doc/space.ts
@@ -220,4 +220,29 @@ export function getAiagentList(data?: any){
method: 'post',
data: data
});
+}
+
+/**
+ * 更新会话
+ * @requires key
+ *
+ */
+export function getShareChat(key: string){
+ return request({
+ url: '/aibot/chat/shared/'+key,
+ method: 'get',
+ });
+}
+
+/**
+ * 更新会话
+ * @requires key agentID+chatID+index
+ * @requires data
+ */
+export function newShareChat(data: any){
+ return request({
+ url: '/aibot/chat/share',
+ method: 'post',
+ data: data
+ });
}
\ No newline at end of file
diff --git a/src/router/index.ts b/src/router/index.ts
index 6267e9b..5cd96e8 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -38,6 +38,11 @@ export const constantRoutes: RouteRecordRaw[] = [
component: () => import("@/views/doc/onlyoffice.vue"),
meta: { hidden: true },
},
+ {
+ path: "/agent",
+ component: () => import("@/views/doc/showtext.vue"),
+ meta: { hidden: true },
+ },
{
path: "/",
diff --git a/src/views/doc/agent.vue b/src/views/doc/agent.vue
index b8d70e4..d638872 100644
--- a/src/views/doc/agent.vue
+++ b/src/views/doc/agent.vue
@@ -5,11 +5,11 @@
-->
+
+
+
+
+
恒信高科AI平台
+
+ {{ msg.content }}
+
+
+
+
+
+
+
+
+
+
+
+