WXL
2025-04-27 400d13ddc80a7560860939f65b318b2fa78f9004
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";//处理字符串,und,null转换为'';
 
// 查询住院记录列表
export function listpatient(data) {
  return request({
    url: '/smartor/patinhosp/selectPatMedInhospList',
    method: 'post',
    data: data
  })
};
// 住院记录详情
export function particularpatient(userId) {
    return request({
      url: '/smartor/patinhosp/' + userId,
      method: 'get',
    })
  };
  // 新增住院记录
export function addpatient(data) {
    return request({
      url: '/smartor/patinhosp/add',
      method: 'post',
      data: data
    })
  };
  // 删除住院记录
export function deletepatient(userId) {
    return request({
      url: '/smartor/patinhosp/remove/' + userId,
      method: 'get',
    })
  };
  // 查询住院记录列表
export function listoperation(data) {
  return request({
    url: '/smartor/operation/list ',
    method: 'post',
    data: data
  })
};