WXL
2024-12-03 294e513504423b4726c36046decc649f272851e0
src/api/AiCentre/external.js
@@ -3,27 +3,34 @@
// 外链获取随访
export function getExternalfollowup(data) {
  return request({
    url: "/smartor/servicetask/getScriptInfoByCondition",
    // url: "/smartor/servicetask/getScriptInfoByCondition",
    url: "/servicetask/getScriptInfoByCondition",
    // url: "/servicetask/getScriptInfoByCondition",
    method: "post",
    data: data
  });
}
// 删除通用模板s
export function geturlinfo(id) {
  return request({
    url: "/outPath/getInfoByParam",
    method: 'post',
    params: {param:id}
  });
}
// 提交、随访
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: "/smartor/subtaskAnswer/saveQuestionCache",
    url: "/subtaskAnswer/saveQuestionCache",
    method: "post",
    data: data
  });
@@ -31,7 +38,7 @@
// 拿缓存问卷
export function getCachequestionnaire(data) {
  return request({
    url: "/smartor/subtaskAnswer/getQuestionCache",
    url: "/subtaskAnswer/getQuestionCache",
    method: "post",
    data: data
  });
@@ -39,7 +46,7 @@
// 提交问卷
export function Submitaquestionnaire(data) {
  return request({
    url: "/smartor/subtaskAnswer/saveQuestionAnswer",
    url: "/subtaskAnswer/saveQuestionAnswer",
    method: "post",
    data: data
  });
@@ -48,8 +55,32 @@
// 提交问卷
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/serviceSubtaskDetail/getPersonVoice",
    method: "post",
    data: data
  });
}
// 更新语音服务(内)
export function updatePersonVoices(data) {
  return request({
    url: "/smartor/serviceSubtaskDetail/batchEdit",
    method: "post",
    data: data
  });
}