diff --git a/linkwe-ui/package.json b/linkwe-ui/package.json index 20705f3bf5bf1339169f122160a57d73d66e9d19..be54d50c081ec15571440ce84fd77f338eab7310 100644 --- a/linkwe-ui/package.json +++ b/linkwe-ui/package.json @@ -49,6 +49,7 @@ "js-beautify": "1.10.2", "js-cookie": "2.2.0", "jsencrypt": "3.0.0-rc.1", + "moment": "^2.29.1", "normalize.css": "7.0.0", "nprogress": "0.2.0", "path-to-regexp": "2.4.0", diff --git a/linkwe-ui/src/api/content.js b/linkwe-ui/src/api/content.js new file mode 100644 index 0000000000000000000000000000000000000000..0f41ebad29467d2dd8ff4e5da84cad2b29ad6cd6 --- /dev/null +++ b/linkwe-ui/src/api/content.js @@ -0,0 +1,37 @@ +import request from '@/utils/request' +const getTree=(params)=>{ + return request({ + url:'/chat/mapping/list', + method: 'get', + params, + }) + } + + const chatList=(params)=>{ + return request({ + url:'/wecom/finance/getChatContactList', + method: 'get', + params, + }) + } + const listByCustomer=(params)=>{ + return request({ + url:'/chat/mapping/listByCustomer', + method: 'get', + params, + }) + } + const getChatAllList=(params)=>{ + return request({ + url:'/wecom/finance/getChatAllList', + method: 'get', + params, + }) + } + // + export const content={ + getTree, + chatList, + listByCustomer, + getChatAllList + } \ No newline at end of file diff --git a/linkwe-ui/src/utils/common.js b/linkwe-ui/src/utils/common.js index 17539d3b6a779d556fd835a8e77ddd30da57a892..55bfa9bc894cf06ee3e12657e05e0133c42216b7 100644 --- a/linkwe-ui/src/utils/common.js +++ b/linkwe-ui/src/utils/common.js @@ -52,6 +52,19 @@ export function resetForm(refName) { } } +//年月日格式 +export function yearMouthDay(data) { + var time = new Date(data); + var year = time.getFullYear(); + var month = time.getMonth()+1; + var date = time.getDate(); + console.log(year+'-'+add0(month)+'-'+add0(date)) + return year+'-'+add0(month)+'-'+add0(date) + +} +function add0(m){return m<10?'0'+m:m } + + // 添加日期范围 export function addDateRange(params, dateRange) { var search = params; diff --git a/linkwe-ui/src/views/conversation/component/chat.vue b/linkwe-ui/src/views/conversation/component/chat.vue new file mode 100644 index 0000000000000000000000000000000000000000..c1fa74723022fadd2834352e0f213be6159d8c69 --- /dev/null +++ b/linkwe-ui/src/views/conversation/component/chat.vue @@ -0,0 +1,152 @@ + + + + \ No newline at end of file diff --git a/linkwe-ui/src/views/conversation/component/curList.vue b/linkwe-ui/src/views/conversation/component/curList.vue new file mode 100644 index 0000000000000000000000000000000000000000..91b1d7aa23b12313f7917ac9972c243cbfe6d3cb --- /dev/null +++ b/linkwe-ui/src/views/conversation/component/curList.vue @@ -0,0 +1,74 @@ + + + \ No newline at end of file diff --git a/linkwe-ui/src/views/conversation/component/cusChat.vue b/linkwe-ui/src/views/conversation/component/cusChat.vue new file mode 100644 index 0000000000000000000000000000000000000000..c1fa74723022fadd2834352e0f213be6159d8c69 --- /dev/null +++ b/linkwe-ui/src/views/conversation/component/cusChat.vue @@ -0,0 +1,152 @@ + + + + \ No newline at end of file diff --git a/linkwe-ui/src/views/conversation/component/list.vue b/linkwe-ui/src/views/conversation/component/list.vue new file mode 100644 index 0000000000000000000000000000000000000000..aca6430a75fdf3e98427f2dffa3e8f842b0d33a8 --- /dev/null +++ b/linkwe-ui/src/views/conversation/component/list.vue @@ -0,0 +1,75 @@ + + + \ No newline at end of file diff --git a/linkwe-ui/src/views/conversation/content.vue b/linkwe-ui/src/views/conversation/content.vue index a242b8636293aca9a8290d72ca91693206aa98a3..0ce1731072705dd2b277e1f25c89f2da5f53b2be 100644 --- a/linkwe-ui/src/views/conversation/content.vue +++ b/linkwe-ui/src/views/conversation/content.vue @@ -1,17 +1,16 @@ + diff --git a/linkwe-ui/src/views/conversation/page/employeeTest.vue b/linkwe-ui/src/views/conversation/page/employeeTest.vue index c9bedf3f9f1f42879042e77b5510874c80f1f608..4fcf3540f855b57961b83d25fa4076d83b10ddbd 100644 --- a/linkwe-ui/src/views/conversation/page/employeeTest.vue +++ b/linkwe-ui/src/views/conversation/page/employeeTest.vue @@ -10,8 +10,8 @@
- +
@@ -20,139 +20,176 @@
{{talkName}}
- +
- - 暂无联系人 + +
-
- - 暂无联系人 -
+ +
-
- - 暂无联系人 -
+
+
-
下载会话
+
与{{chat.receiveWeCustomer.name}}的聊天 + 下载会话
- +
- +
+ + +
- +
+ + +
- +
- +
- - + + - + + - + + - + + - + +
- +
- +
- +
- - + +
- - - - - - - - - - + + + + + + + + + +
- \ No newline at end of file diff --git a/linkwe-ui/src/views/conversation/page/roleTest.vue b/linkwe-ui/src/views/conversation/page/roleTest.vue index 47b0098f3202c186bbc0e45d975a20c797fbbe1f..8ac439b0cdb6627126d7da2fd4543c66fa3a0757 100644 --- a/linkwe-ui/src/views/conversation/page/roleTest.vue +++ b/linkwe-ui/src/views/conversation/page/roleTest.vue @@ -3,8 +3,8 @@ - - + + @@ -15,14 +15,16 @@ - - + + + - 查询 + 查询 导出列表 @@ -31,36 +33,64 @@
- + + + - - - + + - - + +
\ No newline at end of file diff --git a/linkwe-ui/src/views/conversation/page/userTest.vue b/linkwe-ui/src/views/conversation/page/userTest.vue index 72f5ed173a86d2d749c83a5f6858e0389e665355..a1f85c24cd992125f6ae0d4bf6d38bc6893f8413 100644 --- a/linkwe-ui/src/views/conversation/page/userTest.vue +++ b/linkwe-ui/src/views/conversation/page/userTest.vue @@ -11,12 +11,16 @@
@@ -30,78 +34,113 @@
-
+ +
- -
- 暂无联系人 -
+ +
+ +
- -
- 暂无群聊记录 -
+ + +
-
+
+
-
下载会话
+
与{{chatData.finalChatContext.roomInfo.name}} 的聊天 + 下载会话
- - + +
- +
+ + +
- +
+ + +
- +
- +
- - + - + + - + + - + + - + +
- +
- +
- +
- +
\ No newline at end of file