groupCustomer.js 783 Bytes
// const url = 'http://192.168.3.191:8064/rop-scrm-entmicro/router'
const url = '/rop-scrm-entmicro/router'
const recordUrl = '/rop-scrm-shopmall/router'

export default {
  /**消息盒子-好友列表 */
  getCustomerList(data = {}) {
    data.method = 'entmicro.api.dracScrmWork.findWorkDetail'
    return window.$HTTP({
      url,
      data
    })
  },
  //用来判断是否待通过状态
  updateCustomerWork(data = {}) {
    data.method = 'entmicro.api.dracScrmWork.updateCustomerWork'
    return window.$HTTP({
      url,
      data
    })
  },
  //客户动态记录列表
  getcustomerRecordList(data = {}) {
    data.method = 'scrm.api.shopmall.customer.dynamic.record.list'
    return window.$HTTP({
      url: recordUrl,
      data,
      returnAll: true
    })
  }
}