WXL
2024-06-01 48f86b37392f856f322fad02fc97c6e58a2e9719
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
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,
      });
    }
 
    // 获取任务模版详情
  export function TaskTemplategetinfo(id) {
    return request({
      url: "/smartor/ivrTaskTemplate/getInfo/"+id,
      method: "get",
    });
  }
   // 任务模版新增修改
   export function TaskTemplatecomit(data) {
    return request({
      url: "/smartor/ivrTaskTemplate/saveOrUpdateTempScript",
      method: "post",
      data: data,
    });
  }
  // 任务发送,执行
  export function TaskTemplateSendExecution(data) {
    return request({
      url: "/smartor/tasksingle/taskSend",
      method: "post",
      data: data,
    });
  }