Commit 7c28597f by 冷斌

fix bug

parent b62a4c99
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<!-- 状态 --> <!-- 状态 -->
<!-- <div class="statusOne">正在审核中,请耐心等待</div> --> <!-- <div class="statusOne">正在审核中,请耐心等待</div> -->
<!-- <div class="statusTwo">审核失败,请重新填写!</div> --> <div class="statusTwo">审核失败,请重新填写!</div>
<!-- 上传身份证 --> <!-- 上传身份证 -->
<div class="part"> <div class="part">
<div class="part_name">上传身份证</div> <div class="part_name">上传身份证</div>
...@@ -91,9 +91,7 @@ ...@@ -91,9 +91,7 @@
var vm = new Vue({ var vm = new Vue({
el: '#app', el: '#app',
data: { data: {
//数据集 certification: 0,
status:'', // 审核状态
}, },
methods: { methods: {
//事件 //事件
...@@ -104,6 +102,27 @@ ...@@ -104,6 +102,27 @@
}, },
created: function() { 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> </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