浏览代码

Merge branch 'jobFair' of https://git.citupro.com/zhengnaiwen_citu/menduner into jobFair

lifanagju_citu 1 月之前
父节点
当前提交
502268755b
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      src/views/recruit/enterprise/search/retrieval/index.vue

+ 2 - 3
src/views/recruit/enterprise/search/retrieval/index.vue

@@ -121,7 +121,6 @@ import InvitePage from '@/views/recruit/enterprise/interviewManagement/component
 import { getDict } from '@/hooks/web/useDictionaries'
 import { getDict } from '@/hooks/web/useDictionaries'
 import { getTimeDifferenceInChinese } from '@/utils/date'
 import { getTimeDifferenceInChinese } from '@/utils/date'
 import { formatName } from '@/utils/getText'
 import { formatName } from '@/utils/getText'
-import { spaces } from '@/utils/index.js'
 
 
 const textItem = ref({
 const textItem = ref({
   type: 'text',
   type: 'text',
@@ -242,10 +241,10 @@ const checkValue = (obj) => {
   })
   })
 }
 }
 
 
-const handleConfirm = () => {
+const handleConfirm = (showTips = true) => {
   query.value.pageNo = 1
   query.value.pageNo = 1
   if (!checkValue(queryParams.value)) {
   if (!checkValue(queryParams.value)) {
-    Snackbar.warning('至少选择一个条件进行搜索')
+    if (showTips) Snackbar.warning('至少选择一个条件进行搜索')
     items.value = []
     items.value = []
     total.value = 0
     total.value = 0
     return
     return