From 288037efeaff22d37f461c2286573ce94f2766b4 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Wed, 20 Mar 2024 16:31:24 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=AF=84=E4=BC=B0=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ballot/BallotPage.vue | 1 + src/views/survey/SurveyDetail.vue | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/ballot/BallotPage.vue b/src/views/ballot/BallotPage.vue index 768f71c..02f072c 100644 --- a/src/views/ballot/BallotPage.vue +++ b/src/views/ballot/BallotPage.vue @@ -261,6 +261,7 @@ const submitVote = () => { type: btype, // 1 项目 2 路径图 voteId: dataInfo.value.id, voteName: dataInfo.value.voteName, + studentId: userInfo.value.userId }; useRequest(VOTE_DETAIL_SUBMIT, obj); // 增加参与数目 diff --git a/src/views/survey/SurveyDetail.vue b/src/views/survey/SurveyDetail.vue index 45f8f6c..dfd51d0 100644 --- a/src/views/survey/SurveyDetail.vue +++ b/src/views/survey/SurveyDetail.vue @@ -34,7 +34,7 @@
-
+
项目名称:{{ data.projectInfoList[0].projectName }}
开课名称:{{ data.projectInfoList[0].courseName }}
培训讲师:{{ data.projectInfoList.map(item => item.teacherName).join(',') }}
@@ -280,6 +280,7 @@ function orderArr(a, b) { return arrs; } onMounted(() => { +console.log(data.value,'aaaa') if(isSubmitTrue==true){ open(); return From 83b889b26964552f97d419132d8de356f1608919 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 21 Mar 2024 10:00:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ballot/BallotPage.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/ballot/BallotPage.vue b/src/views/ballot/BallotPage.vue index 02f072c..6bb7525 100644 --- a/src/views/ballot/BallotPage.vue +++ b/src/views/ballot/BallotPage.vue @@ -261,7 +261,8 @@ const submitVote = () => { type: btype, // 1 项目 2 路径图 voteId: dataInfo.value.id, voteName: dataInfo.value.voteName, - studentId: userInfo.value.userId + studentId: userInfo.value.userId, + studentName: userInfo.value.realName, }; useRequest(VOTE_DETAIL_SUBMIT, obj); // 增加参与数目