43 lines
1.0 KiB
Vue
43 lines
1.0 KiB
Vue
|
<template>
|
||
|
<view class="content">
|
||
|
<view class="card">
|
||
|
<u-cell-group :border="false">
|
||
|
<u-cell>
|
||
|
<view slot="title" class="title">姓名</view>
|
||
|
<view slot="value">{{ userInfo.NAME }}</view>
|
||
|
</u-cell>
|
||
|
<u-cell>
|
||
|
<view slot="title" class="title">手机号</view>
|
||
|
<view slot="value">{{ userInfo.USERNAME }}</view>
|
||
|
</u-cell>
|
||
|
<u-cell>
|
||
|
<view slot="title" class="title">部门</view>
|
||
|
<view slot="value">{{ userInfo.DEPARTMENT_NAME }}</view>
|
||
|
</u-cell>
|
||
|
<u-cell>
|
||
|
<view slot="title" class="title">职务</view>
|
||
|
<view slot="value">{{ userInfo.JOB }}</view>
|
||
|
</u-cell>
|
||
|
<u-cell>
|
||
|
<view slot="title" class="title">职务级别</view>
|
||
|
<view slot="value">{{ userInfo.JOB_LEVEL }}</view>
|
||
|
</u-cell>
|
||
|
</u-cell-group>
|
||
|
</view>
|
||
|
<u-toast ref="uToast"></u-toast>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
computed: {
|
||
|
userInfo() {
|
||
|
return this.$store.getters.getUserInfo
|
||
|
}
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
</style>
|