From 8189c098dba177425bcdb24d0a8a827f37b23e79 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期六, 24 八月 2024 13:48:43 +0800
Subject: [PATCH] agent名称修改

---
 src/views/sessionManager/components/chatMenu.vue |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/src/views/sessionManager/components/chatMenu.vue b/src/views/sessionManager/components/chatMenu.vue
index 5febeb1..0744d8e 100644
--- a/src/views/sessionManager/components/chatMenu.vue
+++ b/src/views/sessionManager/components/chatMenu.vue
@@ -9,16 +9,17 @@
         }">
           <div class="myAgentToolIcon___gaAKI myAgentToolIconNew___DBZrW">
             <img
-            src="../../../assets/images/talkbg.svg"
+            src="@/assets/images/talk.png"
             style="width: 24px"
-            alt=""></div>
+            alt="">
+          </div>
         </div>
         <div data-testid="msh-sidebar-history" class="myAgentTool___Y1_mC"  @click="()=>{
           EventBus.emit('history')
         }">
           <div class="myAgentToolIcon___gaAKI myAgentToolIconHistory___GTLWk" >
             <img
-              src="../../../assets/images/history.svg"
+              src="@/assets/images/historybg.png"
               style="width: 24px"
             alt="">
           </div>
@@ -27,7 +28,7 @@
           EventBus.emit('smartAi')
         }">
           <div class="myAgentToolIcon___gaAKI myAgentToolIconSquare___Rj1o_"><img
-            src="../../../assets/images/agentbg.svg"
+            src="@/assets/images/agent.png"
             style="width: 24px"
             alt=""></div>
         </div>
@@ -86,7 +87,7 @@
               <div class="myAgentBoxImgLayout___u69B_">
                 <div class="MuiBox-root css-5nczy5">
                   <img
-                    :src="item.icon ? httpUrl + item.icon:'https://kimi-img.moonshot.cn/prod-chat-kimi/avatar/kimiplus/guess.png'"
+                    :src="item.icon ? httpUrl + item.icon:imgSrc"
                     alt=""
                     style="border-radius: 50%; width: 100%; height: 100%;">
                 </div>
@@ -123,7 +124,6 @@
 const httpUrl = localStorage.getItem('httpUrl');
 import EventBus from '@/utils/EventBus';
 const emit = defineEmits(["querySessionDetail","changeAgentType","createSession"]);
-import logo from "@/assets/images/model.png";
 import { appUsageSessionListApi, deleteAppUsage } from "@/api/Agent";
 import { getAgentSessionDetailsApi } from "@/api/agentSession";
 const activeSessionId = ref("");
@@ -136,7 +136,9 @@
 const selectValue = ref("");
 const sectionList = ref({});
 const sessionList = ref([]); //鐢ㄦ埛鎿嶄綔浼氳瘽鍒楄〃
-
+import img1 from '@/assets/images/talkbg.png'
+import logo from "@/assets/images/model.png";
+const imgSrc = ref(logo);
 
 
 
@@ -163,7 +165,7 @@
   // 鏌ヨ鍘嗗彶璁板綍
   if (session.app_type == '1') {
     // 鐢熸垚鏅鸿兘浣撴柊鐨勫璇�
-    emit('createSession',session.app_id);
+    emit('createSession',session.app_id,`鍜�${session.name}鐨勪細璇漙);
     emit('changeAgentType','1');
   } else {
     // 鐢熸垚agent鏂扮殑瀵硅瘽

--
Gitblit v1.8.0