WXL
2024-12-23 ae117f01461f05a0bf249e6f63b636f4222ec8d7
src/api/AiCentre/external.js
@@ -4,18 +4,17 @@
export function getExternalfollowup(data) {
  return request({
    url: "/smartor/servicetask/getScriptInfoByCondition",
    // url: "/smartor/servicetask/getScriptInfoByCondition",
    // url: "/servicetask/getScriptInfoByCondition",
    method: "post",
    data: data
  });
}
// 提交、随访
export function SetsaveQuestionAnswer(data) {
// 删除通用模板s
export function geturlinfo(id) {
  return request({
    // url: "/smartor/ivrtaskcalldetail/saveQuestionAnswer",
    url: "/smartor/serviceSubtask/saveQuestionAnswer",
    method: "post",
    data: data
    url: "/outPath/getInfoByParam",
    method: 'post',
    params: {param:id}
  });
}
@@ -45,11 +44,43 @@
  });
}
// 提交问卷
// 提交问卷(内)
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
  });
}
// 更新语音服务(内)
export function addPersonVoices(data) {
  return request({
    url: "/smartor/serviceSubtaskDetail/batchAdd",
    method: "post",
    data: data
  });
}