yxh
2023-08-24 b734890015ea3b6870969e7bc6637a2481ed4bd9
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";//处理字符串,und,null转换为'';
 
// 查询患者列表
// export function listpatient(query) {
//   return request({
//     url: '/smartor/patarchive/list',
//     method: 'get',
//     params: query
//   })
// };
// 用户信息查询患者列表
export function messagelistpatient(data) {
  return request({
    url: '/smartor/patarchive/patInfoByContion',
    method: 'post',
    data: data
  })
};
// 修改患者档案
export function alterpatient(data) {
  return request({
    url: '/smartor/patarchive',
    method: 'put',
    data: data
  })
};
// 新增患者
export function addpatient(data) {
  return request({
    url: '/smartor/patarchive',
    method: 'post',
    data: data
  })
};
// 患者详情
export function particularpatient(userId) {
  return request({
    url: '/smartor/patarchive/' + userId,
    method: 'get',
  })
};
// 删除患者列表
export function deletepatient(userId) {
  return request({
    url: '/smartor/patarchive/' + userId,
    method: 'delete',
  })
};
 
// 导出患者错误信息
export function Exporterrorpatient(userId) {
  return request({
    url: '/smartor/patarchive/patTagByContion/'+userId,
    method: 'get',
  })
};
// 导入患者文件处理
export function toleadpatient(userId) {
  return request({
    url: '/smartor/patarchive/patTagByContion/'+userId,
    method: 'get',
  })
};