Browse Source

解决缺陷

zhulu 2 năm trước cách đây
mục cha
commit
0b962d32dc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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{
             request.planExecOrgIdList = [];
           }
-          if (this.form.id != null) {
+          if (request.id != null) {
             updatePlan(request).then(response => {
               this.$modal.msgSuccess("修改成功");
               this.open = false;
               this.getList();
             });
           } else {
-            addPlan(this.form).then(response => {
+            addPlan(request).then(response => {
               this.$modal.msgSuccess("新增成功");
               this.open = false;
               this.getList();