|
@@ -7,11 +7,11 @@
|
|
|
<div class="vongi-index">
|
|
|
<div class="vongi-index-top">
|
|
|
<div class="mui-media-object mui-pull-left">
|
|
|
- <img :src="person_data.faceImageUrl?person_data.faceImageUrl:''">
|
|
|
+ <img :src="person_data?person_data.faceImageUrl:''">
|
|
|
</div>
|
|
|
<div class="mui-media-body">
|
|
|
- <h3 v-text="person_data.name?person_data.name:''"></h3>
|
|
|
- <p class='mui-ellipsis' v-text="person_data.companyName?person_data.companyName:''"></p>
|
|
|
+ <h3 v-text="person_data?person_data.name:''"></h3>
|
|
|
+ <p class='mui-ellipsis' v-text="person_data?person_data.companyName:''"></p>
|
|
|
</div>
|
|
|
<a class="mui-pull-right" @click="selectRole">切换身份<span class="mui-icon iconfont icon-jiaohuan"></span></a>
|
|
|
</div>
|
|
@@ -244,12 +244,11 @@
|
|
|
return require('$project/assets/img/' + file);
|
|
|
},
|
|
|
asynCallBack() {
|
|
|
-
|
|
|
+ //获取用户角色列表
|
|
|
+ this.getRoleList();
|
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
- //获取用户角色列表
|
|
|
- this.getRoleList();
|
|
|
//获取最新二条通知消息
|
|
|
this.getLastNotice();
|
|
|
|