|
@@ -45,7 +45,7 @@
|
|
<v-btn v-if="tab === 0" color="primary" variant="text" @click="handlePreviewResume(item)">查看附件</v-btn>
|
|
<v-btn v-if="tab === 0" color="primary" variant="text" @click="handlePreviewResume(item)">查看附件</v-btn>
|
|
<v-btn v-if="tab === 0" color="primary" variant="text" @click="handleInterviewInvite(item)">邀请面试</v-btn>
|
|
<v-btn v-if="tab === 0" color="primary" variant="text" @click="handleInterviewInvite(item)">邀请面试</v-btn>
|
|
<v-btn v-if="[0, 1].includes(tab)" color="primary" variant="text" @click="handleEliminate(item)">不合适</v-btn>
|
|
<v-btn v-if="[0, 1].includes(tab)" color="primary" variant="text" @click="handleEliminate(item)">不合适</v-btn>
|
|
- <v-btn v-if="tab === 1 && [15,4].includes(item.status)" color="primary" variant="text" @click="handleEnterByEnterprise(item)">入职</v-btn>
|
|
|
|
|
|
+ <v-btn v-if="tab === 1" color="primary" variant="text" @click="handleEnterByEnterprise(item)">入职</v-btn>
|
|
</template>
|
|
</template>
|
|
</CtTable>
|
|
</CtTable>
|
|
</v-tabs-window-item>
|
|
</v-tabs-window-item>
|
|
@@ -97,7 +97,7 @@ import { ref } from 'vue'
|
|
import { useRouter, useRoute } from 'vue-router'
|
|
import { useRouter, useRoute } from 'vue-router'
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
|
import Snackbar from '@/plugins/snackbar'
|
|
import Snackbar from '@/plugins/snackbar'
|
|
-import { getResumeList, resumeAccept, resumeInterview } from '@/api/recruit/enterprise/jobFair'
|
|
|
|
|
|
+import { getResumeList, resumeCancel, resumeAccept, resumeInterview } from '@/api/recruit/enterprise/jobFair'
|
|
import { useUserStore } from '@/store/user'
|
|
import { useUserStore } from '@/store/user'
|
|
import { getDict } from '@/hooks/web/useDictionaries'
|
|
import { getDict } from '@/hooks/web/useDictionaries'
|
|
import { previewFile } from '@/utils'
|
|
import { previewFile } from '@/utils'
|
|
@@ -269,13 +269,18 @@ const handleReject = async () => {
|
|
practiceSubmitRecordId: itemData.value.practiceSubmitRecordId,
|
|
practiceSubmitRecordId: itemData.value.practiceSubmitRecordId,
|
|
enterpriseId: itemData.value.enterpriseId
|
|
enterpriseId: itemData.value.enterpriseId
|
|
})
|
|
})
|
|
- await resumeAccept(query)
|
|
|
|
|
|
+ await resumeCancel(query)
|
|
|
|
|
|
Snackbar.success(t('common.operationSuccessful'))
|
|
Snackbar.success(t('common.operationSuccessful'))
|
|
showReject.value = false
|
|
showReject.value = false
|
|
getList()
|
|
getList()
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 入职
|
|
|
|
+const handleEnterByEnterprise = async () => {
|
|
|
|
+ const query = {}
|
|
|
|
+ await resumeAccept(query)
|
|
|
|
+}
|
|
|
|
|
|
|
|
|
|
const getList = async () => {
|
|
const getList = async () => {
|