WXL
2024-02-04 cf9259c2ebee0e82c32864a1ee91d96c403b9099
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
import request from "@/utils/request";
 
// 查询宣教任务列表
export function gethetasklist(data) {
  return request({
    url: "/smartor/hetask/getPatHeTaskList",
    method: "post",
    data: data,
  });
}
 
// 删除宣教任务
export function delhetaskinfo(Id) {
    return request({
      url: "/smartor/hetask/remove/" + Id,
      method: "get",
    });
  }
    // 查询宣教任务详情列表
    export function gethetaskinfo(Id) {
    return request({
      url: "/smartor/hetask/getInfo" + Id,
      method: "get",
    });
  }
// 新增模版
export function addhetask(data) {
    return request({
      url: "/smartor/hetask/add",
      method: "post",
      data: data,
    });
  }
//   修改宣教任务
  export function edithetask(data) {
    return request({
      url: "/smartor/hetask/edit",
      method: "post",
      data: data,
    });
  }
  //   获取患者信息
  export function getTaskpatient(data) {
    return request({
      url: "/smartor/hetask/getPatientInfo",
      method: "post",
      data: data,
    });
  }
  // 新增或查询单一任务
  export function Editsingletask(data) {
    return request({
      url: "/smartor/taskcall/insertOrUpdateTask",
      method: "post",
      data: data,
    });
  }