소스 검색

企业-简历:添加提示

Xiao_123 2 달 전
부모
커밋
42e12a6150
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/recruit/enterprise/resume/components/table.vue

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

@@ -220,13 +220,13 @@ const handlePreviewResume = async ({ url, id }) => {
 // 邀请面试
 const itemData = ref({})
 const handleInterviewInvite = (item) => {
-  if (item?.jobClosed) return // 职位已关闭
+  if (item?.jobClosed) return Snackbar.warning('职位已关闭') // 职位已关闭
   itemData.value = item
   showInvite.value = true
 }
 
 const handleToCommunicate = async (item) => {
-  if (item?.jobClosed) return // 职位已关闭
+  if (item?.jobClosed) return Snackbar.warning('职位已关闭') // 职位已关闭
   const userId = item.userId
   await talkToUser({userId, text: defaultTextEnt})
   let url = `/recruit/enterprise/chatTools?id=${userId}`