|
|
@@ -60,7 +60,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <el-dialog title="温馨提示" :visible.sync="centerDialogVisible" width="350px" center>
|
|
|
+ <el-dialog @close="qrcodeClose" title="温馨提示" :visible.sync="centerDialogVisible" width="350px" center>
|
|
|
<p class="qrcode-tips">请打开支付宝扫码以下二维码</p>
|
|
|
<div class="qrcode-img">
|
|
|
<img :src="qrcodeBase64" />
|
|
|
@@ -369,24 +369,33 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
let {
|
|
|
- type
|
|
|
- } = res.data.type;
|
|
|
+ type,
|
|
|
+ is_face
|
|
|
+ } = res.data;
|
|
|
+
|
|
|
if (type == 1 || type == 4) {
|
|
|
- // 关闭弹层
|
|
|
this.centerDialogVisible = false;
|
|
|
clearInterval(this.timer);
|
|
|
this.timer = null;
|
|
|
+ if(type == 4){
|
|
|
+ this.toFail();
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
- if (type == 1) {
|
|
|
- // 显示成功态
|
|
|
+ if(this.$route.query.is_face_check == 1){
|
|
|
+ if(is_face == 1){
|
|
|
+ this.toSuccess();
|
|
|
+ }
|
|
|
+ }else{
|
|
|
this.toSuccess();
|
|
|
- } else if (type == 4) {
|
|
|
- // 显示失败态
|
|
|
- this.toFail();
|
|
|
}
|
|
|
}
|
|
|
}, 5000);
|
|
|
},
|
|
|
+ qrcodeClose(){
|
|
|
+ clearInterval(this.timer);
|
|
|
+ this.timer = null;
|
|
|
+ },
|
|
|
checkNameIsCerted() {
|
|
|
if (this.userInfo && this.userInfo.realname_verify_status == 2) {
|
|
|
this.toSuccess()
|