Bläddra i källkod

补充资料生效提示去融资

xuefy 3 år sedan
förälder
incheckning
6737774ff9
1 ändrade filer med 33 tillägg och 7 borttagningar
  1. 33 7
      front-vue/src/views/service/credit/addInformation.vue

+ 33 - 7
front-vue/src/views/service/credit/addInformation.vue

@@ -295,6 +295,14 @@
                 <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent">
                 </pdf-show>
             </el-dialog>
+              <!--去融资-->
+            <el-dialog  :visible.sync="goShow" width="300px"  append-to-body :before-close = "cancelGo" center>
+                    <p>恭喜您成功签收一笔融信</p>
+                    <div slot="footer" class="dialog-footer">
+                        <el-button type="primary" @click="goFinance">去融资</el-button>
+                        <el-button @click="cancelGo">取 消</el-button>
+                    </div>    
+            </el-dialog> 
         </el-tab-pane>
         <el-tab-pane label="签署合同">
             <el-table :data="creditSealList"  style="width: 100%">
@@ -427,7 +435,9 @@ export default {
           pdfShowDialog : false,
           parent : this,
           //平台审批状态
-          zfiPlatformStatus:""
+          zfiPlatformStatus:"",
+           //显示去融资框
+          goShow:false
         };
     },
     /* watch:{
@@ -512,6 +522,15 @@ export default {
             this.resetForm("formQuery");
             this.handleQuerys();
         },
+        //回到父页
+        cancelGo(){
+            this.goShow = false;
+            this.$store.dispatch(
+                "tagsView/delView",
+                this.$route
+            );
+            this.$router.go(-1);
+        },
         handleQuerys() {
             this.queryParamsPay.pageNum = 1;
             this.getAccountsCollection();
@@ -1204,16 +1223,23 @@ export default {
                     });
             contractSigning(this.form).then((response) => {
                 loading.close();
-                this.msgSuccess("确权成功,融信已提交"+this.form.receiveName+"签收");
-                this.$store.dispatch(
-                    "tagsView/delView",
-                    this.$route
-                );
-                this.$router.go(-1);
+                this.goShow = true;
             }).catch((response) => {
                 loading.close();
             });
     },
+      //去融资
+    goFinance(){
+        //关闭当前页
+         this.$store.dispatch(
+            "tagsView/delView",
+            this.$route
+        );
+        //关闭弹框
+        this.goShow = false;
+        Cookies.set("/credit/goFinance/"+this.zfiId + "/", this.$route.fullPath)
+        this.$router.push({ path: "/credit/goFinance/"+this.zfiId + "/" });
+    }
     
   }
 };