|
@@ -42,7 +42,7 @@
|
|
</div>
|
|
</div>
|
|
<!-- 展示 -->
|
|
<!-- 展示 -->
|
|
<div v-else>
|
|
<div v-else>
|
|
- <span style="font-size: 20px; font-weight: 600;color: var(--color-666);">{{ baseInfo?.name }}</span>
|
|
|
|
|
|
+ <span style="font-size: 20px; font-weight: 600;color: var(--color-666);">{{ baseInfo?.name || userInfo.phone }}</span>
|
|
<div class="mt-3 d-flex">
|
|
<div class="mt-3 d-flex">
|
|
<div class="listBox" :style="{ height: isExpand ? 'auto' : '68px' }">
|
|
<div class="listBox" :style="{ height: isExpand ? 'auto' : '68px' }">
|
|
<div>
|
|
<div>
|
|
@@ -128,10 +128,12 @@ const isExpand = ref(false)
|
|
const overlay = ref(false) // 加载中
|
|
const overlay = ref(false) // 加载中
|
|
const welfareList = ref(['响应', '改变', '诚信', '进取精神', '信任', '卓越'])
|
|
const welfareList = ref(['响应', '改变', '诚信', '进取精神', '信任', '卓越'])
|
|
let baseInfo = ref({})
|
|
let baseInfo = ref({})
|
|
|
|
+let userInfo = ref({})
|
|
const getBasicInfo = () => { // 获取基础信息
|
|
const getBasicInfo = () => { // 获取基础信息
|
|
const key = localStorage.getItem('baseInfo')
|
|
const key = localStorage.getItem('baseInfo')
|
|
if (!key || !Object.keys(key).length) return
|
|
if (!key || !Object.keys(key).length) return
|
|
baseInfo.value = JSON.parse(key) // 人才信息
|
|
baseInfo.value = JSON.parse(key) // 人才信息
|
|
|
|
+ userInfo.value = JSON.parse(localStorage.getItem('userInfo'))
|
|
}
|
|
}
|
|
getBasicInfo()
|
|
getBasicInfo()
|
|
|
|
|