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){