| | |
| | | import request from "@/utils/request"; |
| | | |
| | | // 随访模版详情 |
| | | export function getExternalfollowup(taskid,patid) { |
| | | export function getExternalfollowup(data) { |
| | | return request({ |
| | | url: "/smartor/ivrtask/getScriptInfoByCondition/" + taskid+'/'+patid, |
| | | method: "get", |
| | | url: "/smartor/ivrtask/getScriptInfoByCondition", |
| | | method: "post", |
| | | data: data |
| | | }); |
| | | } |
| | |
| | | this.patid = patid; |
| | | this.$modal.msgSuccess("用户id为" + this.patid); |
| | | this.$modal.msgSuccess("任务id为" + this.taskid); |
| | | getExternalfollowup(this.taskid, this.patid).then((res) => { |
| | | getExternalfollowup({ param1: this.taskid, param2: this.patid }).then( |
| | | (res) => { |
| | | if (res.code == 200) { |
| | | this.questionList = res.rows; |
| | | } |
| | | }); |
| | | } |
| | | ); |
| | | }, |
| | | // 加密函数 |
| | | encryptData(data, publicKey) { |