|
@@ -1,6 +1,16 @@
|
|
|
<!-- 选择简历 -->
|
|
|
<template>
|
|
|
<selectResumeDialog v-model="showResume" :list="resumeList" @submit="handleSubmit" @close="handleClose"></selectResumeDialog>
|
|
|
+ <CtDialog
|
|
|
+ :visible="showUploadFile"
|
|
|
+ :widthType="2"
|
|
|
+ titleClass="text-h6"
|
|
|
+ title="简历投递"
|
|
|
+ @close="showQuickResumeDialog = false"
|
|
|
+ @submit="null"
|
|
|
+ >
|
|
|
+ <DeliveryForm ref="deliveryForm"></DeliveryForm>
|
|
|
+ </CtDialog>
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
@@ -11,6 +21,7 @@ import Snackbar from '@/plugins/snackbar'
|
|
|
import { useI18n } from '@/hooks/web/useI18n'; const { t } = useI18n()
|
|
|
import { jobCvRelCheckSend, jobCvRelSend } from '@/api/position'
|
|
|
import { hireJobCvDelivery } from '@/api/recruit/personal/shareJob'
|
|
|
+import DeliveryForm from './deliveryForm.vue'
|
|
|
import { getPersonResumeCv } from '@/api/resume'
|
|
|
|
|
|
const props = defineProps({
|
|
@@ -28,6 +39,7 @@ const props = defineProps({
|
|
|
}
|
|
|
})
|
|
|
const showResume = ref(false)
|
|
|
+const showUploadFile = ref(false)
|
|
|
const resumeList = ref([])
|
|
|
|
|
|
const inspectionProcess = async () => {
|
|
@@ -40,7 +52,7 @@ const inspectionProcess = async () => {
|
|
|
resumeList.value = data
|
|
|
//
|
|
|
if (data?.length) showResume.value = true // 简历选择
|
|
|
- else console.log('已登录但未上传简历')
|
|
|
+ else showUploadFile.value = true // 已登录但未上传简历
|
|
|
} catch (error) {
|
|
|
console.error('error', error)
|
|
|
}
|