|
@@ -119,24 +119,34 @@
|
|
|
word:'5.经纪商可在后台查看直发客户及代理客户的交易统计表;'
|
|
|
}
|
|
|
],
|
|
|
- applyform:[],
|
|
|
+ applyform:{
|
|
|
+ company:'',
|
|
|
+ contacts:'',
|
|
|
+ mobile_area:'',
|
|
|
+ other:'',
|
|
|
+ country:'',
|
|
|
+ area:''
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
|
|
|
methods:{
|
|
|
loadsession: function(){
|
|
|
this.Authorization = sessionStorage.getItem('token_code')? sessionStorage.getItem('token_code'):'';
|
|
|
- this.axios.get('https://dev407.33.cn/api/broker/applystatus',{headers:{Authorization: this.Authorization}}).then((res)=>{
|
|
|
- console.log(res.data.data.info);
|
|
|
- this.applyform = res.data.data.info;
|
|
|
- }).catch((err)=>{
|
|
|
- console.log(err);
|
|
|
- })
|
|
|
+ if(this.Authorization != ''){
|
|
|
+ this.axios.get('https://dev407.33.cn/api/broker/applystatus',{headers:{Authorization: this.Authorization}}).then((res)=>{
|
|
|
+ this.applyform = res.data.data.info;
|
|
|
+ }).catch((err)=>{
|
|
|
+ console.log(err);
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
+ watch:{
|
|
|
+ '$route' : 'loadsession'
|
|
|
+ },
|
|
|
mounted(){
|
|
|
this.loadsession();
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
</script>
|