|
<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>
|