WXL (wul)
4 天以前 bc9538a9e071259ca8bbb6de52c60c9d7a55a03b
src/api/smartor/patouthosp.js
@@ -3,9 +3,20 @@
// 查询患者门诊记录列表
export function listPatouthosp(query) {
  return request({
    url: '/smartor/patouthosp/list',
    method: 'get',
    params: query
    url: '/smartor/patouthosp/selectPatMedOuthospList',
    method: 'post',
    data: query
  })
}
// 查询待入院记录列表
export function listPatMedInhosp(query) {
  const data = { ...query };
  // bedSort 不传即不按床号排序
  if (data.bedSort == null || data.bedSort === "") delete data.bedSort;
  return request({
    url: '/smartor/patinhosp/selectPatMedInhospList',
    method: 'post',
    data: data
  })
}
@@ -29,8 +40,8 @@
// 修改患者门诊记录
export function updatePatouthosp(data) {
  return request({
    url: '/smartor/patouthosp',
    method: 'put',
    url: '/smartor/patouthosp/edit',
    method: 'post',
    data: data
  })
}
@@ -38,7 +49,7 @@
// 删除患者门诊记录
export function delPatouthosp(id) {
  return request({
    url: '/smartor/patouthosp/' + id,
    method: 'delete'
    url: '/smartor/patouthosp/remove/' + id,
    method: 'get'
  })
}