From 711c995d7307b4a2d56e55095e3f81ffbdfc4d39 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 05 六月 2024 11:08:10 +0800 Subject: [PATCH] 测试完成 --- src/views/outsideChain.vue | 10 ++++++---- src/api/AiCentre/external.js | 7 ++++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/api/AiCentre/external.js b/src/api/AiCentre/external.js index 88a6c2d..91bb725 100644 --- a/src/api/AiCentre/external.js +++ b/src/api/AiCentre/external.js @@ -1,9 +1,10 @@ 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 }); } diff --git a/src/views/outsideChain.vue b/src/views/outsideChain.vue index bb8da8e..e0e1b44 100644 --- a/src/views/outsideChain.vue +++ b/src/views/outsideChain.vue @@ -83,11 +83,13 @@ this.patid = patid; this.$modal.msgSuccess("鐢ㄦ埛id涓�" + this.patid); this.$modal.msgSuccess("浠诲姟id涓�" + this.taskid); - getExternalfollowup(this.taskid, this.patid).then((res) => { - if (res.code == 200) { - this.questionList = res.rows; + getExternalfollowup({ param1: this.taskid, param2: this.patid }).then( + (res) => { + if (res.code == 200) { + this.questionList = res.rows; + } } - }); + ); }, // 鍔犲瘑鍑芥暟 encryptData(data, publicKey) { -- Gitblit v1.9.3