Kaynağa Gözat

页面刷新优化

sqg 4 yıl önce
ebeveyn
işleme
39ecfea320

+ 3 - 0
front-vue/src/views/service/bill/bill.vue

@@ -339,16 +339,19 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd(row) {
+      this.resetQuery();
       Cookies.set("/bill/billAdd", this.$route.fullPath)
       this.$router.push({ path: "/bill/billAdd" });
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
+      this.resetQuery();
       Cookies.set("/bill/billEdit/" + row.zbiId, this.$route.fullPath)
       this.$router.push({ path: "/bill/billEdit/" + row.zbiId });
     },
     /** 详情按钮操作 */
     handleDetail(row) {
+      this.resetQuery();
       Cookies.set("/bill/billDetail/" + row.zbiId, this.$route.fullPath)
       this.$router.push({ path: "/bill/billDetail/" + row.zbiId });
     },

+ 2 - 1
front-vue/src/views/service/company/coreCompanyManage.vue

@@ -448,6 +448,7 @@ export default {
 
     /* 企业详情 */
     handleDetail(row) {
+      this.reset();
       this.resetQuery();
       let scyId = row.scyId || this.ids;
       let scyAuthStatus = row.scyAuthStatus || this.ids;
@@ -584,7 +585,7 @@ export default {
           if(c == "cancel"){
           this.$message({
             type: "warning",
-            message: "已取消冻结",
+            message: "已取消删除",
            
           });
           }

+ 2 - 0
front-vue/src/views/service/company/supCompanyManage.vue

@@ -411,6 +411,7 @@ export default {
     },
     /* 企业详情 */
     handleDetail(row) {
+      this.reset();
       this.resetQuery();
       let scyId = row.scyId || this.ids;
       let scyAuthStatus = row.scyAuthStatus || this.ids;
@@ -479,6 +480,7 @@ export default {
 
     //四要素审核
     handleExamine(row){
+      this.reset();
       this.resetQuery();
       const scyId = row.scyId || this.ids;
       Cookies.set("/company/detailComPanyExam/" + scyId + '/', this.$route.fullPath)

+ 3 - 0
front-vue/src/views/service/contract/contract.vue

@@ -265,18 +265,21 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      this.resetQuery();
       Cookies.set("/contract/addContract/", this.$route.fullPath);
       this.$router.push({path:"/contract/addContract/"});
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
       const zfcId = row.zfcId
+      this.resetQuery();
       Cookies.set("/contract/editContract/"+zfcId+"/", this.$route.fullPath);
       this.$router.push({path:"/contract/editContract/"+zfcId+"/"});
     },
     /** 详情按钮操作 */
     handleInfo(row) {
       const zfcId = row.zfcId
+      this.resetQuery();
       Cookies.set("/contract/detailContract/"+zfcId+"/", this.$route.fullPath);
       this.$router.push({path:"/contract/detailContract/"+zfcId+"/"});
     },

+ 4 - 0
front-vue/src/views/service/creditLine/creditLine.vue

@@ -521,6 +521,7 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd() {
+      this.resetQuery();
       Cookies.set("/creditLine/addCreditLine/", this.$route.fullPath)
       this.$router.push("/creditLine/addCreditLine/");
     },
@@ -529,6 +530,7 @@ export default {
       const zfpcrId = row.zfpcrId || this.ids;
       const zfiAmount = row.zfiAmount;
       const usableAmount = row.usableAmount;
+      this.resetQuery();
       Cookies.set("/creditLine/editCreditLine/" + zfpcrId + '/' + zfiAmount + '/' + usableAmount + '/', this.$route.fullPath)
       this.$router.push("/creditLine/editCreditLine/" + zfpcrId + '/' + zfiAmount + '/' + usableAmount + '/');
     },
@@ -537,6 +539,7 @@ export default {
       const zfpcrId = row.zfpcrId || this.ids;
       const zfiAmount = row.zfiAmount;
       const usableAmount = row.usableAmount;
+      this.resetQuery();
       Cookies.set("/creditLine/detailCreditLine/" + zfpcrId + '/' + zfiAmount + '/' + usableAmount + '/', this.$route.fullPath)
       this.$router.push("/creditLine/detailCreditLine/" + zfpcrId + '/' + zfiAmount + '/' + usableAmount + '/',);
     },
@@ -565,6 +568,7 @@ export default {
     handleSupplier(row){
       const zfpcrId = row.zfpcrId || this.ids;
       const zfpcrCompanyId = row.zfpcrCompanyId;
+      this.resetQuery();
       Cookies.set("/creditLine/supplierCreditLine/" + zfpcrId + '/' + zfpcrCompanyId, this.$route.fullPath)
       this.$router.push("/creditLine/supplierCreditLine/" + zfpcrId + '/' + zfpcrCompanyId);
     },

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

@@ -312,23 +312,25 @@ export default {
     /** 新增按钮操作 */
     handleAdd() {
       this.reset();
+      this.resetForm();
       Cookies.set("/financeProduct/addFinanceProduct/", this.$route.fullPath);
       this.$router.push({path:"/financeProduct/addFinanceProduct/"});
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
+      this.resetForm();
       const zfpId = row.zfpId
       Cookies.set("/financeProduct/editFinanceProduct/"+zfpId+"/", this.$route.fullPath);
       this.$router.push({path:"/financeProduct/editFinanceProduct/"+zfpId+"/"});
     },/** 修改按钮操作 */
     handleInfo(row) {
+      this.resetForm();
       const zfpId = row.zfpId
       Cookies.set("/financeProduct/detailFinanceProduct/"+zfpId+"/", this.$route.fullPath);
       this.$router.push({path:"/financeProduct/detailFinanceProduct/"+zfpId+"/"});
     },
     /** 启用按钮操作 */
      handleChange(row) {
-       
          let text = row.zfpStatus === "00" ? "开启产品" : "停用产品";
             this.$confirm(
                 "确认要" + text + '"' + row.zfpName + '"吗?',

+ 3 - 0
front-vue/src/views/service/financeRecord/financeRecord.vue

@@ -995,6 +995,7 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd() {
+      this.resetQuery();
       Cookies.set("/financeRecord/addFinanceRecord/", this.$route.fullPath);
       this.$router.push("/financeRecord/addFinanceRecord/");
       // this.reset();
@@ -1024,6 +1025,7 @@ export default {
     handleDetail(row) {
       this.reset();
       const zfrId = row.zfrId || this.ids;
+      this.resetQuery();
       Cookies.set(
         "/financeRecord/detailFinanceRecord/" + zfrId,
         this.$route.fullPath
@@ -1033,6 +1035,7 @@ export default {
     //盖章
     seal(row){
         const zfrId = row.zfrId || this.ids
+        this.resetQuery();
         Cookies.set("/financeRecord/recordSeal/"+zfrId + "/", this.$route.fullPath)
         this.$router.push({ path: "/financeRecord/recordSeal/"+zfrId + "/" });
     },

+ 6 - 5
front-vue/src/views/service/invoice/invoice.vue

@@ -303,15 +303,16 @@ export default {
     },
     //文件下载
     handleDownload(row){
+      this.resetQuery();
         const pfiUrl = row.pfiUrl;
         if(pfiUrl != null && pfiUrl != ''){
         window.open(pfiUrl +"/"+ getToken());
         }else{
-            this.$message({
-            message: '该附件不存在!',
-            type: 'warning'
-            });
-            return;
+          this.$message({
+          message: '该附件不存在!',
+          type: 'warning'
+          });
+          return;
         }
     },
     /** 查询收开票信息列表 */

+ 2 - 0
front-vue/src/views/service/rel/companyRelManage.vue

@@ -529,6 +529,8 @@ export default {
     //查询企业详情
     handleCompanyQuery(row){
       this.reset();
+      this.resetQuery();
+      this.resetSpareQuery();
       if(row.receive == true){
       const scyId = row.launchCompanyId;
       listCompanyQuery(scyId).then(response => {

+ 1 - 0
front-vue/src/views/service/repayment/repayment.vue

@@ -540,6 +540,7 @@ export default {
         /** 详情按钮操作 */
         handleInfo(row) {
             const zfrId = row.zfrId;
+            this.resetQuery();
             Cookies.set("/repayment/detailRepayment/"+zfrId+"/", this.$route.fullPath);
             this.$router.push({path:"/repayment/detailRepayment/"+zfrId+"/"});
         },

+ 1 - 0
front-vue/src/views/system/user/index.vue

@@ -1150,6 +1150,7 @@ export default {
     },
     /** 确认变更经办人*/
     confirmHandler(row) {
+      this.resetQuery();
       Cookies.set("/user/detail/" + row.userId, this.$route.fullPath)
       this.$router.push({ path: "/user/detail/" + row.userId });
     },