Xiao_123 2 месяцев назад
Родитель
Сommit
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}`