linwenling
2023-10-28 31d4f1af2415091ce8171a48372795c0f1a16e14
ruoyi-ui/src/api/healthy/index.js
@@ -45,6 +45,56 @@
    data: data
  })
}
// 查询历年体检情况
export function listExamination(query) {
  return request({
    url: '/physcial/all',
    method: 'get',
    params: query
  })
}
// // 根据id查询详细信息
export function getExaminationInfo(queryParameters) {
  return request({
    url: '/physcial' ,
    method: 'get',
    params: queryParameters
  })
}
//增加家庭设备
export function addExamination(data)
{
  return request({
    url: '/physcial',
    method: 'post',
    data: data
  })
}
// 删除家庭设备
export function delExamination(Ids) {
  return request({
    url: '/physcial/' + Ids,
    method: 'delete'
  })
}
//修改家庭设备
export function updateExamination(data) {
  return request({
    url: '/physcial',
    method: 'put',
    data: data
  })
}
//上传文件
export function uploadPic(data) {
  return request({
@@ -62,6 +112,7 @@
    responseType: 'blob'
  })
}
//上传文件
export function enload(data) {
  return request({