From 4f77f7d785bfa184a05be00b18675e9bf6a5da58 Mon Sep 17 00:00:00 2001
From: zhouhao <787329763@qq.com>
Date: Thu, 06 Jan 2022 15:04:05 +0800
Subject: [PATCH] 跳到人脸识别结果

---
 src/views/main/queryres.vue    |    4 ++--
 src/views/main/addBankcard.vue |    5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/views/main/addBankcard.vue b/src/views/main/addBankcard.vue
index c9b3181..a366ad9 100644
--- a/src/views/main/addBankcard.vue
+++ b/src/views/main/addBankcard.vue
@@ -26,8 +26,9 @@
       </van-field>
       <div class="index-title">
         <van-checkbox v-model="checked" style="height:30px; margin-right:5px" checked-color="#6cc3bb"></van-checkbox>
-        <div  v-if="bizType==0 && $route.query.types!=1"  style="color:#999999;font-size:12px"> 阅读并同意<span  style="border-bottom:1px solid #00F; color:#00F"  @click="show=true">《信息授权函》</span>的签订</div>
-        <div  v-if="bizType==1 && $route.query.types!=1"  style="color:#999999;font-size:12px"> 阅读并同意<span  style="border-bottom:1px solid #00F; color:#00F"  @click="showx=true">《保理付款服务合同》</span>的签订</div>
+        <div  v-if="bizType==0 && this.dataInfo.status==0"  style="color:#999999;font-size:12px"> 阅读并同意<span  style="border-bottom:1px solid #00F; color:#00F"  @click="show=true">《信息授权函》</span>的签订</div>
+        <div  v-if="bizType==1 && this.dataInfo.status==0"  style="color:#999999;font-size:12px"> 阅读并同意<span  style="border-bottom:1px solid #00F; color:#00F"  @click="showx=true">《保理付款服务合同》</span>的签订</div>
+        <div  v-if="bizType==1 && this.dataInfo.status==3"  style="color:#999999;font-size:12px"> 阅读并同意<span  style="border-bottom:1px solid #00F; color:#00F"  @click="showx=true">《有追索权保理业务合同s》</span>的签订</div>
       </div>
       <div style="margin: 16px;margin-top:30px">
         <van-button round block  color="#6cc3bb" @click="onFailed" native-type="submit">确认</van-button>
diff --git a/src/views/main/queryres.vue b/src/views/main/queryres.vue
index a9e4390..5386e69 100644
--- a/src/views/main/queryres.vue
+++ b/src/views/main/queryres.vue
@@ -58,8 +58,8 @@
                           
                      }
                  })        
-            }else{
-                  
+            }else if(res.body.status==2 &&  Number(slfe.bizType)==0){  //人脸识别成功
+                      slfe.$router.push({path:'/main/bancardsucces',query:{bizId:slfe.bizId,bizType:slfe.bizType}})  
             }     
         })
       }, 5000)

--
Gitblit v1.8.0