|
|
@@ -105,6 +105,14 @@
|
|
|
<el-dialog :visible.sync="faceIsShow" width="500px" append-to-body :before-close = "cancelFace" center>
|
|
|
<img :src="'data:image/jpeg;base64,' + this.fileUrl" style="overflow: auto; width: 100%; height: 100%;"/>
|
|
|
</el-dialog>
|
|
|
+ <!--去融资-->
|
|
|
+ <el-dialog :visible.sync="goShow" width="500px" append-to-body :before-close = "cancelGo" center>
|
|
|
+ <span>恭喜您成功签收一笔融信</span>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="goFinance">去融资</el-button>
|
|
|
+ <el-button @click="cancelGo">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -115,6 +123,7 @@
|
|
|
import {sendMessage,checkCode,faceAuth,checkFaceAuth,contractSigning} from "@/api/service/credit/message";
|
|
|
import {cfcaProjectNo,projectSendMessage,checkProCode} from "@/api/service/credit/cfcaProject";
|
|
|
import {getCreditDetail} from "@/api/service/credit/credit";
|
|
|
+import Cookies from 'js-cookie';
|
|
|
export default {
|
|
|
props : ['pdfFileList','zfiId', 'parent'],
|
|
|
data() {
|
|
|
@@ -186,7 +195,10 @@ export default {
|
|
|
//接收方
|
|
|
receiveName:"",
|
|
|
//开立方
|
|
|
- openName:""
|
|
|
+ openName:"",
|
|
|
+ //显示去融资框
|
|
|
+ goShow:false
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
@@ -228,7 +240,7 @@ export default {
|
|
|
selectChildType(){
|
|
|
this.$parent.selectType();
|
|
|
},
|
|
|
- //取消选择意愿
|
|
|
+ //取消选择意愿
|
|
|
cancelUpdate(){
|
|
|
this.confirmIsShow = false;
|
|
|
this.resetUpdate();
|
|
|
@@ -247,6 +259,15 @@ export default {
|
|
|
cancelFace(){
|
|
|
this.faceIsShow = false;
|
|
|
},
|
|
|
+ //回到父页
|
|
|
+ cancelGo(){
|
|
|
+ this.goShow = false;
|
|
|
+ this.$store.dispatch(
|
|
|
+ "tagsView/delView",
|
|
|
+ this.$route
|
|
|
+ );
|
|
|
+ this.$router.go(-1);
|
|
|
+ },
|
|
|
resetUpdate() {
|
|
|
this.updateForm = {
|
|
|
radio:""
|
|
|
@@ -493,29 +514,42 @@ export default {
|
|
|
});
|
|
|
contractSigning(this.financeData).then((response) => {
|
|
|
loading.close();
|
|
|
+ if(this.zfpAuthType == '02'){
|
|
|
+ //关闭短信验证
|
|
|
+ this.messageIsShow = false;
|
|
|
+ }else if(this.zfpAuthType == '01'){
|
|
|
+ //关闭人脸二维码
|
|
|
+ this.faceIsShow = false;
|
|
|
+ }
|
|
|
//确权:状态为待确权
|
|
|
if(this.zfiStatus == '00'){
|
|
|
this.msgSuccess("确权成功,融信已提交,"+this.receiveName+"签收");
|
|
|
+ this.$store.dispatch(
|
|
|
+ "tagsView/delView",
|
|
|
+ this.$route
|
|
|
+ );
|
|
|
+ this.$router.go(-1);
|
|
|
}else if(this.zfiStatus == '01' && this.zfiCreateType == '0'){//签收
|
|
|
- this.msgSuccess("恭喜您成功签收一笔融信");
|
|
|
+ this.goShow = true;
|
|
|
}else if(this.zfiCreateType == '1' && this.zfiCoreStatus == '01' && !this.zfiStatus){//核心开立
|
|
|
this.msgSuccess("开立成功,融信已提交"+this.receiveName+"签收");
|
|
|
+ this.$store.dispatch(
|
|
|
+ "tagsView/delView",
|
|
|
+ this.$route
|
|
|
+ );
|
|
|
+ this.$router.go(-1);
|
|
|
}else if(this.zfiCreateType == '2' && this.zfiPlatformStatus == '01' && this.zfiSupplierStatus == '01' && !this.zfiStatus){
|
|
|
//融资开立盖章
|
|
|
this.msgSuccess("开立成功,待:"+this.openName+"确权;确权结果请留意待办事项与站内消息");
|
|
|
+ this.$store.dispatch(
|
|
|
+ "tagsView/delView",
|
|
|
+ this.$route
|
|
|
+ );
|
|
|
+ this.$router.go(-1);
|
|
|
+ }else if(scope.row.zfiCreateType == '1' && this.zfiSupplierStatus == '01' && this.zfiPlatformStatus == '01'){//补充资料
|
|
|
+ this.goShow = true;
|
|
|
}
|
|
|
- if(this.zfpAuthType == '02'){
|
|
|
- //关闭短信验证
|
|
|
- this.messageIsShow = false;
|
|
|
- }else if(this.zfpAuthType == '01'){
|
|
|
- //关闭人脸二维码
|
|
|
- this.faceIsShow = false;
|
|
|
- }
|
|
|
- this.$store.dispatch(
|
|
|
- "tagsView/delView",
|
|
|
- this.$route
|
|
|
- );
|
|
|
- this.$router.go(-1);
|
|
|
+
|
|
|
}).catch((response) => {
|
|
|
loading.close();
|
|
|
});
|
|
|
@@ -574,7 +608,15 @@ export default {
|
|
|
},
|
|
|
closePdfShow(){
|
|
|
this.parent.closePdfShow();
|
|
|
+ },
|
|
|
+ //去融资
|
|
|
+ goFinance(){
|
|
|
+ //关闭弹框
|
|
|
+ this.goShow = false;
|
|
|
+ Cookies.set("/credit/goFinance/"+this.zfiId + "/", this.$route.fullPath)
|
|
|
+ this.$router.push({ path: "/credit/goFinance/"+this.zfiId + "/" });
|
|
|
}
|
|
|
+
|
|
|
|
|
|
},
|
|
|
};
|