WXL
9 天以前 98b9fdc80abc60b5e57370328ea51cf06365bab0
src/api/smartor/patouthosp.js
@@ -1,44 +1,66 @@
import request from '@/utils/request'
import request from "@/utils/request";
// 查询患者门诊记录列表
export function listPatouthosp(query) {
  return request({
    url: '/smartor/patouthosp/selectPatMedOuthospList',
    method: 'post',
    data: query
  })
    url: "/smartor/patouthosp/selectPatMedOuthospList",
    method: "post",
    data: query,
  });
}
// 查询患者门诊记录详细
export function getPatouthosp(id) {
  return request({
    url: '/smartor/patouthosp/' + id,
    method: 'get'
  })
    url: "/smartor/patouthosp/" + id,
    method: "get",
  });
}
// 新增患者门诊记录
export function addPatouthosp(data) {
  return request({
    url: '/smartor/patouthosp',
    method: 'post',
    data: data
  })
    url: "/smartor/patouthosp",
    method: "post",
    data: data,
  });
}
// 修改患者门诊记录
export function updatePatouthosp(data) {
  return request({
    url: '/smartor/patouthosp/edit',
    method: 'post',
    data: data
  })
    url: "/smartor/patouthosp/edit",
    method: "post",
    data: data,
  });
}
// 删除患者门诊记录
export function delPatouthosp(id) {
  return request({
    url: '/smartor/patouthosp/remove/' + id,
    method: 'get'
  })
    url: "/smartor/patouthosp/remove/" + id,
    method: "get",
  });
}
// 查询新生儿数据
export function newborninfo(id) {
  return request({
    url: "/smartor/growth/getInfo/" + id,
    method: "get",
  });
}
export function newborninfolist(data) {
  return request({
    url: "/smartor/growth/dateLine",
    method: "post",
    data: data,
  });
}
export function newborninfoadd(data) {
  return request({
    url: "/smartor/growth/add",
    method: "post",
    data: data,
  });
}