zhouhao
2022-01-11 1f23194d1d50228525c67e82995c2cb1584817c2
src/views/main/singsuc.vue
@@ -5,12 +5,16 @@
    <div style="  text-align: center;">
    <img  height="180" src="../../assets/img/successw.png"  />
    </div>
    <div class="content" v-if="$route.query.bizType==0">
      <p class="content-text"> 您的授信已提交,稍后查询授信状态</p>
    <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-else>
      <p class="content-text">分佣垫付已提交,稍后查询结果</p>
    <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>
@@ -32,11 +36,14 @@
  //方法集合
  methods: {
      returnApp(){
           window.location.href ="https://www.qadlj.com/authorizeBack.html"
           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() {