WXL
2024-04-18 cd3f1d61e8530ecc50c72a7d223ce640732a2b84
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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/tasksingle/insertOrUpdateTask",
      method: "post",
      data: data,
    });
  }
  // 删除任务并删除关联的患者服务
  export function delTaskInfo(data) {
    return request({
      url: "/smartor/ivrtask/remove/"+id,
      method: "get",
    });
  }
    // 查询任务列表
    export function getTasklist(data) {
      return request({
        url: "/smartor/ivrtask/list",
        method: "post",
        data: data,
      });
    }
    // 查询任务详情
    export function getTaskInfo(data) {
      return request({
        url: "/smartor/tasksingle/queryTaskByCondition",
        method: "post",
        data: data,
      });
    }
    // 查询门诊出院服务列表
    export function getTaskservelist(data) {
      return request({
        url: "/smartor/tasksingle/patItem",
        method: "post",
        data: data,
      });
    }
     // 任务立即执行
     export function GoheTaskSend(data) {
      return request({
        url: "/smartor/tasksingle/heTaskSend",
        method: "post",
        data: data,
      });
    }