From 294e513504423b4726c36046decc649f272851e0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 03 十二月 2024 10:06:10 +0800
Subject: [PATCH] 测试完成

---
 src/api/AiCentre/Followup.js |  115 ++++++++++++++++++++++++++++++++++++++-------------------
 1 files changed, 76 insertions(+), 39 deletions(-)

diff --git a/src/api/AiCentre/Followup.js b/src/api/AiCentre/Followup.js
index 6036c75..b20b35a 100644
--- a/src/api/AiCentre/Followup.js
+++ b/src/api/AiCentre/Followup.js
@@ -1,6 +1,6 @@
 import request from "@/utils/request";
 
-// 鏌ヨ闅忚妯$増鍒楄〃
+// 鏌ヨ闅忚妯℃澘鍒楄〃
 export function getFollowuplist(data) {
   return request({
     url: "/smartor/template/list",
@@ -8,57 +8,94 @@
     data: data,
   });
 }
-// 闅忚妯$増璇︽儏
+// 闅忚妯℃澘璇︽儏
 export function Followupinfo(Id) {
   return request({
     url: "/smartor/template/" + Id,
     method: "get",
   });
 }
-// 鍒犻櫎闅忚妯$増
+// 鍒犻櫎闅忚妯℃澘
 export function delFollowupinfo(Id) {
-    return request({
-      url: "/smartor/template/remove/" + Id,
-      method: "get",
-    });
-  }
-// 鏂板鎴栦慨鏀归殢璁挎ā鐗�
+  return request({
+    url: "/smartor/template/remove/" + Id,
+    method: "get",
+  });
+}
+// 鏂板鎴栦慨鏀归殢璁挎ā鏉�
 export function compileFollowup(data) {
-    return request({
-      url: "/smartor/template/saveOrUpdateScript",
-      method: "post",
-      data: data,
-    });
-  }
-    // 鏌ヨ闅忚妯$増璇︽儏鍒楄〃
+  return request({
+    url: "/smartor/template/saveOrUpdateScript",
+    method: "post",
+    data: data,
+  });
+}
+// 鏌ヨ闅忚妯℃澘璇︽儏鍒楄〃
 export function getvFollowup(data) {
-    return request({
-        url: "/smartor/template/selectInfoByCondition",
-      method: "post",
-      data: data,
-    });
-  }
+  return request({
+    url: "/smartor/template/selectInfoByCondition",
+    method: "post",
+    data: data,
+  });
+}
+export function getTaskFollowup(id) {
+  return request({
+    url: "/smartor/ivrTaskTemplate/getTemplateInfoByID/"+id,
+    method: "get",
+    // data: data,
+  });
+}
 
-  // 鏂板闅忚妯$増鍒嗙被鏍�
-  export function addFollowupclassify(data) {
-    return request({
-      url: "/smartor/templateassort/addtree",
-      method: "post",
-      data: data,
-    });
-  }
-  // 鍒犻櫎闅忚妯$増鍒嗙被
+// 鏂板闅忚妯℃澘鍒嗙被鏍�
+export function addFollowupclassify(data) {
+  return request({
+    url: "/smartor/templateassort/addtree",
+    method: "post",
+    data: data,
+  });
+}
+// 鏂板闅忚妯℃澘鍒嗙被鏍�
+export function editFollowupclassify(data) {
+  return request({
+    url: "/smartor/templateassort/edit",
+    method: "post",
+    data: data,
+  });
+}
+// 鍒犻櫎闅忚妯℃澘鍒嗙被
 export function delFollowupclassify(Id) {
   return request({
     url: "/smartor/templateassort/remove/" + Id,
     method: "get",
   });
 }
-  // 鏌ヨ闅忚妯$増鍒嗙被鏍�
-  export function getFollowupclassify(data) {
-    return request({
-      url: "/smartor/templateassort/selectIvrLibaTemplateAssortList",
-      method: "post",
-      data: data,
-    });
-  }
\ No newline at end of file
+// 鏌ヨ闅忚妯℃澘鍒嗙被鏍�
+export function getFollowupclassify(data) {
+  return request({
+    url: "/smartor/templateassort/selectIvrLibaTemplateAssortList",
+    method: "post",
+    data: data,
+  });
+}
+// 闂嵎浠诲姟妯℃澘鏂板淇敼
+export function Taskparticty(data) {
+  return request({
+    url: "/smartor/ivrTaskTemplate/saveOrUpdateTempScript",
+    method: "post",
+    data: data,
+  });
+}
+// 鍒犻櫎浠诲姟妯℃澘
+export function deleteTaskparticty(svyid) {
+  return request({
+    url: "/smartor/ivrTaskTemplate/remove/" + svyid,
+    method: "get",
+  });
+}
+
+export function getTaskparticty(svyid) {
+  return request({
+    url: "/smartor/ivrTaskTemplate/getInfo/" + svyid,
+    method: "get",
+  });
+}

--
Gitblit v1.9.3