zhouhao
2022-01-11 1f23194d1d50228525c67e82995c2cb1584817c2
src/views/main/singsuc.vue
@@ -1,13 +1,21 @@
<template>
  <div class='text-main'>
    <van-nav-bar title="审核结果"/>
    <!-- <van-nav-bar title="审核结果"/> -->
    <div style="  text-align: center;">
    <img width="70%" height="180" src="../../assets/img/successw.png"  />
    <img  height="180" src="../../assets/img/successw.png"  />
    </div>
    <div class="content">
      <p class="content-text"> 签约成功</p>
      <van-button  @click="returnApp"  round block  color="#E43A28">返回</van-button>
    <div class="content" v-if="Number($route.query.bizType)==0 && this.dataForm.status==3">
      <p class="content-text">您的授信已提交,稍后查询授信状态</p>
      <van-button  @click="returnApp" round block color="#6cc3bb" style="width:80%">确认</van-button>
    </div>
    <div class="content" v-if="Number($route.query.bizType)==1 && this.dataForm.status==6">
      <p class="content-text">您的分佣垫付已提交,稍后查询结果</p>
      <van-button  @click="returnApp" round block color="#6cc3bb" style="width:80%">确认</van-button>
    </div>
    <div class="content" v-if="Number($route.query.bizType)==1 && this.dataForm.status==3">
      <p class="content-text">您的借款已提交,等待分销主体签约</p>
      <van-button  @click="returnApp" round block color="#6cc3bb" style="width:80%">确认</van-button>
    </div>
  </div>
</template>
@@ -28,11 +36,14 @@
  //方法集合
  methods: {
      returnApp(){
           window.location.href ="https://www.qianyuechenggong.com/"
           window.location.href =this.dataForm.callBackUrl
    }
  },
  //生命周期 - 创建完成(可以访问当前this实例)
  created() {
          this.$api.getBizStatus({bizId:this.$route.query.bizId,bizType:this.$route.query.bizType}).then(res=>{
                this.dataForm =res.body
          })
  },
  //生命周期 - 挂载完成(可以访问DOM元素)
  mounted() {
@@ -55,5 +66,9 @@
    font-weight: 500;
    color: #999999;
  }
  .van-button{
    margin: 0 auto;
    margin-top: 20px;
  }
}
</style>