sqg 3 rokov pred
rodič
commit
fd783f51b8

+ 8 - 8
front-vue/src/views/service/cost/costManage.vue

@@ -742,8 +742,8 @@ export default {
             invoicing(self.form).then(response => {
               this.msgSuccess("修改成功");
               this.open = false;
-              this.getList();
-              this.getInvoice();
+              this.resetQuery();
+              this.resetInvoiceQuery();
             });
             loading.close();
           }
@@ -828,8 +828,8 @@ export default {
             invoicing(self.formInvoice).then(response => {
               this.msgSuccess("开票成功");
               this.openInvoice = false;
-              this.getList();
-              this.getInvoice();
+              this.resetQuery();
+              this.resetInvoiceQuery();
             });
             loading.close();
           }
@@ -890,8 +890,8 @@ export default {
             invoicing(self.formFlush).then(response => {
               this.msgSuccess("冲红成功");
               this.openFlush = false;
-              this.getList();
-              this.getInvoice();
+              this.resetQuery();
+              this.resetInvoiceQuery();
             });
             loading.close();
           }
@@ -902,7 +902,7 @@ export default {
     
     /** 导出按钮操作 */
     handleExport() {
-      this.getList();
+      // this.getList();
       const loading = this.$loading({
         lock: true,
         text: 'Loading',
@@ -919,7 +919,7 @@ export default {
 
     /** 导出按钮操作 */
     handleExportInvoice() {
-      this.getList();
+      // this.getList();
       const loading = this.$loading({
         lock: true,
         text: 'Loading',

+ 2 - 2
front-vue/src/views/service/cost/userCostManage.vue

@@ -561,7 +561,7 @@ export default {
               this.msgSuccess("申请成功");
               loading.close();
               this.openApply = false;
-              this.getList();
+              this.resetQuery();
             }).catch((response) => {
                 loading.close();
             });
@@ -573,7 +573,7 @@ export default {
     
     /** 导出按钮操作 */
     handleExport() {
-      this.getList();
+      // this.getList();
       const loading = this.$loading({
         lock: true,
         text: 'Loading',

+ 102 - 44
front-vue/src/views/service/credit/credit.vue

@@ -2391,6 +2391,12 @@ export default {
     },
     /** 新增按钮操作 */
     handleAdd() {
+        this.resetQuery();
+        this.resetQuerySign();
+        this.resetQueryFinancing();
+        this.resetQueryOpening();
+        this.resetQueryFinanced();
+        this.resetQueryInvalid();
         this.reset();
         Cookies.set("/credit/addCredit/", this.$route.fullPath);
         this.$router.push({ path: "/credit/addCredit/" });
@@ -2398,6 +2404,12 @@ export default {
     //详情
     handleDetail(row){
           const zfiId = row.zfiId || this.ids
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           Cookies.set("/credit/creditDetail/"+zfiId + "/", this.$route.fullPath)
           this.$router.push({ path: "/credit/creditDetail/"+zfiId + "/" });
     },
@@ -2406,6 +2418,12 @@ export default {
           const zfiId = row.zfiId || this.ids;
           //获取融信类型
           const zfiCreateType = row.zfiCreateType;
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           //核心开立
           if(zfiCreateType == '1'){
               Cookies.set("/credit/creditUpdate/"+zfiId + "/", this.$route.fullPath)
@@ -2440,10 +2458,15 @@ export default {
                 return false;
             }else{
                 const zfiId = row.zfiId || this.ids
+                this.resetQuery();
+                this.resetQuerySign();
+                this.resetQueryFinancing();
+                this.resetQueryOpening();
+                this.resetQueryFinanced();
+                this.resetQueryInvalid();
                 Cookies.set("/credit/confirmationAudit/"+zfiId + "/", this.$route.fullPath)
                 this.$router.push({ path: "/credit/confirmationAudit/"+zfiId + "/" });
             }
-
         }); 
           
     },
@@ -2474,6 +2497,12 @@ export default {
                 return false;
             }else{
                   const zfiId = row.zfiId || this.ids
+                  this.resetQuery();
+                  this.resetQuerySign();
+                  this.resetQueryFinancing();
+                  this.resetQueryOpening();
+                  this.resetQueryFinanced();
+                  this.resetQueryInvalid();
                   Cookies.set("/credit/addInformation/"+zfiId + "/", this.$route.fullPath)
                   this.$router.push({ path: "/credit/addInformation/"+zfiId + "/" });
             }
@@ -2501,6 +2530,12 @@ export default {
               return false;
            }else{
               const zfiId = row.zfiId || this.ids
+              this.resetQuery();
+              this.resetQuerySign();
+              this.resetQueryFinancing();
+              this.resetQueryOpening();
+              this.resetQueryFinanced();
+              this.resetQueryInvalid();
               Cookies.set("/credit/signFor/"+zfiId + "/", this.$route.fullPath)
               this.$router.push({ path: "/credit/signFor/"+zfiId + "/" });
            }
@@ -2510,12 +2545,17 @@ export default {
     //去融资
     handleGoFinance(row){
         const zfiId = row.zfiId || this.ids
+        this.resetQuery();
+        this.resetQuerySign();
+        this.resetQueryFinancing();
+        this.resetQueryOpening();
+        this.resetQueryFinanced();
+        this.resetQueryInvalid();
         Cookies.set("/credit/goFinance/"+zfiId + "/", this.$route.fullPath)
         this.$router.push({ path: "/credit/goFinance/"+zfiId + "/" });
     },
     //盖章
     seal(row){
-
         //获取融信类型
         if(row.zfiCreateType == '1'){//核心开立
             if(row.zfiCoreStatus != "01"){
@@ -2550,6 +2590,12 @@ export default {
               return false;
            }else{
               const zfiId = row.zfiId || this.ids
+              this.resetQuery();
+              this.resetQuerySign();
+              this.resetQueryFinancing();
+              this.resetQueryOpening();
+              this.resetQueryFinanced();
+              this.resetQueryInvalid();
               Cookies.set("/credit/creditSeal/"+zfiId + "/", this.$route.fullPath)
               this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
            }
@@ -2566,12 +2612,12 @@ export default {
         }).then(function() {
           return coreApproval(row);
         }).then(() => {
-          this.getList();
-          this.getListSign();
-          this.getListFinancing();
-          this.getListOpening();
-          this.getListFinanced();
-          this.getListInvalid();
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           this.msgSuccess("提交审批成功");
         }).catch(() => {
           this.$message({
@@ -2590,12 +2636,12 @@ export default {
         }).then(function() {
           return confirmationApproval(row);
         }).then(() => {
-          this.getList();
-          this.getListSign();
-          this.getListFinancing();
-          this.getListOpening();
-          this.getListFinanced();
-          this.getListInvalid();
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           this.msgSuccess("提交审批成功");
         }).catch(() => {
           this.$message({
@@ -2622,12 +2668,12 @@ export default {
           return approval(row);
         })
         .then(() => {
-          this.getList();
-          this.getListSign();
-          this.getListFinancing();
-          this.getListOpening();
-          this.getListFinanced();
-          this.getListInvalid();
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           this.msgSuccess("提交审批成功");
         })
         .catch(() => {
@@ -2654,12 +2700,12 @@ export default {
           return openApproval(row);
         })
         .then(() => {
-          this.getList();
-          this.getListSign();
-          this.getListFinancing();
-          this.getListOpening();
-          this.getListFinanced();
-          this.getListInvalid();
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           this.msgSuccess("提交审批成功");
         })
         .catch(() => {
@@ -2679,12 +2725,12 @@ export default {
         }).then(function() {
           return informationApproval(row); 
         }).then(() => {
-          this.getList();
-          this.getListSign();
-          this.getListFinancing();
-          this.getListOpening();
-          this.getListFinanced();
-          this.getListInvalid();
+          this.resetQuery();
+          this.resetQuerySign();
+          this.resetQueryFinancing();
+          this.resetQueryOpening();
+          this.resetQueryFinanced();
+          this.resetQueryInvalid();
           this.msgSuccess("提交审批成功");
         })
         .catch(() => {
@@ -2719,12 +2765,24 @@ export default {
     //融资开立
     finanOpening(){
         this.reset();
+        this.resetQuery();
+        this.resetQuerySign();
+        this.resetQueryFinancing();
+        this.resetQueryOpening();
+        this.resetQueryFinanced();
+        this.resetQueryInvalid();
         Cookies.set("/credit/financeOpen/", this.$route.fullPath);
         this.$router.push({ path: "/credit/financeOpen/" });
     },
     //融资申请
     apply(){
         this.reset();
+        this.resetQuery();
+        this.resetQuerySign();
+        this.resetQueryFinancing();
+        this.resetQueryOpening();
+        this.resetQueryFinanced();
+        this.resetQueryInvalid();
         Cookies.set("/credit/creditApply/", this.$route.fullPath);
         this.$router.push({ path: "/credit/creditApply/" });
     },
@@ -2748,12 +2806,12 @@ export default {
                     //拒签
                     return creditRefuse(row); 
                   }).then(() => {
-                    this.getList();
-                    this.getListSign();
-                    this.getListFinancing();
-                    this.getListOpening();
-                    this.getListFinanced();
-                    this.getListInvalid();
+                    this.resetQuery();
+                    this.resetQuerySign();
+                    this.resetQueryFinancing();
+                    this.resetQueryOpening();
+                    this.resetQueryFinanced();
+                    this.resetQueryInvalid();
                     this.msgSuccess("拒签成功");
                   })
                   .catch(() => {
@@ -2777,12 +2835,12 @@ export default {
             //删除
             return creditDel(row); 
           }).then(() => {
-            this.getList();
-            this.getListSign();
-            this.getListFinancing();
-            this.getListOpening();
-            this.getListFinanced();
-            this.getListInvalid();
+            this.resetQuery();
+            this.resetQuerySign();
+            this.resetQueryFinancing();
+            this.resetQueryOpening();
+            this.resetQueryFinanced();
+            this.resetQueryInvalid();
             this.msgSuccess("删除成功");
           })
           .catch(() => {

+ 2 - 2
front-vue/src/views/system/user/index.vue

@@ -226,7 +226,7 @@
             label="创建时间"
             align="center"
             prop="createTime"
-            width="160"
+            width="150"
             v-if="uncheckList.createTime"
           >
             <template slot-scope="scope">
@@ -236,7 +236,7 @@
           <el-table-column
             label="操作"
             align="center"
-            width="500"
+            width="200"
             class-name="small-padding fixed-width"
           >
             <template slot-scope="scope">