|  |  | 
 |  |  | import request from "@/utils/request"; | 
 |  |  |  | 
 |  |  | // 查询随访模版列表 | 
 |  |  | // 查询随访模板列表 | 
 |  |  | export function getFollowuplist(data) { | 
 |  |  |   return request({ | 
 |  |  |     url: "/smartor/template/list", | 
 |  |  | 
 |  |  |     data: data, | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  | // 随访模版详情 | 
 |  |  | // 随访模板详情 | 
 |  |  | export function Followupinfo(Id) { | 
 |  |  |   return request({ | 
 |  |  |     url: "/smartor/template/" + Id, | 
 |  |  |     method: "get", | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  | // 删除随访模版 | 
 |  |  | // 删除随访模板 | 
 |  |  | 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 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", | 
 |  |  |   }); | 
 |  |  | } |