From 514778f64e7708db4443a1c93c902e8294939f50 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期六, 17 八月 2024 11:10:03 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/web/flow_web
---
src/views/sessionManager/index.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/views/sessionManager/index.vue b/src/views/sessionManager/index.vue
index 83ce44b..0965d2c 100644
--- a/src/views/sessionManager/index.vue
+++ b/src/views/sessionManager/index.vue
@@ -8,7 +8,7 @@
<!-- <a-card class="top-title">AI浼氳瘽璁板綍</a-card>-->
<a-row :gutter="[5, 5]" style="margin-top: 3px;">
<a-col :span="1">
- <chatMenu></chatMenu>
+ <chatMenu @createSession="createSession" @querySessionDetail="querySessionDetail" @changeAgentType="changeAgentType"></chatMenu>
</a-col>
<!-- 鏅鸿兘浣撲細璇�-->
<a-col :span="23" v-show="agentType == '1'">
@@ -141,7 +141,7 @@
</a-col>
<a-col :span="23" v-show="agentType == '4'">
<div class="center" style="padding: 0">
- <smartAi @createSession="createSession" @createAgent="createAgent" @querySessionDetail="querySessionDetail" @changeAgentType="changeAgentType"></smartAi>
+ <smartAi @createSession="createSession" @querySessionDetail="querySessionDetail" @changeAgentType="changeAgentType"></smartAi>
</div>
</a-col>
</a-row>
@@ -249,7 +249,7 @@
dialog_id: id,
conversation_desc: "鏈懡鍚嶄細璇�"
});
- console.log(res, "res");
+ // console.log(res, "res");
if (res.code == 200) {
// console.log(res.data.conversation_id);
activeSessionId.value = res.data?.conversation_id;
@@ -356,6 +356,7 @@
console.info("done");
displayedText.value = "";
queryNewSessionDetail(activeSessionId.value);
+ EventBus.emit('queryAppUsageList');
break;
}
}
@@ -377,6 +378,7 @@
activeSessionId.value = id;
const { code, data } = await getSessionDetailsApi(id);
if (code === 200) {
+ console.log(data, "鏂板缓浼氳瘽璇︽儏");
sessionDetailList.value = data.message;
agentTitle.value = data.name;
refreshScroll(); //鍒锋柊婊氬姩鏉′綅缃�
@@ -755,6 +757,10 @@
transition: all var(--animation-duration) var(--animation-transition);
display: flex;
align-items: flex-end;
+ overflow: hidden; /* 闅愯棌瓒呭嚭鐨勫唴瀹� */
+ text-overflow: ellipsis; /* 浣跨敤鐪佺暐鍙锋潵浠f浛琚殣钘忕殑鏂囧瓧 */
+ white-space: nowrap; /* 涓嶆崲琛岋紝浣垮唴瀹瑰湪涓�琛屽唴鏄剧ず */
+ max-width: 200px;
}
}
</style>
--
Gitblit v1.8.0