reception.js
1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import http from '../request/http'
module.exports = {
/**
*
* 获取复盘数据
*/
getReceptionList(data) {
return http.gscPost('check/api/findCheckFinishList', data)
},
/**获取复盘质检列表 */
getReceptionBatchIdList(data) {
return http.gscPost('check/api/findChecklist', data)
},
/**
* 质检列表或者侧边栏(新质检)
*/
getReceptionDetail(data) {
return http.gscPost('check/api/findCheckResultByBatchId', data)
},
/**
*查询对话内容
*/
findConversationDetailByBatchId(data) {
return http.gscPost('check/api/findConversationDetailByBatchId', data)
},
/**获取智能体 */
getAiagent(data = {}) {
return http.post({
method: 'dj.pad.api.aiagent.get.special.agent',
projectName: 'pad',
...data
}, false, 'dj')
},
/**
* 添加埋点
*
*/
addCustomerDynamicRecord(data = {}) {
if (data.customerOpenId) return http.gscPost('agentdynamicrecord/api/addCustomerDynamicRecord', data)
},
}