WXL
2024-12-16 5dc9d1b98ea27422dbea14857dad5c7367eaedfe
src/api/patient/homepage.js
@@ -29,7 +29,7 @@
// 新增患者
export function addpatient(data) {
  return request({
    url: '/smartor/patarchive',
    url: '/smartor/patarchive/add',
    method: 'post',
    data: data
  })
@@ -136,3 +136,41 @@
    method: 'get',
  })
};
// 患者过滤列表
export function listfiltration(data) {
  return request({
    url: '/smartor/filterlist/list',
    method: 'get',
    params:data
  })
};
// 删除患者过滤
export function delfiltration(userId) {
  return request({
    url: '/smartor/filterlist/remove/'+userId,
    method: 'get',
  })
};
// 修改过滤患者
export function editfiltration(data) {
  return request({
    url: '/smartor/filterlist/edit',
    method: 'post',
    data:data
  })
};
// 修改过滤患者
export function addfiltration(data) {
  return request({
    url: '/smartor/filterlist/add',
    method: 'post',
    data:data
  })
};
// 查询过滤患者详情
export function infofiltration(userId) {
  return request({
    url: '/smartor/filterlist/getInfo/'+userId,
    method: 'get',
  })
};