|
@@ -12,7 +12,7 @@
|
|
|
></uni-icons>
|
|
|
</view>
|
|
|
<view class="baseInfo-desc">{{ baseInfo.jobStatusText }}</view>
|
|
|
- <view class="baseInfo-desc">{{ baseInfo.expTypeText }} - {{ baseInfo.age }}岁 - {{ baseInfo.eduTypeText }}</view>
|
|
|
+ <view class="baseInfo-desc">{{ baseInfo.expTypeText ? baseInfo.expTypeText + ' - ' : '' }}{{ baseInfo.age ? baseInfo.age + '岁' : '' }}{{ baseInfo.eduTypeText ? ' - ' + baseInfo.eduTypeText : '' }}</view>
|
|
|
<view class="baseInfo-phone">
|
|
|
<uni-icons
|
|
|
type="icon-Phone"
|
|
@@ -156,38 +156,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="projectExp workExp borderLine">
|
|
|
- <view class="titleBox">
|
|
|
- <text class="title">项目经历</text>
|
|
|
- <uni-icons
|
|
|
- type="icon-add"
|
|
|
- color="#666"
|
|
|
- custom-prefix="iconfont"
|
|
|
- size="18"
|
|
|
- ></uni-icons>
|
|
|
- </view>
|
|
|
- <view class="content">
|
|
|
- <view
|
|
|
- v-for="project in projectExp"
|
|
|
- :key="project.id"
|
|
|
- class="content-item"
|
|
|
- >
|
|
|
- <view class="content-title">
|
|
|
- <view class="name">{{ project.name }}</view>
|
|
|
- <view class="time">
|
|
|
- {{ project.time }}
|
|
|
- <uni-icons
|
|
|
- class="icon"
|
|
|
- type="right"
|
|
|
- color="#aaa"
|
|
|
- size="16"
|
|
|
- />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="content-main ellipsis-2">描述:{{ project.content }}</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<view class="workExp trainExp borderLine">
|
|
|
<view class="titleBox">
|
|
|
<text class="title">培训经历</text>
|
|
@@ -251,7 +219,6 @@ import {
|
|
|
getResumeJobInterested,
|
|
|
getResumeEduExp,
|
|
|
getResumeWorkExp,
|
|
|
- getResumeProjectExp,
|
|
|
getResumeTrainExp,
|
|
|
getResumePersonSkill
|
|
|
} from '@/api/resume'
|
|
@@ -259,6 +226,7 @@ import { getText } from '@/utils/getText'
|
|
|
import { getDict } from '@/hooks/useDictionaries'
|
|
|
import { userStore } from '@/store/user'
|
|
|
import { dealJobData } from './dict'
|
|
|
+import layoutPage from '@/layout'
|
|
|
|
|
|
const useUserStore = userStore()
|
|
|
|
|
@@ -266,7 +234,6 @@ const baseInfo = ref({})
|
|
|
const intention = ref([])
|
|
|
const educationExp = ref([])
|
|
|
const workExp = ref([])
|
|
|
-const projectExp = ref([])
|
|
|
const trainExp = ref([])
|
|
|
const skillExp = ref([])
|
|
|
|
|
@@ -274,9 +241,6 @@ function handleTo (str) {
|
|
|
uni.navigateTo({ url: `/pagesA/resumeOnline/${str}` })
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
// 获取基础信息
|
|
|
function getBaseInfo () {
|
|
|
const { name, phone, ...obj } = useUserStore.baseInfo
|
|
@@ -340,22 +304,6 @@ async function getWorkExp () {
|
|
|
})
|
|
|
}
|
|
|
|
|
|
-// 项目经历
|
|
|
-async function getProjectExpData () {
|
|
|
- const { data } = await getResumeProjectExp()
|
|
|
- if (!data || !data.length) {
|
|
|
- return
|
|
|
- }
|
|
|
- // 完成度展示
|
|
|
- // emit('complete', { status: Boolean(data?.length), id: 'projectExperience' })
|
|
|
- projectExp.value = data.map(e => {
|
|
|
- return {
|
|
|
- ...e,
|
|
|
- time: `${timesTampChange(e.startTime ,'Y')}-${e.endTime ? timesTampChange(e.endTime ,'Y') : '至今'} `
|
|
|
- }
|
|
|
- })
|
|
|
-}
|
|
|
-
|
|
|
// 培训经历
|
|
|
async function getTrainExpData () {
|
|
|
const { data } = await getResumeTrainExp()
|
|
@@ -410,8 +358,6 @@ getJobInterested()
|
|
|
getEduExp()
|
|
|
// 获取工作经验
|
|
|
getWorkExp()
|
|
|
-// 项目经历
|
|
|
-getProjectExpData()
|
|
|
// 培训经历
|
|
|
getTrainExpData()
|
|
|
// 职业技能
|