sqg vor 4 Jahren
Ursprung
Commit
9721f8ca75
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      front-vue/src/views/service/financeProduct/financeProduct.vue

+ 3 - 3
front-vue/src/views/service/financeProduct/financeProduct.vue

@@ -312,20 +312,20 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
-      this.resetForm();
+      this.resetQuery();
       Cookies.set("/financeProduct/addFinanceProduct/", this.$route.fullPath);
       this.$router.push({path:"/financeProduct/addFinanceProduct/"});
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
-      this.resetForm();
       const zfpId = row.zfpId
+      this.resetQuery();
       Cookies.set("/financeProduct/editFinanceProduct/"+zfpId+"/", this.$route.fullPath);
       this.$router.push({path:"/financeProduct/editFinanceProduct/"+zfpId+"/"});
     },/** 修改按钮操作 */
     handleInfo(row) {
-      this.resetForm();
       const zfpId = row.zfpId
+      this.resetQuery();
       Cookies.set("/financeProduct/detailFinanceProduct/"+zfpId+"/", this.$route.fullPath);
       this.$router.push({path:"/financeProduct/detailFinanceProduct/"+zfpId+"/"});
     },