reception.js 1019 Bytes
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)
  },
}