equit.js 1.19 KB
import http from '../request/http'

module.exports = {
  /** 报价单分页列表 */
  quotationPage(data) {
    return http.post({
      method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page',
      projectName: 'boutique',
      ...data
    })
  },
  /** 根据id查询报价单数据 */
  getQuotationInfo(data) {
    return http.post({
      method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.generate',
      projectName: 'boutique',
      ...data
    })
  },
  /** 查询报价单信息 */
  getQuotationInfoById(data) {
    return http.post({
      method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.find.by.id',
      projectName: 'boutique',
      ...data
    })
  },
  /** 修改车损报价单客户基本信息信息 */
  updateCustomerInfo(data) {
    return http.post({
      method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.customer.base.info.update',
      projectName: 'boutique',
      ...data
    })
  },

  /** 报价单订单分状态统计信息 */
  orderStatistics(data) {
    return http.post({
      method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.order.status.statistics',
      projectName: 'boutique',
      ...data
    })
  }
}