orderApproval.js 749 Bytes
const url = '/rop-dj-car-boutique/router'

export default {
  /** 获取订单待审核详情 */
  getOrderApplyDetail(data = {}) {
    data.method = 'dj.api.smartcarlife.goodsOrderApplyRecord.detail.select'
    return window.$HTTP({
      url,
      data,
      returnAll: true
    })
  },
  /** 订单申请审核 */
  auditOrderApply(data = {}) {
    data.method = 'dj.api.smartcarlife.goodsOrderApplyRecord.h5.audit.update'
    return window.$HTTP({
      url,
      data,
      returnAll: true
    })
  },
  // 根据手机号查询员工信息,入参:phone
  getStaffInfoByPhone(data = {}) {
    data.method = 'dj.api.smartcarlife.query.staffInfoByPhone'
    return window.$HTTP({
      url,
      data,
      returnAll: true
    })
  }
}