|
@@ -1,6 +1,6 @@
|
|
|
<!-- 精英管理 -->
|
|
|
<template>
|
|
|
- <v-card class="pa-5 card-box">
|
|
|
+ <v-card class="pa-3 card-box">
|
|
|
<div class="d-flex justify-space-between">
|
|
|
<v-tabs v-model="tab" align-tabs="start" color="primary" bg-color="#f7f8fa">
|
|
|
<v-tab v-for="k in tabList" :value="k.value" :key="k.value">{{ k.label }}</v-tab>
|
|
@@ -28,6 +28,7 @@
|
|
|
defineOptions({ name: 'enterprise-personnelManagement-management'})
|
|
|
import { ref } from 'vue'
|
|
|
import { getPersonCvPage } from '@/api/enterprise'
|
|
|
+import { personCvUnfitPage } from '@/api/recruit/enterprise/personnel'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
|
import { getInterviewInvitePage } from '@/api/recruit/enterprise/interview'
|
|
|
import TablePage from './components/table.vue'
|
|
@@ -46,7 +47,7 @@ const tabList = ref([
|
|
|
{ label: '已邀约', value: 1, api: getInterviewInvitePage, status: '0' },
|
|
|
{ label: '已发offer', value: 2, api: getInterviewInvitePage, status: '1' },
|
|
|
{ label: '已入职', value: 3, api: getInterviewInvitePage, status: '2' },
|
|
|
- { label: '不合适', value: 4 },
|
|
|
+ { label: '不合适', value: 4, api: personCvUnfitPage },
|
|
|
])
|
|
|
const textItems = ref({
|
|
|
type: 'text',
|
|
@@ -60,7 +61,6 @@ const textItems = ref({
|
|
|
// 获取牛人列表
|
|
|
const items = ref([])
|
|
|
const getList = async () => {
|
|
|
- if (tab.value === 4) return
|
|
|
const api = tabList.value[tab.value].api
|
|
|
query.value.status = tab.value === 0 ? null : tabList.value[tab.value].status
|
|
|
const { list, total: number } = await api(query.value)
|