Browse Source

提交车队工厂

caojunjie 3 năm trước cách đây
mục cha
commit
b82aac8a70

+ 2 - 5
src/views/basicData/factoryInformation/factoryInformation/detailsPageEdit.vue

@@ -932,11 +932,8 @@ export default {
                 type: "success",
                 message: this.form.id ? "修改成功!" : "新增成功!"
               });
-              this.$router.$avueRouter.closeTag();
-              this.$router.push({
-                path: "/basicData/factoryInformation/factoryInformation/index",
-                query: {}
-              });
+              this.form = res.data.data
+              this.disabled = false;
             }
           });
         } else {

+ 2 - 1
src/views/basicData/fleetInformation/detailsPageEdit.vue

@@ -962,7 +962,8 @@ export default {
                 type: "success",
                 message: this.form.id ? "修改成功!" : "新增成功!"
               });
-              this.$emit("goBack");
+              this.form = res.data.data
+              this.disabled = false;
             }
           });
         } else {