소스 검색

招聘会参数调整

Xiao_123 2 달 전
부모
커밋
485205ad24
3개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      pagesB/jobFair/enterprisesClassification.vue
  2. 2 2
      pagesB/jobFair/positionClassification.vue
  3. 1 1
      utils/config.js

+ 2 - 2
pagesB/jobFair/enterprisesClassification.vue

@@ -181,8 +181,8 @@ const getEnterpriseList = async () => {
   try {
     const params = { ...query }
     // tab对应的职位类型id列表
-    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.content : []
-    idList?.length && idList.forEach((value, index) => { params[`enterpriseId[${index}]`] = value.value })
+    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.value : []
+    idList?.length && idList.forEach((value, index) => { params[`enterpriseId[${index}]`] = value })
     //
     const res = await getJobFairEnterprisePage(params)
     const list = res?.data?.list || []

+ 2 - 2
pagesB/jobFair/positionClassification.vue

@@ -217,8 +217,8 @@ const getEntPositionList = async () => {
   try {
     const params = { ...query }
     // tab对应的职位类型id列表
-    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.content : []
-    idList?.length && idList.forEach((value, index) => { params[`positionId[${index}]`] = value.value })
+    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.value : []
+    idList?.length && idList.forEach((value, index) => { params[`positionId[${index}]`] = value })
     //
     const res = await getJobFairEntJobPage(params)
     const list = res?.data?.list || []

+ 1 - 1
utils/config.js

@@ -13,7 +13,7 @@ const config = {
   }
 }
 
-export const envObj = config['httpsTest']
+export const envObj = config['produce']
 
 export const baseUrl = envObj.baseUrl