import request from "@/utils/request";
|
|
// 外链获取随访
|
export function getExternalfollowup(data) {
|
return request({
|
url: "/smartor/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 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/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
|
});
|
}
|