Pārlūkot izejas kodu

首页众聘列表

Xiao_123 10 mēneši atpakaļ
vecāks
revīzija
51aa20ebbc

+ 3 - 3
src/api/position.js

@@ -16,10 +16,10 @@ export const getLatestPosition = async (params) => {
   })
 }
 
-// 获取急聘的职位
-export const getUrgentPosition = async (params) => {
+// 获取众聘职位
+export const getHirePosition = async (params) => {
   return await request.get({
-    url: '/app-api/menduner/system/job/advertised/get/urgent',
+    url: '/app-api/menduner/system/job/advertised/get/hire',
     params
   })
 }

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
src/components/Position/item.vue


Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 0
src/components/PositionLongStrip/item.vue


+ 1 - 1
src/locales/en.js

@@ -119,7 +119,7 @@ export default {
     moreBtn: 'View More Positions',
     recommend: 'Recommended Positions',
     latest: 'Latest Position',
-    urgent: 'Urgent Position',
+    hire: 'Crowd hired positions',
     allBtn: 'View All Positions',
     throughCommunication: 'Through Communication',
     delivered: 'Delivered',

+ 1 - 1
src/locales/zh-CN.js

@@ -119,7 +119,7 @@ export default {
     moreBtn: '查看更多职位',
     recommend: '推荐职位',
     latest: '最新职位',
-    urgent: '急聘职位',
+    hire: '众聘职位',
     allBtn: '查看全部职位',
     throughCommunication: '沟通过',
     delivered: '已投递',

+ 1 - 0
src/views/recruit/enterprise/publicRecruitmentManagement/deliver/components/table.vue

@@ -70,6 +70,7 @@ const headers = ref([
   { title: '工作经验', key: 'person.expName' },
   { title: '最高学历', key: 'person.eduName' },
   { title: '岗位薪资', key: 'job', value: item => `${item.job.payFrom}-${item.job.payTo}/${item.job.payName}`},
+  { title: '结果反馈', key: '' },
   { title: '操作', value: 'actions' }
 ])
 

+ 3 - 3
src/views/recruit/personal/home/components/hotPromotedPositions.vue

@@ -3,7 +3,7 @@
     <v-tabs v-model="tab" align-tabs="start" color="primary" bg-color="#fff" @update:model-value="getPositionList">
       <v-tab :value="1">{{ $t('position.recommend') }}</v-tab>
       <v-tab :value="2">{{ $t('position.latest') }}</v-tab>
-      <v-tab :value="3">{{ $t('position.urgent') }}</v-tab>
+      <v-tab :value="3">{{ $t('position.hire') }}</v-tab>
     </v-tabs>
     <v-window v-model="tab" class="mt-3">
       <v-window-item :value="1">
@@ -25,7 +25,7 @@
 <script setup name="hotPromotedPositions">
 import PositionCard from '@/components/Position/item.vue'
 import { ref } from 'vue'
-import { getPromotedPosition, getLatestPosition, getUrgentPosition } from '@/api/position'
+import { getPromotedPosition, getLatestPosition, getHirePosition } from '@/api/position'
 import { dealDictArrayData } from '@/views/recruit/personal/position/components/dict'
 
 const tab = ref(1)
@@ -33,7 +33,7 @@ const items = ref([])
 
 // 推荐职位
 const getPositionList = async () => {
-  const api = tab.value === 1 ? getPromotedPosition : (tab.value === 2 ? getLatestPosition : getUrgentPosition)
+  const api = tab.value === 1 ? getPromotedPosition : (tab.value === 2 ? getLatestPosition : getHirePosition)
   const { list } = await api({ pageNo: 1, pageSize: 8 })
   items.value = dealDictArrayData([], list)
 }

+ 1 - 1
src/views/recruit/personal/position/components/details.vue

@@ -68,7 +68,7 @@
             <!-- 公司信息 -->
             <EnterpriseInfo :info="{ ...info, position: { ...positionInfo } }"></EnterpriseInfo>
             <!-- 相似职位 -->
-            <similarPositions class="mt-3" :list="similarList" :info="info"></similarPositions>
+            <similarPositions v-if="similarList.length" class="mt-3" :list="similarList" :info="info"></similarPositions>
           </div>
       </div>
     </div>

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels