|
|
@ -12,14 +12,18 @@ |
|
|
|
|
|
|
|
<uni-list-item v-if="userInfo!=null" title="部门" :rightText="userInfo.dept.name" |
|
|
|
thumb="/static/icon_personal_password.png"></uni-list-item> |
|
|
|
<uni-list-item v-if="userInfo!=null" title="岗位" :rightText="(userInfo.posts || []).map(post => post.name).join(',')" |
|
|
|
<uni-list-item v-if="userInfo!=null" title="岗位" |
|
|
|
:rightText="(userInfo.posts || []).map(post => post.name).join(',')" |
|
|
|
thumb="/static/icon_personal_password.png"></uni-list-item> |
|
|
|
<uni-list-item v-if="userInfo!=null" title="角色" :rightText="(userInfo.roles || []).map(role => role.name).join(',')" |
|
|
|
<uni-list-item v-if="userInfo!=null" title="角色" |
|
|
|
:rightText="(userInfo.roles || []).map(role => role.name).join(',')" |
|
|
|
thumb="/static/icon_personal_password.png"></uni-list-item> |
|
|
|
<uni-list-item title="" clickable rightText="清除缓存" thumb="/static/icon_personal_name.png" |
|
|
|
@click="clear"></uni-list-item> |
|
|
|
<uni-list-item title="修改密码" link to="/pages/setter/passwordpage" |
|
|
|
thumb="/static/icon_personal_password.png"></uni-list-item> |
|
|
|
<uni-list-item title="服务器地址" |
|
|
|
thumb="/static/icon_personal_password.png"></uni-list-item> |
|
|
|
<!-- <uni-list-item title="参数设置" link to="/pages/setter/setterDetail" |
|
|
|
thumb="/static/icon_personal_setting.png"></uni-list-item> --> |
|
|
|
</uni-list> |
|
|
@ -44,7 +48,9 @@ |
|
|
|
removeToken |
|
|
|
} from '@/common/utils/auth' |
|
|
|
import { |
|
|
|
ref,reactive,nextTick |
|
|
|
ref, |
|
|
|
reactive, |
|
|
|
nextTick |
|
|
|
} from "vue"; |
|
|
|
import { |
|
|
|
onLoad |
|
|
|