From 007d3884ad259883d7a5db6714876e46525ae717 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 26 十一月 2024 14:49:38 +0800
Subject: [PATCH] 测试完成

---
 src/api/AiCentre/external.js |   85 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 81 insertions(+), 4 deletions(-)

diff --git a/src/api/AiCentre/external.js b/src/api/AiCentre/external.js
index 88a6c2d..410edef 100644
--- a/src/api/AiCentre/external.js
+++ b/src/api/AiCentre/external.js
@@ -1,9 +1,86 @@
 import request from "@/utils/request";
 
-// 闅忚妯$増璇︽儏
-export function getExternalfollowup(taskid,patid) {
+// 澶栭摼鑾峰彇闅忚
+export function getExternalfollowup(data) {
   return request({
-    url: "/smartor/ivrtask/getScriptInfoByCondition/" + taskid+'/'+patid,
-    method: "get",
+    url: "/smartor/servicetask/getScriptInfoByCondition",
+    // url: "/servicetask/getScriptInfoByCondition",
+    method: "post",
+    data: data
+  });
+}
+// 鍒犻櫎閫氱敤妯℃澘s
+export function geturlinfo(id) {
+  return request({
+    url: "/smartor/outPath/getInfoByParam",
+    method: 'post',
+    params: {param:id}
+  });
+}
+// 鎻愪氦銆侀殢璁�
+export function SetsaveQuestionAnswer(data) {
+  return request({
+    // url: "/ivrtaskcalldetail/saveQuestionAnswer",
+    url: "/smartor/serviceSubtask/saveQuestionAnswer",
+    method: "post",
+    data: data
+  });
+}
+
+// 缂撳瓨闂嵎
+export function Cachequestionnaire(data) {
+  return request({
+    url: "/smartor/subtaskAnswer/saveQuestionCache",
+    method: "post",
+    data: data
+  });
+}
+// 鎷跨紦瀛橀棶鍗�
+export function getCachequestionnaire(data) {
+  return request({
+    url: "/smartor/subtaskAnswer/getQuestionCache",
+    method: "post",
+    data: data
+  });
+}
+// 鎻愪氦闂嵎
+export function Submitaquestionnaire(data) {
+  return request({
+    url: "/smartor/subtaskAnswer/saveQuestionAnswer",
+    method: "post",
+    data: data
+  });
+}
+
+// 鎻愪氦闂嵎
+export function getsearchrResult(data) {
+  return request({
+    url: "/subtaskAnswer/selectPatQuestionResult",
+    method: "post",
+    data: data
+  });
+}
+// 鑾峰彇闂嵎锛堝唴锛�
+export function getsearchrResults(data) {
+  return request({
+    url: "/smartor/subtaskAnswer/selectPatQuestionResult",
+    method: "post",
+    data: data
+  });
+}
+// 鑾峰彇璇煶鏈嶅姟锛堝唴锛�
+export function getPersonVoices(data) {
+  return request({
+    url: "/smartor/smartor/serviceSubtaskDetail/getPersonVoice",
+    method: "post",
+    data: data
+  });
+}
+// 鑾峰彇璇煶鏈嶅姟锛堝唴锛�
+export function updatePersonVoices(data) {
+  return request({
+    url: "/smartor/serviceSubtaskDetail/batchEdit",
+    method: "post",
+    data: data
   });
 }

--
Gitblit v1.9.3