|
@@ -10,8 +10,8 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="i_tips">
|
|
<div class="i_tips">
|
|
- <p>所属公司:{{'甜梦巧克力公司甜梦巧克力公司'}}</p>
|
|
|
|
- <p>所属团队:{{'甜梦巧克力团队'}}</p>
|
|
|
|
|
|
+ <p>所属公司:{{enterpriseName||''}}</p>
|
|
|
|
+ <p>所属团队:{{teamName||''}}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="box">
|
|
<div class="box">
|
|
@@ -44,12 +44,16 @@
|
|
return {
|
|
return {
|
|
userName:'',
|
|
userName:'',
|
|
mobile:'',
|
|
mobile:'',
|
|
|
|
+ enterpriseName:'',
|
|
|
|
+ teamName:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
if(uni.getStorageSync('userInfo')){
|
|
if(uni.getStorageSync('userInfo')){
|
|
this.userName = JSON.parse(uni.getStorageSync('userInfo')).realName||'';
|
|
this.userName = JSON.parse(uni.getStorageSync('userInfo')).realName||'';
|
|
this.mobile = JSON.parse(uni.getStorageSync('userInfo')).mobile||'';
|
|
this.mobile = JSON.parse(uni.getStorageSync('userInfo')).mobile||'';
|
|
|
|
+ this.enterpriseName = JSON.parse(uni.getStorageSync('userInfo')).enterpriseName||'';
|
|
|
|
+ this.teamName = JSON.parse(uni.getStorageSync('userInfo')).teamName||'';
|
|
if(this.mobile) this.mobile = this.mobile.replace(this.mobile.substr(3,4),' **** ')
|
|
if(this.mobile) this.mobile = this.mobile.replace(this.mobile.substr(3,4),' **** ')
|
|
}
|
|
}
|
|
},
|
|
},
|