فهرست منبع

招聘会参数调整

Xiao_123 2 ماه پیش
والد
کامیت
ff9d40fbc8
2فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 7 7
      pagesB/jobFair/enterprisesClassification.vue
  2. 2 2
      pagesB/jobFair/positionClassification.vue

+ 7 - 7
pagesB/jobFair/enterprisesClassification.vue

@@ -46,15 +46,15 @@
                   <span class="divider tag-gap1" v-if="val?.industryName && val?.scaleName"> | </span>
                   <span class="color-999">{{ val?.scaleName || '' }}</span>
                 </view>
-                <view class="ss-m-t-10" style="overflow: hidden; height: 46px;">
+                <view class="ss-m-t-10">
                   <uni-tag 
-                    v-for="(tag,i) in val?.welfareList || []"
+                    v-for="(tag,i) in val?.lastJobTop5 || []"
                     :key="i"
                     class="ss-m-r-5"
-                    :text="tag"
+                    :text="formatName(tag.name)"
                     inverted="false"
-                    size="mini"
-                    custom-style="background-color: #ececec; color: #666; border-color: #ececec; display: inline-block;"
+                    size="default"
+                    custom-style="background-color: #00B760; color: #fff; border-color: #00B760; display: inline-block;border-radius: 15px; margin: 0 5px 5px 0;"
                   />
                 </view>
               </view>
@@ -181,8 +181,8 @@ const getEnterpriseList = async () => {
   try {
     const params = { ...query }
     // tab对应的职位类型id列表
-    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.value : []
-    idList?.length && idList.forEach((value, index) => { params[`enterpriseId[${index}]`] = value })
+    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.content : []
+    idList?.length && idList.forEach((value, index) => { params[`enterpriseId[${index}]`] = value.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]?.value : []
-    idList?.length && idList.forEach((value, index) => { params[`positionId[${index}]`] = value })
+    const idList = tabIndex.value !== -1 ? tabList.value[tabIndex.value]?.content : []
+    idList?.length && idList.forEach((value, index) => { params[`positionId[${index}]`] = value.value })
     //
     const res = await getJobFairEntJobPage(params)
     const list = res?.data?.list || []