zhouhao
2022-01-11 e9a40ce57907184ee48d2aab1c3dab4a2e61c7ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
 
<template>
  <div class='text-main'>
    <!-- <van-nav-bar title="审核结果"/> -->
    <div style="  text-align: center;">
    <img  height="180" src="../../assets/img/successw.png"  />
    </div>
    <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>
 
<script>
export default {
  components: {},
  data() {
    //这里存放数据
    return {
      dataForm: {}
    };
  },
  //监听属性 类似于data概念
  computed: {},
  //监控data中的数据变化
  watch: {},
  //方法集合
  methods: {
      returnApp(){
           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() {
 
  },
}
</script>
<style   lang="less"  scoped>
img {
   margin: 10px auto;
}
.content {
  text-align: center;
  .content-text {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
  }
  .content-main {
    font-weight: 500;
    color: #999999;
  }
  .van-button{
    margin: 0 auto;
    margin-top: 20px;
  }
}
</style>