Преглед на файлове

简历:查看在线简历状态更改

Xiao_123 преди 4 месеца
родител
ревизия
7c07420fe4
променени са 1 файла, в които са добавени 11 реда и са изтрити 2 реда
  1. 11 2
      src/views/recruit/enterprise/resume/components/table.vue

+ 11 - 2
src/views/recruit/enterprise/resume/components/table.vue

@@ -146,9 +146,18 @@ watch(
 )
 
 // 人才详情
-const handleToPersonDetail = ({ userId, id }) => {
+const handleToPersonDetail = async ({ userId, id }) => {
   if (!userId || !id) return
-  window.open(`/recruit/enterprise/talentPool/details/${userId}?id=${id}`)
+  // 改变状态
+  try {
+    const res = await personJobCvLook(id)
+    if (res) {
+      emit('refresh')
+    }
+  } catch (err) {
+    console.log(err)
+  }
+  window.open(`/recruit/enterprise/talentPool/details/${userId}?id=${id}&isMark=1`)
 }
 
 // 加入人才库