From 4e6c841dd09baff7fafb0e21fec36ee7faf61588 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 15:01:41 +0800
Subject: [PATCH] 测试完成
---
src/api/AiCentre/external.js | 31 ++++++++++++++++++++++++-------
1 files changed, 24 insertions(+), 7 deletions(-)
diff --git a/src/api/AiCentre/external.js b/src/api/AiCentre/external.js
index d81eb34..aacc838 100644
--- a/src/api/AiCentre/external.js
+++ b/src/api/AiCentre/external.js
@@ -3,8 +3,8 @@
// 澶栭摼鑾峰彇闅忚
export function getExternalfollowup(data) {
return request({
- url: "/smartor/servicetask/getScriptInfoByCondition",
- // url: "/smartor/servicetask/getScriptInfoByCondition",
+ url: "/servicetask/getScriptInfoByCondition",
+ // url: "/servicetask/getScriptInfoByCondition",
method: "post",
data: data
});
@@ -12,8 +12,8 @@
// 鎻愪氦銆侀殢璁�
export function SetsaveQuestionAnswer(data) {
return request({
- // url: "/smartor/ivrtaskcalldetail/saveQuestionAnswer",
- url: "/smartor/serviceSubtask/saveQuestionAnswer",
+ // url: "/ivrtaskcalldetail/saveQuestionAnswer",
+ url: "/serviceSubtask/saveQuestionAnswer",
method: "post",
data: data
});
@@ -23,7 +23,7 @@
// 缂撳瓨闂嵎
export function Cachequestionnaire(data) {
return request({
- url: "/smartor/subtaskAnswer/saveQuestionCache",
+ url: "/subtaskAnswer/saveQuestionCache",
method: "post",
data: data
});
@@ -31,7 +31,7 @@
// 鎷跨紦瀛橀棶鍗�
export function getCachequestionnaire(data) {
return request({
- url: "/smartor/subtaskAnswer/getQuestionCache",
+ url: "/subtaskAnswer/getQuestionCache",
method: "post",
data: data
});
@@ -39,7 +39,24 @@
// 鎻愪氦闂嵎
export function Submitaquestionnaire(data) {
return request({
- url: "/smartor/subtaskAnswer/saveQuestionAnswer",
+ url: "/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
});
--
Gitblit v1.9.3