Ver Fonte

页面刷新

sqg há 4 anos atrás
pai
commit
9721f8ca75

+ 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+"/"});
     },