浏览代码

企业-简历:添加提示

Xiao_123 2 月之前
父节点
当前提交
4c634aff66
共有 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/invite/chatTools?id=${userId}`