From bfa86af2154da9e837325e6170d1a73fb2d29756 Mon Sep 17 00:00:00 2001 From: yuping <82253452@qq.com> Date: Sun, 5 Feb 2023 20:17:10 +0800 Subject: [PATCH] -- fix bug --- src/views/ballot/BallotPage.vue | 3 ++- src/views/project/ProjectDetails.vue | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/ballot/BallotPage.vue b/src/views/ballot/BallotPage.vue index 51e92bf..f728667 100644 --- a/src/views/ballot/BallotPage.vue +++ b/src/views/ballot/BallotPage.vue @@ -322,7 +322,8 @@ const submitVote = () => { "courseId": courseId, "studentId": userInfo.value.id, "targetId": infoId, - "type": btype + "type": btype, + taskId: id }).then(res=>{ console.log(res) ElMessage.success("投票成功") diff --git a/src/views/project/ProjectDetails.vue b/src/views/project/ProjectDetails.vue index f9be68f..ad996af 100644 --- a/src/views/project/ProjectDetails.vue +++ b/src/views/project/ProjectDetails.vue @@ -559,6 +559,7 @@ function toFinish(d, sName, chapterOrStageId) { logo: PROJECT, stageOrChapterId: chapterOrStageId, taskId: d.projectTaskId, + taskType: d.type, }); // 此处判断外链跳转详情界面 if(d.type==7){