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 | 135 +++++++++++++++++++++++--------------------- 1 files changed, 71 insertions(+), 64 deletions(-) diff --git a/src/api/AiCentre/Followup.js b/src/api/AiCentre/Followup.js index 4145ce3..b20b35a 100644 --- a/src/api/AiCentre/Followup.js +++ b/src/api/AiCentre/Followup.js @@ -17,78 +17,85 @@ } // 鍒犻櫎闅忚妯℃澘 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 editFollowupclassify(data) { - return request({ - url: "/smartor/templateassort/edit", - 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, - }); - } - // 闂嵎浠诲姟妯℃澘鏂板淇敼 - 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 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", - }); - } +export function getTaskparticty(svyid) { + return request({ + url: "/smartor/ivrTaskTemplate/getInfo/" + svyid, + method: "get", + }); +} -- Gitblit v1.9.3