Przeglądaj źródła

企业-找人-列表展示添加最近一份工作经历

Xiao_123 2 miesięcy temu
rodzic
commit
cfb6151aa3

+ 0 - 1
components.d.ts

@@ -30,7 +30,6 @@ declare module 'vue' {
     CtTextField: typeof import('./src/components/CtVuetify/CtTextField/index.vue')['default']
     DatePicker: typeof import('./src/components/DatePicker/index.vue')['default']
     Echarts: typeof import('./src/components/Echarts/index.vue')['default']
-    ElCascader: typeof import('element-plus/es')['ElCascader']
     ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
     Empty: typeof import('./src/components/Empty/index.vue')['default']
     File: typeof import('./src/components/Upload/file.vue')['default']

+ 8 - 1
src/views/recruit/enterprise/search/recommend/index.vue

@@ -31,6 +31,12 @@
           <span class="defaultLink ml-3 mt-2">{{ item?.name }}</span>
         </div>
       </template>
+      <template #interestedPositions="{ item }">
+        <div style="max-width: 200px" v-ellipse-tooltip>{{ item.position?.positionNames }}</div>
+      </template>
+      <template #lastWorkExp="{ item }">
+        {{ item?.lastWorkExp && Object.keys(item?.lastWorkExp).length > 0 ? `${item.lastWorkExp?.enterpriseName ? item.lastWorkExp?.enterpriseName + ' - ' : ''}${item.lastWorkExp.positionName}` : '' }}
+      </template>
       <template #actions="{ item }">
         <v-btn color="primary" variant="text" @click="handleInvite(item)">邀请面试</v-btn>
         <v-btn color="primary" variant="text" @click="handleCommunicate(item)">立即沟通</v-btn>
@@ -79,7 +85,8 @@ const loading = ref(false)
 const headers = ref([
   { title: '姓名', key: 'name', sortable: false },
   { title: '求职状态', key: 'jobStatusName', sortable: false },
-  { title: '感兴趣职位', key: 'position.positionNames', sortable: false },
+  { title: '感兴趣职位', key: 'interestedPositions', sortable: false },
+  { title: '最近一份工作经历', key: 'lastWorkExp', sortable: false },
   { title: '工作年限', key: 'expName', sortable: false },
   { title: '最高学历', key: 'eduName', sortable: false },
   { title: '所在城市', key: 'areaName', sortable: false },