فهرست منبع

招聘会参数调整

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 {
   try {
     const params = { ...query }
     const params = { ...query }
     // tab对应的职位类型id列表
     // 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 res = await getJobFairEnterprisePage(params)
     const list = res?.data?.list || []
     const list = res?.data?.list || []

+ 2 - 2
pagesB/jobFair/positionClassification.vue

@@ -217,8 +217,8 @@ const getEntPositionList = async () => {
   try {
   try {
     const params = { ...query }
     const params = { ...query }
     // tab对应的职位类型id列表
     // 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 res = await getJobFairEntJobPage(params)
     const list = res?.data?.list || []
     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
 export const baseUrl = envObj.baseUrl