Browse Source

解决缺陷

zhulu 2 years ago
parent
commit
0b962d32dc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/core/edu/plan/index.vue

+ 2 - 2
src/views/core/edu/plan/index.vue

@@ -524,14 +524,14 @@ export default {
           else{
           else{
             request.planExecOrgIdList = [];
             request.planExecOrgIdList = [];
           }
           }
-          if (this.form.id != null) {
+          if (request.id != null) {
             updatePlan(request).then(response => {
             updatePlan(request).then(response => {
               this.$modal.msgSuccess("修改成功");
               this.$modal.msgSuccess("修改成功");
               this.open = false;
               this.open = false;
               this.getList();
               this.getList();
             });
             });
           } else {
           } else {
-            addPlan(this.form).then(response => {
+            addPlan(request).then(response => {
               this.$modal.msgSuccess("新增成功");
               this.$modal.msgSuccess("新增成功");
               this.open = false;
               this.open = false;
               this.getList();
               this.getList();