From e4bae24836359ade27a0eee0be77aa30a87c8d7c Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Mon, 10 Jan 2022 19:52:49 +0800
Subject: [PATCH] 修改合同标题
---
src/views/main/queryres.vue | 183 ++++++++++++++++++++++++++++++---------------
1 files changed, 122 insertions(+), 61 deletions(-)
diff --git a/src/views/main/queryres.vue b/src/views/main/queryres.vue
index f08e2d8..28b63b7 100644
--- a/src/views/main/queryres.vue
+++ b/src/views/main/queryres.vue
@@ -49,69 +49,68 @@
// let objForm ={bizId:this.bizId,bizType:this.bizType}
var t2 = window.setInterval(function () {
slfe.$api.getBizStatus({bizId:slfe.bizId,bizType:slfe.bizType}).then(res => {
- this.dataInfo =res.body
- if(Number(this.bizType) ==0){ //签署授权函
- if( this.dataInfo.status==1){ //授权人脸未出结果
- this.datastr ='活体校验识别中,请稍等.....'
- this.signBtn =false
- this.ResultIs =false
- }else if( this.dataInfo.status==2){ //完成个人人脸授信,待签署信息函
- this.datastr ='活体校验成功!待签署信息授权函,请稍后.....'
- this.signBtn =false
- this.ResultIs =false
- }else if( this.dataInfo.status==201){ //信息授权函签署失败
+ slfe.dataInfo =res.body
+ if(Number(slfe.bizType) ==0){ //签署授权函
+ if( slfe.dataInfo.status==1){ //授权人脸未出结果
+ slfe.datastr ='活体校验识别中,请稍等.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==2){ //完成个人人脸授信,待签署信息函
+ slfe.datastr ='活体校验成功!待签署信息授权函,请稍后.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==201){ //信息授权函签署失败
window.clearInterval(t2)
- this.datastr ='活体校验成功!签署信息授权函失败,请重试.....'
- this.signBtn =true
- this.ResultIs =false
- }else if( this.dataInfo.status==3){ //完成信息授权函签署
+ slfe.datastr ='活体校验成功!签署信息授权函失败,请重试.....'
+ slfe.signBtn =true
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==3){ //完成信息授权函签署
window.clearInterval(t2)
- this.$router.push({path:'/main/bancardsucces',query:{bizId:this.bizId,bizType:this.bizType}})
- }else if( this.dataInfo.status==99){
+ slfe.$router.push({path:'/main/bancardsucces',query:{bizId:slfe.bizId,bizType:slfe.bizType}})
+ }else if( slfe.dataInfo.status==99){
window.clearInterval(t2)
- this.datastr ='活体校验失败!请重试.....'
- this.signBtn =false
- this.ResultIs =true
- console.log('aaaaa')
+ slfe.datastr ='活体校验失败!请重试.....'
+ slfe.signBtn =false
+ slfe.ResultIs =true
}
- }else if(Number(this.bizType) ==1){ //签署借款
- if( this.dataInfo.status==1){ //授权人脸未出结果
- this.datastr ='活体校验识别中,请稍等.....'
- this.signBtn =false
- this.ResultIs =false
- }else if( this.dataInfo.status==2){ //完成个人人脸授信,待签署信息函
- this.datastr ='活体校验成功!待签署合同,请稍后.....'
- this.signBtn =false
- this.ResultIs =false
- }else if( this.dataInfo.status==201){ //完成个人人脸授信,待签署信息函
+ }else if(Number(slfe.bizType) ==1){ //签署借款
+ if( slfe.dataInfo.status==1){ //授权人脸未出结果
+ slfe.datastr ='活体校验识别中,请稍等.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==2){ //完成个人人脸授信,待签署信息函
+ slfe.datastr ='活体校验成功!待签署合同,请稍后.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==201){ //完成个人人脸授信,待签署信息函
window.clearInterval(t2)
- this.datastr ='活体校验成功!签署合同失败,请重试.....'
- this.signBtn =true
- this.ResultIs =false
- }else if( this.dataInfo.status==3){ //完成个人单笔合同签署 待分销主体验证
+ slfe.datastr ='活体校验成功!签署合同失败,请重试.....'
+ slfe.signBtn =true
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==3){ //完成个人单笔合同签署 待分销主体验证
window.clearInterval(t2)
- this.$router.push({path:'/',query:{bizId:this.bizId,bizType:this.bizType}})
- }else if( this.dataInfo.status==4){ //授权人脸未出结果
- this.datastr ='活体校验识别中,请稍等.....'
- this.signBtn =false
- this.ResultIs =false
- }else if( this.dataInfo.status==5){ //授权人脸未出结果
- this.datastr ='活体校验成功!待签署合同,请稍等.....'
- this.signBtn =false
- this.ResultIs =false
- }else if( this.dataInfo.status==501){ //授权人脸未出结果
+ slfe.$router.push({path:'/',query:{bizId:slfe.bizId,bizType:slfe.bizType}})
+ }else if( slfe.dataInfo.status==4){ //授权人脸未出结果
+ slfe.datastr ='活体校验识别中,请稍等.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==5){ //授权人脸未出结果
+ slfe.datastr ='活体校验成功!待签署合同,请稍等.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==501){ //授权人脸未出结果
window.clearInterval(t2)
- this.datastr ='活体校验成功!签署合同失败,请重试.....'
- this.signBtn =true
- this.ResultIs =false
- }else if( this.dataInfo.status==6){ //完成主体合同签署
+ slfe.datastr ='活体校验成功!签署合同失败,请重试.....'
+ slfe.signBtn =true
+ slfe.ResultIs =false
+ }else if( slfe.dataInfo.status==6){ //完成主体合同签署
window.clearInterval(t2)
- this.$router.push({path:'/main/bancardsucces',query:{bizId:this.bizId,bizType:this.bizType}})
- }else if( this.dataInfo.status==88 || this.dataInfo.status==99){
- this.signBtn =false
- this.ResultIs =true
+ slfe.$router.push({path:'/main/bancardsucces',query:{bizId:slfe.bizId,bizType:slfe.bizType}})
+ }else if( slfe.dataInfo.status==88 || slfe.dataInfo.status==99){
+ slfe.signBtn =false
+ slfe.ResultIs =true
window.clearInterval(t2)
- this.datastr ='活体校验失败!请重试.....'
+ slfe.datastr ='活体校验失败!请重试.....'
}
}
})
@@ -161,13 +160,75 @@
//生命周期 - 创建完成(可以访问当前this实例)
created() {
this.$api.getBizStatus({bizId:this.bizId,bizType:this.bizType}).then(res=>{
- if(res.body.status == 3 && Number(this.bizType) ==0 || res.body.status ==6 && Number(this.bizType) ==1 ){ //成功直接跳转成功页面
- this.$router.push({path:'/main/bancardsucces',query:{bizId:this.bizId,bizType:this.bizType}})
- }else if(res.body.status == 3 && Number(this.bizType) ==1){ //待签约分销主体
- this.$router.push({path:'/',query:{bizId:this.bizId,bizType:this.bizType}})
- }else{ //执行定时器
- this.bankCardNoInit()
- }
+ // if(res.body.status == 3 && Number(this.bizType) ==0 || res.body.status ==6 && Number(this.bizType) ==1 ){ //成功直接跳转成功页面
+ // this.$router.push({path:'/main/bancardsucces',query:{bizId:this.bizId,bizType:this.bizType}})
+ // }else if(res.body.status == 3 && Number(this.bizType) ==1){ //待签约分销主体
+ // this.$router.push({path:'/',query:{bizId:this.bizId,bizType:this.bizType}})
+ // }else{ //执行定时器
+ // this.bankCardNoInit()
+ // }
+ var slfe = this
+ if(Number(this.bizType) ==0){ //签署授权函
+ if(res.body.status==1){ //授权人脸未出结果
+ slfe.datastr ='活体校验识别中,请稍后.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ this.bankCardNoInit()
+ }else if( res.body.status==2){ //完成个人人脸授信,待签署信息函
+ slfe.datastr ='活体校验成功!待签署信息授权函,请稍后.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ this.bankCardNoInit()
+ }else if( res.body.status==201){ //信息授权函签署失败
+ slfe.datastr ='活体校验成功!签署信息授权函失败,请重试.....'
+ slfe.signBtn =true
+ slfe.ResultIs =false
+ }else if( res.body.status==3){ //完成信息授权函签署
+ slfe.$router.push({path:'/main/bancardsucces',query:{bizId:slfe.bizId,bizType:slfe.bizType}})
+ }else if( res.body.status==99){
+ slfe.datastr ='活体校验失败!请重试.....'
+ slfe.signBtn =false
+ slfe.ResultIs =true
+ }
+ }else if(Number(slfe.bizType) ==1){ //签署借款
+ if( res.body.status==1){ //授权人脸未出结果
+ slfe.datastr ='活体校验识别中,请稍后.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ this.bankCardNoInit()
+ }else if( res.body.status==2){ //完成个人人脸授信,待签署信息函
+ slfe.datastr ='活体校验成功!待签署合同,请稍后.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ this.bankCardNoInit()
+ }else if( res.body.status==201){ //完成个人人脸授信,待签署信息函
+ slfe.datastr ='活体校验成功!签署合同失败,请重试.....'
+ slfe.signBtn =true
+ slfe.ResultIs =false
+ }else if( res.body.status==3){ //完成个人单笔合同签署 待分销主体验证
+ slfe.$router.push({path:'/',query:{bizId:slfe.bizId,bizType:slfe.bizType}})
+ }else if( res.body.status==4){ //授权人脸未出结果
+ slfe.datastr ='活体校验识别中,请稍等.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ this.bankCardNoInit()
+ }else if(res.body.status==5){ //授权人脸未出结果
+ slfe.datastr ='活体校验成功!待签署合同,请稍等.....'
+ slfe.signBtn =false
+ slfe.ResultIs =false
+ this.bankCardNoInit()
+ }else if( res.body.status==501){ //授权人脸未出结果
+ slfe.datastr ='活体校验成功!签署合同失败,请重试.....'
+ slfe.signBtn =true
+ slfe.ResultIs =false
+ }else if( res.body.status==6){ //完成主体合同签署
+ slfe.$router.push({path:'/main/bancardsucces',query:{bizId:slfe.bizId,bizType:slfe.bizType}})
+ }else if( res.body.status==88 || res.body.status==99){
+ slfe.signBtn =false
+ slfe.ResultIs =true
+ slfe.datastr ='活体校验失败!请重试.....'
+ }
+ }
})
},
//生命周期 - 挂载完成(可以访问DOM元素)
--
Gitblit v1.8.0