lrf402788946 4 years ago
parent
commit
138e1ade6f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/user/experience.vue

+ 2 - 2
src/views/user/experience.vue

@@ -71,7 +71,7 @@ export default {
       if (_.get(duplicate, '_id')) {
         res = await this.update(duplicate);
       } else {
-        const { termid, batchid, classid, userid } = this.user;
+        const { termid, batchid, classid, userid, planid } = this.user;
         if (!termid) {
           this.$notify({ type: 'danger', message: '学生缺少期信息' });
           return;
@@ -88,7 +88,7 @@ export default {
           this.$notify({ type: 'danger', message: '缺少学生信息' });
           return;
         }
-        duplicate = { ...duplicate, termid, batchid, classid, studentid: userid };
+        duplicate = { ...duplicate, termid, batchid, classid, studentid: userid, planid };
         res = await this.create(duplicate);
       }
       msg.clear();