Explorar o código

企业-简历:添加提示

Xiao_123 hai 2 meses
pai
achega
4c634aff66
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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}`