WXL
2025-03-27 2daa54cc53396fb5f5b64a6b0a5b5c814b2bae2d
src/api/patient/homepage.js
@@ -17,10 +17,11 @@
    data: data
  })
};
// 修改患者档案
export function alterpatient(data) {
  return request({
    url: '/smartor/patarchive/edit',
    url: '/smartor/patarchive/saveOrUpdatePatInfo',
    method: 'post',
    data: data
  })
@@ -28,15 +29,23 @@
// 新增患者
export function addpatient(data) {
  return request({
    url: '/smartor/patarchive',
    url: '/smartor/patarchive/add',
    method: 'post',
    data: data
  })
};
// 患者详情
export function particularpatient(userId) {
  return request({
    url: '/smartor/patarchive/getInfo/' + userId,
    method: 'get',
  })
};
// 患者门诊详情
export function Patientclinic(userId) {
  return request({
    url: 'patouthosp/selectPatMedOuthospList' + userId,
    method: 'get',
  })
};
@@ -71,6 +80,7 @@
    data: data
  })
};
// 病史列表
export function getmedicalhistory(data) {
  return request({
@@ -127,3 +137,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',
  })
};