import request from '@/common/request.js'

export function getSelectList(data) { // 获取下拉列表数据
  return request({
    url: '/product/getList',
    method: 'get',
	data
  })
}

export function getDetailInfo(data) { // 获取测量记录详情
console.log('data', data)
  return request({
    url: '/product/getExpectedDepth',
    method: 'get',
	data
  })
}

export function saveData(data) { // 保存测量记录
  return request({
    url: '/records/add',
    method: 'post',
	data
  })
}

export function getDict(data) { // 获取装药字典
  return request({
    url: '/system/dict/data/type/'+data.type,
    method: 'get',
  })
}



