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