瀏覽代碼

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

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`)
 }
 
 // 加入人才库