peicj пре 8 часа
родитељ
комит
db08fd1e76
3 измењених фајлова са 370 додато и 268 уклоњено
  1. 8 10
      src/api/aiChat/aiChatSession.js
  2. 3 3
      src/api/crm/customerAnalyze.js
  3. 359 255
      src/views/crm/customerAiChat/index.vue

+ 8 - 10
src/api/aiChat/aiChatSession.js

@@ -51,16 +51,14 @@ export function pinChatSession(sessionId, isPinned) {
         data: { sessionId, isPinned }
     })
 }
-
-
-
-
-
-
-
-
-
-
+//获取AI回复
+export function getAiReply(data) {
+    return request({
+        url: '/crm/customer/chat/chatSession/polishingScript',
+        method: 'post',
+        data: data
+    })
+}
 
 // 获取消息列表(分页,带时间游标)
 export function getChatMessageList(query) {

+ 3 - 3
src/api/crm/customerAnalyze.js

@@ -9,11 +9,11 @@ export function listAnalyze(query) {
   })
 }
 // 查询客户聊天记录分析列表
-export function listAllAnalyze(query) {
+export function listAllAnalyze(data) {
     return request({
         url: '/crm/analyze/listAll',
-        method: 'get',
-        params: query
+        method: 'post',
+        data: data
     })
 }
 

Разлика између датотеке није приказан због своје велике величине
+ 359 - 255
src/views/crm/customerAiChat/index.vue


Неке датотеке нису приказане због велике количине промена