From 9ff0d92f9e7a58c405ef64e028cc7baf90d5f378 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 10:51:25 +0800
Subject: [PATCH] 测试完成

---
 src/api/AiCentre/external.js |   47 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 41 insertions(+), 6 deletions(-)

diff --git a/src/api/AiCentre/external.js b/src/api/AiCentre/external.js
index 39afd8d..b0d1cb3 100644
--- a/src/api/AiCentre/external.js
+++ b/src/api/AiCentre/external.js
@@ -1,19 +1,54 @@
 import request from "@/utils/request";
 
-// 澶栭摼鑾峰彇闅忚鎴栭棶鍗疯鎯�
+// 澶栭摼鑾峰彇闅忚
 export function getExternalfollowup(data) {
   return request({
-    url: "/smartor/servicetask/getScriptInfoByCondition",
-    // url: "/smartor/servicetask/getScriptInfoByCondition",
+    url: "/servicetask/getScriptInfoByCondition",
+    // url: "/servicetask/getScriptInfoByCondition",
     method: "post",
     data: data
   });
 }
-// 鎻愪氦闂嵎銆侀殢璁�
+// 鎻愪氦銆侀殢璁�
 export function SetsaveQuestionAnswer(data) {
   return request({
-    // url: "/smartor/ivrtaskcalldetail/saveQuestionAnswer",
-    url: "/smartor/serviceSubtask/saveQuestionAnswer",
+    // url: "/ivrtaskcalldetail/saveQuestionAnswer",
+    url: "/serviceSubtask/saveQuestionAnswer",
+    method: "post",
+    data: data
+  });
+}
+
+
+// 缂撳瓨闂嵎
+export function Cachequestionnaire(data) {
+  return request({
+    url: "/subtaskAnswer/saveQuestionCache",
+    method: "post",
+    data: data
+  });
+}
+// 鎷跨紦瀛橀棶鍗�
+export function getCachequestionnaire(data) {
+  return request({
+    url: "/subtaskAnswer/getQuestionCache",
+    method: "post",
+    data: data
+  });
+}
+// 鎻愪氦闂嵎
+export function Submitaquestionnaire(data) {
+  return request({
+    url: "/subtaskAnswer/saveQuestionAnswer",
+    method: "post",
+    data: data
+  });
+}
+
+// 鎻愪氦闂嵎
+export function getsearchrResult(data) {
+  return request({
+    url: "/smartor/subtaskAnswer/selectPatQuestionResult",
     method: "post",
     data: data
   });

--
Gitblit v1.9.3