import axios from '@/libs/axios.js'

// VIN分析 - 分页列表数据
export const queryPage = (params) => {
  const url = `vinLog/queryPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios.request({
    url: url,
    data: params,
    method: 'post'
  })
}
// VIN分析 - 详情
export const queryDetail = (params) => {
  const url = `vinLog/queryScanVinLogDetail`
  return axios.request({
    url: url,
    data: params,
    method: 'post'
  })
}

// 适配产品统计 - 分页数据
export const reportPage = (params) => {
  const url = `vinFitReport/reportPage/${params.pageNo}/${params.pageSize}`
  delete params.pageNo
  delete params.pageSize
  return axios.request({
    url: url,
    data: params,
    method: 'post'
  })
}