Commit 7c28597f by 冷斌

fix bug

parent b62a4c99
......@@ -10,7 +10,7 @@
<!-- 状态 -->
<!-- <div class="statusOne">正在审核中,请耐心等待</div> -->
<!-- <div class="statusTwo">审核失败,请重新填写!</div> -->
<div class="statusTwo">审核失败,请重新填写!</div>
<!-- 上传身份证 -->
<div class="part">
<div class="part_name">上传身份证</div>
......@@ -91,9 +91,7 @@
var vm = new Vue({
el: '#app',
data: {
//数据集
status:'', // 审核状态
certification: 0,
},
methods: {
//事件
......@@ -104,6 +102,27 @@
},
created: function() {
//加载触发函数
let _this = this;
let url = _this.url('/index.php?g=Appapi&m=Profit&a=info');
sessionStorage.removeItem("source");
$.ajax({
url:url,
dataType:"json",
type:"GET",
success:function(data){
console.log(data)
if(data.ret==200){
let d = data.data;
_this.identity = d.identity;
_this.certification = d.certification;
}else{
layer.msg(data.msg);
}
},
error:function(e){
layer.msg(e.msg);
}
})
}
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment