Sfoglia il codice sorgente

沟通内投递不传递招聘会id,只有在招聘会内查看职位且直接投递才传递招聘会ID给后端

lifanagju_citu 3 mesi fa
parent
commit
6f8b229e26
2 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. 4 4
      pagesA/chart/index.vue
  2. 1 1
      pagesB/positionDetail/index.vue

+ 4 - 4
pagesA/chart/index.vue

@@ -435,14 +435,14 @@ async function handleSendResume () {
     if (isEmployment.value !== '-1') {
       await jobCvRelHireSend({
         jobId: positionInfo.value.id,
-        ...(jobFairId && { jobFairId }),
+        // ...(jobFairId && { jobFairId }),
         url: resumeCheck.value.url,
         recommendUserId: isEmployment.value
       })
     } else {
       await jobCvRelSend({
         jobId: positionInfo.value.id,
-        ...(jobFairId && { jobFairId }),
+        // ...(jobFairId && { jobFairId }),
         title: resumeCheck.value.title,
         url: resumeCheck.value.url,
         type: positionInfo.value.hire ? 1 : 0
@@ -573,13 +573,13 @@ async function getMessageTypeSync () {
   }
 }
 
-let jobFairId = ''
+// let jobFairId = ''
 onLoad(async (options) => {
   info.value = Object.keys(options).reduce((r, k) => {
     r[k] = decodeURIComponent(options[k])
     return r
   }, {})
-  jobFairId = info.value.jobFairId
+  // jobFairId = info.value.jobFairId
   isEmployment.value = info.value.isEmployment
   channelItem.value = toChannel(info.value.channelID, info.value.channelType)
 

+ 1 - 1
pagesB/positionDetail/index.vue

@@ -597,7 +597,7 @@ async function handleSend () {
 		channelType: channel.channelType,
 		avatar: info.value?.contact?.avatar,
 		sex: info.value?.contact?.sex,
-    ...(jobFairId && { jobFairId })
+    // ...(jobFairId && { jobFairId }),
 	}
 	const queryStr = Object.keys(query).reduce((r, v) => {
 		return r += `${v}=${encodeURIComponent(query[v])}&`