Browse Source

12.1 修复

bding 1 năm trước cách đây
mục cha
commit
de59ff8bf2

+ 1 - 0
src/views/rai_manage/activityManage/components/ThemeSurvey/voteDlg.vue

@@ -170,6 +170,7 @@ export default {
             Content: this.votingForm.describe,
             EndTime: this.votingForm.date,
             ListTheme: this.votingForm.addThemeList,
+            QuestionnaireId: this.rowForm.QuestionnaireId || "",
           });
           if (res.Ret === 200) {
             this.$parent.getDataList();

+ 3 - 3
src/views/rai_manage/activityManage/components/ThemeSurvey/votingResultsDlg.vue

@@ -99,7 +99,7 @@ export default {
     },
     theRemainingThemeDlg: {
       handler(newValue) {
-        newValue && this.getVoteDetail();
+        newValue && this.lookVoteOther();
       },
     },
   },
@@ -144,12 +144,12 @@ export default {
     },
     // 查看其余主题
     async lookVoteOther() {
+      console.log(this.rowForm);
       const res = await raiInterface.questionnaireVote_other({
-        QuestionnaireThemeId: item.QuestionnaireThemeId,
+        QuestionnaireId: this.rowForm.QuestionnaireId,
       });
 
       if (res.Ret === 200) {
-        this.isVoteDetails = true;
         this.$nextTick(() => {
           this.voteOtherList = res.Data.List || [];
         });