|
@@ -67,7 +67,11 @@
|
|
|
|
|
|
<!-- 人员搜索 -->
|
|
<!-- 人员搜索 -->
|
|
<Dialog :title="radioObject.menduner" v-model="openSearch" :modalClose="false" width="1200" @close="openSearch = false">
|
|
<Dialog :title="radioObject.menduner" v-model="openSearch" :modalClose="false" width="1200" @close="openSearch = false">
|
|
- <Search @detail="handleDetail" />
|
|
|
|
|
|
+ <Search ref="SearchRef" />
|
|
|
|
+ <template #footer>
|
|
|
|
+ <el-button type="primary" @click="handleSubmit">确 认</el-button>
|
|
|
|
+ <el-button @click="openSearch = false">取 消</el-button>
|
|
|
|
+ </template>
|
|
</Dialog>
|
|
</Dialog>
|
|
|
|
|
|
<!-- 解析文件上传 -->
|
|
<!-- 解析文件上传 -->
|
|
@@ -681,16 +685,21 @@ const cardUploadChange = (raw) => {
|
|
const openSearch = ref(false)
|
|
const openSearch = ref(false)
|
|
const id = ref(null)
|
|
const id = ref(null)
|
|
const userId = ref(null)
|
|
const userId = ref(null)
|
|
-const handleDetail = async ({id: use_id, userId: use_userId}) => {
|
|
|
|
- if (!use_userId || !use_userId) return message.warning('请先选择人才!')
|
|
|
|
- id.value = use_id; userId.value = use_userId
|
|
|
|
- try {
|
|
|
|
- const data = await TalentMap.getTalentMapDetail(use_userId)
|
|
|
|
- // 去除id
|
|
|
|
- resumeAnalysisToForm(data) // 简历解析
|
|
|
|
- dialog_analysisInfo.value = true
|
|
|
|
- // message.success(`操作成功`)
|
|
|
|
- } catch {}
|
|
|
|
|
|
+// const handleDetail = async ({id: use_id, userId: use_userId}) => {
|
|
|
|
+// if (!use_userId || !use_userId) return message.warning('请先选择人才!')
|
|
|
|
+// id.value = use_id; userId.value = use_userId
|
|
|
|
+// try {
|
|
|
|
+// const data = await TalentMap.getTalentMapDetail(use_userId)
|
|
|
|
+// resumeAnalysisToForm(data) // 简历解析
|
|
|
|
+// dialog_analysisInfo.value = true
|
|
|
|
+// } catch {}
|
|
|
|
+// }
|
|
|
|
+
|
|
|
|
+const SearchRef = ref(null)
|
|
|
|
+const handleSubmit = async () => {
|
|
|
|
+ console.log('打印->addList', SearchRef.value.addList)
|
|
|
|
+ message.success('创建任务成功!')
|
|
|
|
+ openSearch.value = false
|
|
}
|
|
}
|
|
|
|
|
|
const DialogWidth = ref('500')
|
|
const DialogWidth = ref('500')
|