|
@@ -1,5 +1,6 @@
|
|
<!-- 选择简历 -->
|
|
<!-- 选择简历 -->
|
|
<template>
|
|
<template>
|
|
|
|
+ <!-- 已上传的简历列表 -->
|
|
<selectResumeDialog
|
|
<selectResumeDialog
|
|
v-model="showResume"
|
|
v-model="showResume"
|
|
:list="resumeList"
|
|
:list="resumeList"
|
|
@@ -8,6 +9,7 @@
|
|
@submit="handleSubmit"
|
|
@submit="handleSubmit"
|
|
@close="handleClose"
|
|
@close="handleClose"
|
|
></selectResumeDialog>
|
|
></selectResumeDialog>
|
|
|
|
+ <!-- 选择本地简历 -->
|
|
<CtDialog
|
|
<CtDialog
|
|
:visible="openUploadDialog"
|
|
:visible="openUploadDialog"
|
|
:widthType="2"
|
|
:widthType="2"
|
|
@@ -56,8 +58,11 @@ const getResumeList = async () => {
|
|
resumeList.value = []
|
|
resumeList.value = []
|
|
const data = await getPersonResumeCv()
|
|
const data = await getPersonResumeCv()
|
|
if (!data?.length) {
|
|
if (!data?.length) {
|
|
|
|
+ // 没有上传过简历
|
|
openUploadDialog.value = true
|
|
openUploadDialog.value = true
|
|
|
|
+ return
|
|
}
|
|
}
|
|
|
|
+ // 可以选择之前上传的简历
|
|
resumeList.value = data
|
|
resumeList.value = data
|
|
showResume.value = true
|
|
showResume.value = true
|
|
}
|
|
}
|