import request from "@/utils/request";
|
|
// 外链获取随访
|
export function getExternalfollowup(data) {
|
return request({
|
url: "/servicetask/getScriptInfoByCondition",
|
// url: "/servicetask/getScriptInfoByCondition",
|
method: "post",
|
data: data
|
});
|
}
|
// 删除通用模板
|
export function geturlinfo(id) {
|
return request({
|
url: "/outPath/getInfoByParam",
|
method: 'post',
|
data: {param:id}
|
});
|
}
|
// 提交、随访
|
export function SetsaveQuestionAnswer(data) {
|
return request({
|
// url: "/ivrtaskcalldetail/saveQuestionAnswer",
|
url: "/serviceSubtask/saveQuestionAnswer",
|
method: "post",
|
data: data
|
});
|
}
|
|
// 缓存问卷
|
export function Cachequestionnaire(data) {
|
return request({
|
url: "/subtaskAnswer/saveQuestionCache",
|
method: "post",
|
data: data
|
});
|
}
|
// 拿缓存问卷
|
export function getCachequestionnaire(data) {
|
return request({
|
url: "/subtaskAnswer/getQuestionCache",
|
method: "post",
|
data: data
|
});
|
}
|
// 提交问卷
|
export function Submitaquestionnaire(data) {
|
return request({
|
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
|
});
|
}
|