|
@@ -15,7 +15,18 @@
|
|
|
:src="val.minio_path"
|
|
|
/>
|
|
|
|
|
|
- <p v-if="val.task_type === '招聘'">人才ID:{{ val.minio_path }}</p>
|
|
|
+ <!-- 门墩儿招聘 -->
|
|
|
+ <template v-if="val.task_type === '招聘'">
|
|
|
+ <el-tabs v-model="activeName" type="border-card">
|
|
|
+ <el-tab-pane label="基本信息" name="info">
|
|
|
+ <Info :id="personId" :user-id="userId" />
|
|
|
+ <expExtend :user-id="userId" defaultShowAll class="m-t-20px" />
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="附件简历" name="Attachment">
|
|
|
+ <Attachment showPreview :user-id="userId" />
|
|
|
+ </el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ </template>
|
|
|
|
|
|
<template v-if="val.task_type === '简历'">
|
|
|
<IFrame :src="val.minio_path" />
|
|
@@ -101,6 +112,9 @@ import { TalentMap } from '@/api/menduner/system/talentMap'
|
|
|
import FormPage from '@/views/menduner/system/talentMap/components/FormPage.vue'
|
|
|
import { marked } from 'marked'
|
|
|
import { generateUUID } from '@/utils'
|
|
|
+import Info from '@/views/menduner/system/person/details/components/info.vue'
|
|
|
+import expExtend from '@/views/menduner/system/person/details/components/expExtend.vue'
|
|
|
+import Attachment from '@/views/menduner/system/person/details/components/attachment.vue'
|
|
|
|
|
|
const message = useMessage() // 消息弹窗
|
|
|
const loading = ref(false)
|
|
@@ -197,9 +211,14 @@ const handleShowPage = async (id, url) => {
|
|
|
}
|
|
|
|
|
|
/** 打开弹窗 */
|
|
|
+const personId = ref('')
|
|
|
+const userId = ref('')
|
|
|
+const activeName = ref('info')
|
|
|
const sourceList = ref([])
|
|
|
const open = async (data) => {
|
|
|
sourceList.value = []
|
|
|
+ personId.value = null
|
|
|
+ userId.value = null
|
|
|
dialogVisible.value = true
|
|
|
talentItem.value = data
|
|
|
|
|
@@ -213,6 +232,13 @@ const open = async (data) => {
|
|
|
if (e.task_type === '新任命') {
|
|
|
handleShowPage(item.id, item.minio_path)
|
|
|
}
|
|
|
+
|
|
|
+ if (e.task_type === '招聘') { // 门墩儿招聘-人员信息在组件中通过id和userId获取
|
|
|
+ const obj = JSON.parse(e.minio_path)
|
|
|
+ personId.value = obj?.id || ''
|
|
|
+ userId.value = obj?.userId || ''
|
|
|
+ activeName.value = 'info'
|
|
|
+ }
|
|
|
|
|
|
return item
|
|
|
})
|
|
@@ -278,8 +304,6 @@ const handleSave = async () => {
|
|
|
image_path: talentItem.value?.image_path
|
|
|
}
|
|
|
|
|
|
- console.log(params, '编辑')
|
|
|
-
|
|
|
try {
|
|
|
await talentLabelingApi.updateBusinessCard(params, talentItem.value.id)
|
|
|
dialogVisible.value = false
|