Xiao_123 3 miesięcy temu
rodzic
commit
997606d621

+ 2 - 1
src/views/recruit/enterprise/positionManagement/components/item.vue

@@ -302,8 +302,9 @@ const paySuccess = async () => {
 const apiList = [closeJobAdvertised, enableJobAdvertised, refreshJobAdvertised, topJobAdvertised, topJobAdvertisedCancel]
 // 职位关闭、激活、刷新、置顶
 const handleAction = async (index, type, { id, jobFairName, jobFairId }, item) => {
-  // 招聘会职位跳转去招聘会进行操作
+  // 招聘会职位激活、关闭跳转去招聘会进行操作
   if (jobFairName) {
+    if ([3,4].includes(index)) return // 招聘会职位置顶、取消置顶不可操作
     window.open(`/recruit/enterprise/jobFair/details/${jobFairId}`)
     return
   }