guhongwei 4 år sedan
förälder
incheckning
48d3216943
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/views/question/question.vue

+ 1 - 1
src/views/question/question.vue

@@ -96,7 +96,7 @@ export default {
         answer ? (answer = JSON.stringify(answer)) : '';
         return { answer, questionid };
       });
-      let object = { termid, batchid, classid, studentid, planid: this.user.userid0, questionnaireid: this.id, answers };
+      let object = { termid, batchid, classid, studentid, planid: this.user.planid, questionnaireid: this.id, answers };
       let res;
       if (!answerid) {
         res = await this.sendAnswer(object);